Interface FixedWidthType

All Superinterfaces:
Type
All Known Implementing Classes:
AbstractIntType, AbstractLongType, BigintType, BooleanType, DateType, DecimalType, DoubleType, IntegerType, RealType, SmallintType, TimestampType, TimestampWithTimeZoneType, TimeType, TimeWithTimeZoneType, TinyintType, UuidType

public interface FixedWidthType extends Type
FixedWidthType is a type that has a fixed size for every value.
  • Method Details

    • getFixedSize

      int getFixedSize()
      Gets the size of a value of this type in bytes. All values of a FixedWidthType are the same size.
    • createFixedSizeBlockBuilder

      BlockBuilder createFixedSizeBlockBuilder(int positionCount)
      Creates a block builder for this type sized to hold the specified number of positions.