presto-spi/src/main/java/io/prestosql/spi/type/ShortDecimalType.java/ShortDecimalType/writeLong
class ShortDecimalType:    @Override
    public void writeLong(BlockBuilder blockBuilder, long value)
    {
        blockBuilder.writeLong(value).closeEntry();
    }