block

package
v0.0.0-...-1e7f4ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EMPTY_BLOCK = new(Block)
	BLOCK_TYPE  = reflect.TypeOf(EMPTY_BLOCK)
	BLOCK_KIND  = reflect.TypeOf(EMPTY_BLOCK).Kind()
)
View Source
var (
	BLOCK_RESET_SKEW float64 = 1.25
	DEFAULT_CAPACITY int32   = 64
	MAX_ARRAY_SIZE   int32   = math.MaxInt32 - 8

	// Byte.BYTES + Long.BYTES
	BYTE_LONG_BYTES int32 = util.INT64_BYTES + util.BYTE_BYTES

	// Byte.BYTES + Byte.BYTES
	BYTE_BYTE_BYTES int32 = util.BYTE_BYTES + util.BYTE_BYTES

	// Byte.BYTES + Short.BYTES
	BYTE_SHORT_BYTES int32 = util.BYTE_BYTES + util.INT16_BYTES

	// Integer.BYTES+Byte.BYTES
	INT32_BYTE_BYTES int32 = util.INT32_BYTES + util.BYTE_BYTES
)
View Source
var (
	BYTE_ARRAY_BB_INSTANCE_SIZE    int32 = util.SizeOf(&ByteArrayBlockBuilder{})
	BYTE_ARRAY_BB_UULL_VALUE_BLOCK Block = NewByteArrayBlock2(0, 1, []bool{true}, make([]byte, 1))
)
View Source
var (
	TIME_ZONE_MASK int32 = 0xFFF
	MILLIS_SHIFT   int32 = 12
)
View Source
var (
	DECIMAL_DEFAULT_SCALE     int32 = 0
	DECIMAL_DEFAULT_PRECISION int32 = DECIMAL_MAX_PRECISION
)
View Source
var (
	DECIMAL_MAX_UNSCALED_DECIMAL                   Int128    = MustI128FromString("99999999999999999999999999999999999999")
	DECIMAL_MIN_UNSCALED_DECIMAL                   Int128    = MustI128FromString("-99999999999999999999999999999999999999")
	DECIMAL_MAX_PRECISION                          int32     = 38
	DECIMAL_MAX_SHORT_PRECISION                    int32     = 18
	DECIMAL_LONG_POWERS_OF_TEN_TABLE_LENGTH        int32     = 19
	DECIMAL_BIG_INTEGER_POWERS_OF_TEN_TABLE_LENGTH int32     = 100
	DECIMAL_LONG_POWERS_OF_TEN                     []int64   = make([]int64, DECIMAL_LONG_POWERS_OF_TEN_TABLE_LENGTH)
	DECIMAL_BIG_INTEGER_POWERS_OF_TEN              []*BigInt = make([]*BigInt, DECIMAL_LONG_POWERS_OF_TEN_TABLE_LENGTH)
)
View Source
var (
	INT128_INSTANCE_SIZE int32 = util.SizeOf(&Int128ArrayBlock{})
	INT128_BYTES         int32 = util.INT64_BYTES + util.INT64_BYTES
)
View Source
var (
	INT128_BB_INSTANCE_SIZE int32 = util.SizeOf(&Int128ArrayBlockBuilder{})
	INT128_NULL_VALUE_BLOCK Block = NewInt128ArrayBlock2(0, 1, []bool{true}, make([]int64, 2))
)
View Source
var (
	ALL_BITS_SET_64      uint64   = 0xFFFFFFFFFFFFFFFF
	INT128_POWERS_OF_TEN []Int128 = make([]Int128, 39)

	/**
	 * 10^18 fits in 2^63.
	 */
	MAX_POWER_OF_TEN_LONG int32 = 18

	MAX_POWER_OF_TEN_INT int32 = 9

	POWERS_OF_FIVES_INT []int32 = make([]int32, MAX_POWER_OF_FIVE_INT+1)

	POWERS_OF_TEN_INT []int32 = make([]int32, MAX_POWER_OF_TEN_INT+1)

	/**
	 * 5^13 fits in 2^31.
	 */
	MAX_POWER_OF_FIVE_INT int32 = 13

	LOW_32_BITS int64 = 0xFFFFFFFF
)
View Source
var (
	DEFAULT_RETURN_VALUE int32   = -1
	INT_PHI              uint32  = 0x9E3779B9
	DEFAULT_LOAD_FACTOR  float32 = 0.75
)
View Source
var (
	INT96_INSTANCE_SIZE int32 = util.SizeOf(&Int96ArrayBlock{})
	INT96_BYTES         int32 = util.INT64_BYTES + util.INT32_BYTES
)
View Source
var (
	INT96_BB_INSTANCE_SIZE int32 = util.SizeOf(&Int96ArrayBlockBuilder{})
	INT96_NULL_VALUE_BLOCK Block = NewInt96ArrayBlock2(0, 1, []bool{true}, make([]int64, 1), make([]int32, 1))
)
View Source
var (
	INT_ARRAY_INSTANCE_SIZE    = util.SizeOf(&IntArrayBlockBuilder{})
	INT_ARRAY_NULL_VALUE_BLOCK = NewIntArrayBlock2(0, 1, []bool{true}, make([]int32, 1))
)
View Source
var (
	LONGARRAYBB_INSTANCE_SIZE    int32 = util.SizeOf(&LongArrayBlockBuilder{})
	LONGARRAYBB_NULL_VALUE_BLOCK Block = NewLongArrayBlock2(0, 1, []bool{true}, []int64{1})
)
View Source
var (
	LT_INSTANCE_SIZE            int32 = util.SizeOf(&LongTimestamp{})
	PICOSECONDS_PER_MICROSECOND int32 = 1_000_000
)
View Source
var (
	MHT_INSTANCE_SIZE         = util.SizeOf(&MapHashTables{})
	MHT_HASH_MULTIPLIER int32 = 2
)
View Source
var (
	SHORT_ARRAY_INSTANCE_SIZE    int32 = util.SizeOf(&ShortArrayBlockBuilder{})
	SHORT_ARRAY_NULL_VALUE_BLOCK Block = NewShortArrayBlock2(0, 1, []bool{true}, make([]int16, 1))
)
View Source
var (
	ST_BIGINT                   string = "bigint"
	ST_INTEGER                  string = "integer"
	ST_SMALLINT                 string = "smallint"
	ST_TINYINT                  string = "tinyint"
	ST_BOOLEAN                  string = "boolean"
	ST_DATE                     string = "date"
	ST_DECIMAL                  string = "decimal"
	ST_REAL                     string = "real"
	ST_DOUBLE                   string = "double"
	ST_HYPER_LOG_LOG            string = "HyperLogLog"
	ST_QDIGEST                  string = "qdigest"
	ST_TDIGEST                  string = "tdigest"
	ST_P4_HYPER_LOG_LOG         string = "P4HyperLogLog"
	ST_INTERVAL_DAY_TO_SECOND   string = "interval day to second"
	ST_INTERVAL_YEAR_TO_MONTH   string = "interval year to month"
	ST_TIMESTAMP                string = "timestamp"
	ST_TIMESTAMP_WITH_TIME_ZONE string = "timestamp with time zone"
	ST_TIME                     string = "time"
	ST_TIME_WITH_TIME_ZONE      string = "time with time zone"
	ST_VARBINARY                string = "varbinary"
	ST_VARCHAR                  string = "varchar"
	ST_CHAR                     string = "char"
	ST_ROW                      string = "row"
	ST_ARRAY                    string = "array"
	ST_MAP                      string = "map"
	ST_JSON                     string = "json"
	ST_IPADDRESS                string = "ipaddress"
	ST_GEOMETRY                 string = "Geometry"
	ST_UUID                     string = "uuid"
)
View Source
var (
	TIME_MAX_PRECISION     int32       = 12
	TIME_DEFAULT_PRECISION int32       = 3
	TIME_TYPES             []*TimeType = make([]*TimeType, TIME_MAX_PRECISION+1)
	TIME_SECONDS           *TimeType   = CreateTimeType(0)
	TIME_MILLIS            *TimeType   = CreateTimeType(3)
	TIME_MICROS            *TimeType   = CreateTimeType(6)
	TIME_NANOS             *TimeType   = CreateTimeType(9)
	TIME_PICOS             *TimeType   = CreateTimeType(12)

	//@Deprecated
	TIME *TimeType = NewTimeType(TIME_DEFAULT_PRECISION)
)
View Source
var (
	TTZ_MAX_PRECISION       int32 = 12
	TTZ_MAX_SHORT_PRECISION int32 = 9
	TTZ_DEFAULT_PRECISION   int32 = 3 //@Deprecated

	TTZ_TIME_WITH_TIME_ZONE ITimeWithTimeZoneType = t.(ITimeWithTimeZoneType)
)
View Source
var (
	UTC_KEY               *TimeZoneKey = NewTimeZoneKey("UTC", 0)
	MAX_TIME_ZONE_KEY     int16
	ZONE_ID_TO_KEY        map[string]*TimeZoneKey
	ZONE_KEYS             util.SetInterface[string]
	TIME_ZONE_KEYS        []*TimeZoneKey
	OFFSET_TIME_ZONE_MIN  int16                     = -14 * 60
	OFFSET_TIME_ZONE_MAX  int16                     = 14 * 60
	OFFSET_TIME_ZONE_KEYS []*TimeZoneKey            = make([]*TimeZoneKey, OFFSET_TIME_ZONE_MAX-OFFSET_TIME_ZONE_MIN+1)
	UTC_EQUIVALENTS       util.SetInterface[string] = util.NewSetWithItems(util.SET_NonThreadSafe, "GMT", "GMT0", "GMT+0", "GMT-0", "Etc/GMT", "Etc/GMT0", "Etc/GMT+0", "Etc/GMT-0", "UT", "UT+0", "UT-0", "Etc/UT", "Etc/UT+0", "Etc/UT-0", "UTC", "UTC+0", "UTC-0", "Etc/UTC", "Etc/UTC+0", "Etc/UTC-0", "+0000", "+00:00", "-0000", "-00:00", "Z", "Zulu", "UCT", "Greenwich", "Universal", "Etc/Universal", "Etc/UCT")
)
View Source
var (
	TIMESTAMP_MAX_PRECISION       int32            = 12
	TIMESTAMP_MAX_SHORT_PRECISION int32            = 6
	TIMESTAMP_DEFAULT_PRECISION   int32            = 3
	TIMESTAMP_TYPES               []ITimestampType = make([]ITimestampType, TIMESTAMP_MAX_PRECISION+1)
	INIT                          bool             = initValues()

	TIMESTAMP_SECONDS ITimestampType = CreateTimestampType(0)
	TIMESTAMP_MILLIS  ITimestampType = CreateTimestampType(3)
	TIMESTAMP_MICROS  ITimestampType = CreateTimestampType(6)
	TIMESTAMP_NANOS   ITimestampType = CreateTimestampType(9)
	TIMESTAMP_PICOS   ITimestampType = CreateTimestampType(12)

	//@Deprecated
	TIMESTAMP ITimestampType = TIMESTAMP_MILLIS
)
View Source
var (
	TIMESTAMP_WITHTIMEZONE_MAX_PRECISION       int32                        = 12
	TIMESTAMP_WITHTIMEZONE_MAX_SHORT_PRECISION int32                        = 3
	TIMESTAMP_WITHTIMEZONE_DEFAULT_PRECISION   int32                        = 3
	TIMESTAMP_WITHTIMEZONE_TYPES               []ITimestampWithTimeZoneType = make([]ITimestampWithTimeZoneType, TIMESTAMP_WITHTIMEZONE_MAX_PRECISION+1)

	TZ_INIT              bool                       = tz_initValues()
	TIMESTAMP_TZ_SECONDS ITimestampWithTimeZoneType = CreateTimestampWithTimeZoneType(0)
	TIMESTAMP_TZ_MILLIS  ITimestampWithTimeZoneType = CreateTimestampWithTimeZoneType(3)
	TIMESTAMP_TZ_MICROS  ITimestampWithTimeZoneType = CreateTimestampWithTimeZoneType(6)
	TIMESTAMP_TZ_NANOS   ITimestampWithTimeZoneType = CreateTimestampWithTimeZoneType(9)
	TIMESTAMP_TZ_PICOS   ITimestampWithTimeZoneType = CreateTimestampWithTimeZoneType(12)

	//@Deprecated
	TIMESTAMP_WITH_TIME_ZONE ITimestampWithTimeZoneType = TIMESTAMP_TZ_MILLIS
)
View Source
var (
	POWERS_OF_TEN []int64 = []int64{
		1,
		10,
		100,
		1000,
		10_000,
		100_000,
		1_000_000,
		10_000_000,
		100_000_000,
		1_000_000_000,
		10_000_000_000,
		100_000_000_000,
		1000_000_000_000}

	TTS_MILLISECONDS_PER_SECOND      int32 = 1_000
	TTS_MILLISECONDS_PER_MINUTE      int32 = TTS_MILLISECONDS_PER_SECOND * 60
	TTS_MILLISECONDS_PER_HOUR        int32 = TTS_MILLISECONDS_PER_MINUTE * 60
	TTS_MILLISECONDS_PER_DAY         int32 = TTS_MILLISECONDS_PER_HOUR * 24
	TTS_MICROSECONDS_PER_MILLISECOND int32 = 1_000
	TTS_MICROSECONDS_PER_SECOND      int32 = 1_000_000
	TTS_MICROSECONDS_PER_DAY         int64 = 24 * 60 * 60 * 1_000_000
	TTS_NANOSECONDS_PER_MICROSECOND  int32 = 1_000
	TTS_NANOSECONDS_PER_MILLISECOND  int32 = 1_000_000
	TTS_NANOSECONDS_PER_SECOND       int64 = 1_000_000_000
	TTS_NANOSECONDS_PER_MINUTE       int64 = TTS_NANOSECONDS_PER_SECOND * 60
	TTS_NANOSECONDS_PER_DAY          int64 = TTS_NANOSECONDS_PER_MINUTE * 60 * 24
	TTS_PICOSECONDS_PER_NANOSECOND   int32 = 1_000
	TTS_PICOSECONDS_PER_MICROSECOND  int32 = 1_000_000
	TTS_PICOSECONDS_PER_MILLISECOND  int32 = 1_000_000_000
	TTS_PICOSECONDS_PER_SECOND       int64 = 1_000_000_000_000
	TTS_PICOSECONDS_PER_MINUTE       int64 = TTS_PICOSECONDS_PER_SECOND * 60
	TTS_PICOSECONDS_PER_HOUR         int64 = TTS_PICOSECONDS_PER_MINUTE * 60
	TTS_PICOSECONDS_PER_DAY          int64 = TTS_PICOSECONDS_PER_HOUR * 24
	TTS_SECONDS_PER_MINUTE           int64 = 60
	TTS_MINUTES_PER_HOUR             int64 = 60
	TTS_SECONDS_PER_DAY              int64 = TTS_SECONDS_PER_MINUTE * TTS_MINUTES_PER_HOUR * 24
)
View Source
var (
	IMESTAMP_WITH_TIME_ZONE    string = "timestamp with time zone"
	IMESTAMP_WITHOUT_TIME_ZONE string = "timestamp without time zone"
)
View Source
var (
	VARCHAR_UNBOUNDED_LENGTH int32        = math.MaxInt32
	VARCHAR_MAX_LENGTH       int32        = math.MaxInt32 - 1
	VARCHAR                  *VarcharType = NewVarcharType(VARCHAR_UNBOUNDED_LENGTH)
)
View Source
var (
	TOP_MASK32 = 0x8080_8080
	// TOP_MASK64 int64 = 0x8080_8080_8080_8080
	TOP_MASK64, _ = strconv.ParseInt("0x8080_8080_8080_8080", 16, 64)
)
View Source
var (
	MaxI128 = Int128{/* contains filtered or unexported fields */}
	MinI128 = Int128{/* contains filtered or unexported fields */}
	MaxU128 = Uint128{/* contains filtered or unexported fields */}
)
View Source
var ARRAY_BB_INSTANCE_SIZE int32 = util.SizeOf(&ArrayBlockBuilder{})

var ARRAY_BB_INSTANCE_SIZE int32 = ClassLayout.parseClass(ArrayBlockBuilder.class).instanceSize()

View Source
var ARRAY_INSTANCE_SIZE int32 = util.SizeOf(&ArrayBlock{})

var arrayBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(ArrayBlock.class).instanceSize()

View Source
var ARRAY_NULL_ELEMENT_MSG string = "ARRAY comparison not supported for arrays with null elements"
View Source
var BBSINSTANCE_SIZE int32 = deepInstanceSize(reflect.TypeOf(&BlockBuilderStatus{}), &BlockBuilderStatus{})
View Source
var BYTE_ARRAY_INSTANCE_SIZE int32 = util.SizeOf(&ByteArrayBlock{})

var byteArrayBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(ByteArrayBlock.class).instanceSize()

View Source
var (
	CHAR_MAX_LENGTH int32 = 65_536
)
View Source
var DB_INSTANCE_SIZE int32 = util.SizeOf(&DictionaryBlock{})

var dictionaryBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(DictionaryBlock.class).instanceSize() + ClassLayout.parseClass(DictionaryId.class).instanceSize()

View Source
var DEFAULT_INITIAL_CAPACITY int32 = 16
View Source
var DEFAULT_MAX_PAGE_SIZE_IN_BYTES int32 = 1024 * 1024
View Source
var EXPECTED_BYTES_PER_ENTRY int32 = 32
View Source
var INT_INSTANCE_SIZE int32 = util.SizeOf(&IntArrayBlock{})

var intArrayBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(IntArrayBlock.class).instanceSize()

View Source
var LB_iNSTANCE_SIZE int32 = util.SizeOf(&LazyBlock{}) + util.SizeOf(&LazyBlock{})
View Source
var LONG_ARRAY_BLOCK_INSTANCE_SIZE int32 = util.SizeOf(&LongArrayBlock{})
View Source
var LTWT_INSTANCE_SIZE int32 = util.SizeOf(&LongTimestampWithTimeZone{})

var LongTimestampWithTimeZoneINSTANCE_SIZE int32 = ClassLayout.parseClass(LongTimestampWithTimeZone.class).instanceSize()

View Source
var (
	MAP_BB_INSTANCE_SIZE int32 = util.SizeOf(&MapBlockBuilder{})
)
View Source
var MAP_EXPECTED_BYTES_PER_ENTRY int32 = 32
View Source
var MAP_INSTANCE_SIZE = util.SizeOf(&MapBlock{})

var mapBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(MapBlock.class).instanceSize()

View Source
var NULL_HASH_CODE int32 = 0
View Source
var ROW_BB_INSTANCE_SIZE int32 = util.SizeOf(&RowBlockBuilder{})

var rowBlockBuilderROW_BB_INSTANCE_SIZE int32 = ClassLayout.parseClass(RowBlockBuilder.class).instanceSize()

View Source
var ROW_BLOCK_iNSTANCE_SIZE int32 = util.SizeOf(&RowBlock{})

var rowBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(RowBlock.class).instanceSize()

View Source
var RUNLENGTH_INSTANCE_SIZE int32 = util.SizeOf(&RunLengthEncodedBlock{})
View Source
var SHORT_ARRAY_BLOCK_INSTANCE_SIZE int32 = util.SizeOf(&ShortArrayBlock{})
View Source
var SINGLEROW_INSTANCE_SIZE int32 = util.SizeOf(&SingleRowBlockWriter{})
View Source
var SINGLE_ARRAY_INSTANCE_SIZE int32 = util.SizeOf(&SingleArrayBlockWriter{})

var singleArrayBlockWriteriNSTANCE_SIZE int32 = ClassLayout.parseClass(SingleArrayBlockWriter.class).instanceSize()

View Source
var SINGLE_INSTANCE_SIZE int32 = util.SizeOf(&SingleRowBlock{})
View Source
var SINGLE_MAP_BLOCK_INSTANCE_SIZE int32 = util.SizeOf(&SingleMapBlock{})
View Source
var SINGLE_MAP_INSTANCE_SIZE int32 = util.SizeOf(&SingleMapBlockWriter{})
View Source
var VWBB_INSTANCE_SIZE = util.SizeOf(&VariableWidthBlockBuilder{})

var variableWidthBlockBuilderiNSTANCE_SIZE int32 = ClassLayout.parseClass(VariableWidthBlockBuilder.class).instanceSize()

View Source
var VW_INSTANCE_SIZE = util.SizeOf(&VariableWidthBlock{})

var variableWidthBlockiNSTANCE_SIZE int32 = ClassLayout.parseClass(VariableWidthBlock.class).instanceSize()

Functions

func AddNum

func AddNum(i *int)

func AppendTo

func AppendTo(block Block, position int32, blockBuilder BlockBuilder) error

func BlockToNativeValue

func BlockToNativeValue(kind Type, block Block) basic.Object

func ByteCount

func ByteCount(slice *slice.Slice, offset int32, length int32, codePointCount int32) int32

*

  • Get the byte count of a given {@param slice} with in range {@param offset} to {@param offset} + {@param length}
  • for at most {@param codePointCount} many code points

func ByteCountWithoutTrailingSpace

func ByteCountWithoutTrailingSpace(slice *slice.Slice, offset int32, length int32, codePointCount int32) int32

func ByteCountWithoutTrailingSpace2

func ByteCountWithoutTrailingSpace2(slice *slice.Slice, offset int32, length int32) int32

func DecimalCheckArgument

func DecimalCheckArgument(condition bool, format string, args ...basic.Object)

func GetTimeZoneKeys

func GetTimeZoneKeys() util.SetInterface[string]

func Int128Compare

func Int128Compare(leftHigh int64, leftLow int64, rightHigh int64, rightLow int64) int

func Int128Rescale

func Int128Rescale(high int64, low int64, factor int32, result []int64, offset int32)

func IsLongDecimal

func IsLongDecimal(kind Type) bool

func IsShortDecimal

func IsShortDecimal(kind Type) bool

func ListenForLoads

func ListenForLoads(block Block, listener func(Block))

func LongTenToNth

func LongTenToNth(n int32) int64

func Overflows

func Overflows(value int64, precision int32) bool

func Overflows4

func Overflows4(value Int128) bool

func Overflows5

func Overflows5(high int64, low int64) bool

func Overflows6

func Overflows6(value Int128, precision int32) bool

func PackDateTimeWithZone2

func PackDateTimeWithZone2(millisUtc int64, offsetMinutes int32) int64

public static long packDateTimeWithZone(long millisUtc, int offsetMinutes)

{
	return packDateTimeWithZone(millisUtc, getTimeZoneKeyForOffset(offsetMinutes));
}

func PackDateTimeWithZone3

func PackDateTimeWithZone3(millisUtc int64, timeZoneKey *TimeZoneKey) int64

public static long packDateTimeWithZone(long millisUtc, TimeZoneKey timeZoneKey)

{
	requireNonNull(timeZoneKey, "timeZoneKey is null");
	return pack(millisUtc, timeZoneKey.getKey());
}

func PackDateTimeWithZone4

func PackDateTimeWithZone4(millisUtc int64, timeZoneKey int16) int64

public static long packDateTimeWithZone(long millisUtc, short timeZoneKey)

{
	return pack(millisUtc, timeZoneKey);
}

func PackTimeWithTimeZone

func PackTimeWithTimeZone(nanos int64, offsetMinutes int32) int64

public static long packTimeWithTimeZone(long nanos, int offsetMinutes)

{
	// offset is encoded as a 2s complement 11-bit number
	return (nanos << 11) | (offsetMinutes & 0b111_1111_1111);
}

func ReadNativeValue

func ReadNativeValue(kind Type, block Block, position int32) basic.Object

func Rescale

func Rescale(value int64, fromScale int32, toScale int32) int64

func RoundDiv

func RoundDiv(value int64, factor int64) int64

func ThrowIfOverflows

func ThrowIfOverflows(high int64, low int64)

func ToString

func ToString(unscaledValue int64, scale int32) string

func ToString2

func ToString2(unscaledValue *Int128, scale int32) string

func ToString3

func ToString3(unscaledValue *BigInt, scale int32) string

func UnpackMillisUtc

func UnpackMillisUtc(dateTimeWithTimeZone int64) int64

public static long unpackMillisUtc(long dateTimeWithTimeZone)

{
	return dateTimeWithTimeZone >> MILLIS_SHIFT;
}

func UnpackOffsetMinutes

func UnpackOffsetMinutes(packedTimeWithTimeZone int64) int32

func UnpackTimeNanos

func UnpackTimeNanos(packedTimeWithTimeZone int64) int64

public static long unpackTimeNanos(long packedTimeWithTimeZone)

{
	return packedTimeWithTimeZone >>> 11;
}

func UpdateMillisUtc

func UpdateMillisUtc(newMillsUtc int64, dateTimeWithTimeZone int64) int64

public static long updateMillisUtc(long newMillsUtc, long dateTimeWithTimeZone)

{
	return pack(newMillsUtc, (short) (dateTimeWithTimeZone & TIME_ZONE_MASK));
}

func WriteLongTimestamp

func WriteLongTimestamp(blockBuilder BlockBuilder, timestamp *LongTimestamp)

func WriteLongTimestamp2

func WriteLongTimestamp2(blockBuilder BlockBuilder, epochMicros int64, fraction int32)

func WriteNativeValue

func WriteNativeValue(kind Type, blockBuilder BlockBuilder, value basic.Object)

Types

type AbstractArrayBlock

type AbstractArrayBlock struct {
	Block // 继承block
}

func (*AbstractArrayBlock) Apply

func (ak *AbstractArrayBlock) Apply(function ArrayBlockFunction, position int32) (*interface{}, error)

func (*AbstractArrayBlock) CopyPositions

func (ak *AbstractArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractArrayBlock) CopyRegion

func (ak *AbstractArrayBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractArrayBlock) GetChildren

func (ak *AbstractArrayBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractArrayBlock) GetEstimatedDataSizeForStats

func (ak *AbstractArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractArrayBlock) GetObject

func (ak *AbstractArrayBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractArrayBlock) GetOffsetBase

func (ak *AbstractArrayBlock) GetOffsetBase() int32

protected abstract int getOffsetBase();

func (*AbstractArrayBlock) GetOffsets

func (ak *AbstractArrayBlock) GetOffsets() []int32

protected abstract int[] getOffsets();

func (*AbstractArrayBlock) GetPositionsSizeInBytes

func (ak *AbstractArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractArrayBlock) GetRegion

func (ak *AbstractArrayBlock) GetRegion(position int32, length int32) Block

@Override

func (*AbstractArrayBlock) GetRegionSizeInBytes

func (ak *AbstractArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractArrayBlock) GetSingleValueBlock

func (ak *AbstractArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractArrayBlock) GetValueIsNull

func (ak *AbstractArrayBlock) GetValueIsNull() []bool

* * @return the underlying valueIsNull array, or null when all values are guaranteed to be non-null

@Nullable
protected abstract boolean[] getValueIsNull();

func (*AbstractArrayBlock) IsNull

func (ak *AbstractArrayBlock) IsNull(position int32) bool

@Override

type AbstractIntType

type AbstractIntType struct {
	// 继承
	AbstractType
	// 继承 FixedWidthType
	FixedWidthType
}

func NewAbstractIntType

func NewAbstractIntType(signature *TypeSignature) *AbstractIntType

func (*AbstractIntType) AppendTo

func (ae *AbstractIntType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*AbstractIntType) CreateBlockBuilder

func (ae *AbstractIntType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*AbstractIntType) CreateBlockBuilder2

func (ae *AbstractIntType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*AbstractIntType) CreateFixedSizeBlockBuilder

func (ae *AbstractIntType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*AbstractIntType) GetBaseName

func (te *AbstractIntType) GetBaseName() string

@Override

func (*AbstractIntType) GetBoolean

func (te *AbstractIntType) GetBoolean(block Block, position int32) bool

@Override

func (*AbstractIntType) GetDisplayName

func (te *AbstractIntType) GetDisplayName() string

@Override

func (*AbstractIntType) GetDouble

func (te *AbstractIntType) GetDouble(block Block, position int32) float64

@Override

func (*AbstractIntType) GetFixedSize

func (ae *AbstractIntType) GetFixedSize() int32

@Override

func (*AbstractIntType) GetGoKind

func (te *AbstractIntType) GetGoKind() reflect.Kind

@Override

func (*AbstractIntType) GetLong

func (ae *AbstractIntType) GetLong(block Block, position int32) int64

@Override

func (*AbstractIntType) GetObject

func (te *AbstractIntType) GetObject(block Block, position int32) basic.Object

@Override

func (*AbstractIntType) GetSlice

func (ae *AbstractIntType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*AbstractIntType) GetTypeId

func (te *AbstractIntType) GetTypeId() *TypeId

@Override

func (*AbstractIntType) GetTypeParameters

func (te *AbstractIntType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*AbstractIntType) GetTypeSignature

func (te *AbstractIntType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*AbstractIntType) IsComparable

func (ae *AbstractIntType) IsComparable() bool

@Override

func (*AbstractIntType) IsOrderable

func (ae *AbstractIntType) IsOrderable() bool

@Override

func (*AbstractIntType) WriteBoolean

func (te *AbstractIntType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*AbstractIntType) WriteDouble

func (te *AbstractIntType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*AbstractIntType) WriteLong

func (ae *AbstractIntType) WriteLong(blockBuilder BlockBuilder, value int64) error

@Override

func (*AbstractIntType) WriteObject

func (te *AbstractIntType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*AbstractIntType) WriteSlice

func (te *AbstractIntType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*AbstractIntType) WriteSlice2

func (te *AbstractIntType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type AbstractLongType

type AbstractLongType struct {
	// 继承 FixedWidthType
	FixedWidthType

	// 继承 AbstractType
	AbstractType
}

func NewAbstractLongType

func NewAbstractLongType(signature *TypeSignature) *AbstractLongType

func (*AbstractLongType) AppendTo

func (ae *AbstractLongType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*AbstractLongType) CreateBlockBuilder

func (ae *AbstractLongType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*AbstractLongType) CreateBlockBuilder2

func (ae *AbstractLongType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*AbstractLongType) CreateFixedSizeBlockBuilder

func (ae *AbstractLongType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*AbstractLongType) GetFixedSize

func (ae *AbstractLongType) GetFixedSize() int32

@Override

func (*AbstractLongType) GetLong

func (ae *AbstractLongType) GetLong(block Block, position int32) int64

@Override

func (*AbstractLongType) GetSlice

func (ae *AbstractLongType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*AbstractLongType) IsComparable

func (ae *AbstractLongType) IsComparable() bool

@Override

func (*AbstractLongType) IsOrderable

func (ae *AbstractLongType) IsOrderable() bool

@Override

func (*AbstractLongType) WriteLong

func (ae *AbstractLongType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

type AbstractMapBlock

type AbstractMapBlock struct {
	Block // 继承block
	// contains filtered or unexported fields
}

func NewAbstractMapBlock

func NewAbstractMapBlock(mapType *MapType) *AbstractMapBlock

func (*AbstractMapBlock) CopyPositions

func (ak *AbstractMapBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractMapBlock) CopyRegion

func (ak *AbstractMapBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractMapBlock) GetChildren

func (ak *AbstractMapBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractMapBlock) GetEstimatedDataSizeForStats

func (ak *AbstractMapBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractMapBlock) GetObject

func (ak *AbstractMapBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractMapBlock) GetPositionsSizeInBytes

func (ak *AbstractMapBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractMapBlock) GetRegion

func (ak *AbstractMapBlock) GetRegion(position int32, length int32) Block

@Override

func (*AbstractMapBlock) GetRegionSizeInBytes

func (ak *AbstractMapBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractMapBlock) GetSingleValueBlock

func (ak *AbstractMapBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractMapBlock) IsNull

func (ak *AbstractMapBlock) IsNull(position int32) bool

@Override

type AbstractRowBlock

type AbstractRowBlock struct {
	Block // 继承block
	// contains filtered or unexported fields
}

func NewAbstractRowBlock

func NewAbstractRowBlock(numFields int32) *AbstractRowBlock

func (*AbstractRowBlock) CopyPositions

func (ak *AbstractRowBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractRowBlock) CopyRegion

func (ak *AbstractRowBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractRowBlock) GetChildren

func (ak *AbstractRowBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractRowBlock) GetEstimatedDataSizeForStats

func (ak *AbstractRowBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractRowBlock) GetObject

func (ak *AbstractRowBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractRowBlock) GetPositionsSizeInBytes

func (ak *AbstractRowBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractRowBlock) GetRegion

func (ak *AbstractRowBlock) GetRegion(position int32, length int32) Block

@Override

func (*AbstractRowBlock) GetRegionSizeInBytes

func (ak *AbstractRowBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractRowBlock) GetSingleValueBlock

func (ak *AbstractRowBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractRowBlock) IsNull

func (ak *AbstractRowBlock) IsNull(position int32) bool

@Override

type AbstractSingleArrayBlock

type AbstractSingleArrayBlock struct {
	Block // 继承block
	// contains filtered or unexported fields
}

func NewAbstractSingleArrayBlock

func NewAbstractSingleArrayBlock(start int32) *AbstractSingleArrayBlock

func (*AbstractSingleArrayBlock) BytesCompare

func (ak *AbstractSingleArrayBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*AbstractSingleArrayBlock) BytesEqual

func (ak *AbstractSingleArrayBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleArrayBlock) CompareTo

func (ak *AbstractSingleArrayBlock) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*AbstractSingleArrayBlock) CopyPositions

func (ak *AbstractSingleArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractSingleArrayBlock) CopyRegion

func (ak *AbstractSingleArrayBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractSingleArrayBlock) Equals

func (ak *AbstractSingleArrayBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleArrayBlock) GetByte

func (ak *AbstractSingleArrayBlock) GetByte(position int32, offset int32) byte

@Override

func (*AbstractSingleArrayBlock) GetChildren

func (ak *AbstractSingleArrayBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractSingleArrayBlock) GetEstimatedDataSizeForStats

func (ak *AbstractSingleArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractSingleArrayBlock) GetInt

func (ak *AbstractSingleArrayBlock) GetInt(position int32, offset int32) int32

@Override

func (*AbstractSingleArrayBlock) GetLong

func (ak *AbstractSingleArrayBlock) GetLong(position int32, offset int32) int64

@Override

func (*AbstractSingleArrayBlock) GetObject

func (ak *AbstractSingleArrayBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractSingleArrayBlock) GetPositionsSizeInBytes

func (ak *AbstractSingleArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractSingleArrayBlock) GetRegion

func (ak *AbstractSingleArrayBlock) GetRegion(position int32, length int32) Block

@Override

func (*AbstractSingleArrayBlock) GetRegionSizeInBytes

func (ak *AbstractSingleArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractSingleArrayBlock) GetShort

func (ak *AbstractSingleArrayBlock) GetShort(position int32, offset int32) int16

@Override

func (*AbstractSingleArrayBlock) GetSingleValueBlock

func (ak *AbstractSingleArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractSingleArrayBlock) GetSlice

func (ak *AbstractSingleArrayBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*AbstractSingleArrayBlock) GetSliceLength

func (ak *AbstractSingleArrayBlock) GetSliceLength(position int32) int32

@Override

func (*AbstractSingleArrayBlock) Hash

func (ak *AbstractSingleArrayBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*AbstractSingleArrayBlock) IsNull

func (ak *AbstractSingleArrayBlock) IsNull(position int32) bool

@Override

func (*AbstractSingleArrayBlock) WriteBytesTo

func (ak *AbstractSingleArrayBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type AbstractSingleMapBlock

type AbstractSingleMapBlock struct {
	Block // 继承block

}

func (*AbstractSingleMapBlock) BytesCompare

func (ak *AbstractSingleMapBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*AbstractSingleMapBlock) BytesEqual

func (ak *AbstractSingleMapBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleMapBlock) CompareTo

func (ak *AbstractSingleMapBlock) CompareTo(position int32, offset int32, length int32, otherBlock Block, otherPosition int32, otherOffset int32, otherLength int32) int32

@Override

func (*AbstractSingleMapBlock) CopyPositions

func (ak *AbstractSingleMapBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractSingleMapBlock) CopyRegion

func (ak *AbstractSingleMapBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractSingleMapBlock) Equals

func (ak *AbstractSingleMapBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleMapBlock) GetByte

func (ak *AbstractSingleMapBlock) GetByte(position int32, offset int32) byte

@Override

func (*AbstractSingleMapBlock) GetChildren

func (ak *AbstractSingleMapBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractSingleMapBlock) GetEstimatedDataSizeForStats

func (ak *AbstractSingleMapBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractSingleMapBlock) GetInt

func (ak *AbstractSingleMapBlock) GetInt(position int32, offset int32) int32

@Override

func (*AbstractSingleMapBlock) GetLong

func (ak *AbstractSingleMapBlock) GetLong(position int32, offset int32) int64

@Override

func (*AbstractSingleMapBlock) GetObject

func (ak *AbstractSingleMapBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractSingleMapBlock) GetPositionsSizeInBytes

func (ak *AbstractSingleMapBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractSingleMapBlock) GetRegion

func (ak *AbstractSingleMapBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*AbstractSingleMapBlock) GetRegionSizeInBytes

func (ak *AbstractSingleMapBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractSingleMapBlock) GetShort

func (ak *AbstractSingleMapBlock) GetShort(position int32, offset int32) int16

@Override

func (*AbstractSingleMapBlock) GetSingleValueBlock

func (ak *AbstractSingleMapBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractSingleMapBlock) GetSlice

func (ak *AbstractSingleMapBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*AbstractSingleMapBlock) GetSliceLength

func (ak *AbstractSingleMapBlock) GetSliceLength(position int32) int32

@Override

func (*AbstractSingleMapBlock) Hash

func (ak *AbstractSingleMapBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*AbstractSingleMapBlock) IsNull

func (ak *AbstractSingleMapBlock) IsNull(position int32) bool

@Override

func (*AbstractSingleMapBlock) WriteBytesTo

func (ak *AbstractSingleMapBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type AbstractSingleRowBlock

type AbstractSingleRowBlock struct {
	Block // 继承block

}

func (*AbstractSingleRowBlock) BytesCompare

func (ak *AbstractSingleRowBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*AbstractSingleRowBlock) BytesEqual

func (ak *AbstractSingleRowBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleRowBlock) CompareTo

func (ak *AbstractSingleRowBlock) CompareTo(position int32, offset int32, length int32, otherBlock Block, otherPosition int32, otherOffset int32, otherLength int32) int32

@Override

func (*AbstractSingleRowBlock) CopyPositions

func (ak *AbstractSingleRowBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*AbstractSingleRowBlock) CopyRegion

func (ak *AbstractSingleRowBlock) CopyRegion(position int32, length int32) Block

@Override

func (*AbstractSingleRowBlock) Equals

func (ak *AbstractSingleRowBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*AbstractSingleRowBlock) GetByte

func (ak *AbstractSingleRowBlock) GetByte(position int32, offset int32) byte

@Override

func (*AbstractSingleRowBlock) GetChildren

func (ak *AbstractSingleRowBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*AbstractSingleRowBlock) GetEstimatedDataSizeForStats

func (ak *AbstractSingleRowBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*AbstractSingleRowBlock) GetInt

func (ak *AbstractSingleRowBlock) GetInt(position int32, offset int32) int32

@Override

func (*AbstractSingleRowBlock) GetLong

func (ak *AbstractSingleRowBlock) GetLong(position int32, offset int32) int64

@Override

func (*AbstractSingleRowBlock) GetObject

func (ak *AbstractSingleRowBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*AbstractSingleRowBlock) GetPositionsSizeInBytes

func (ak *AbstractSingleRowBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*AbstractSingleRowBlock) GetRegion

func (ak *AbstractSingleRowBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*AbstractSingleRowBlock) GetRegionSizeInBytes

func (ak *AbstractSingleRowBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*AbstractSingleRowBlock) GetShort

func (ak *AbstractSingleRowBlock) GetShort(position int32, offset int32) int16

@Override

func (*AbstractSingleRowBlock) GetSingleValueBlock

func (ak *AbstractSingleRowBlock) GetSingleValueBlock(position int32) Block

@Override

func (*AbstractSingleRowBlock) GetSlice

func (ak *AbstractSingleRowBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*AbstractSingleRowBlock) GetSliceLength

func (ak *AbstractSingleRowBlock) GetSliceLength(position int32) int32

@Override

func (*AbstractSingleRowBlock) Hash

func (ak *AbstractSingleRowBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*AbstractSingleRowBlock) IsNull

func (ak *AbstractSingleRowBlock) IsNull(position int32) bool

@Override

func (*AbstractSingleRowBlock) WriteBytesTo

func (ak *AbstractSingleRowBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type AbstractType

type AbstractType struct {
	//继承Type
	Type
	// contains filtered or unexported fields
}

func NewAbstractType

func NewAbstractType(signature *TypeSignature, goKind reflect.Kind) *AbstractType

func (*AbstractType) CreateBlockBuilder

func (ae *AbstractType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

func (*AbstractType) GetBaseName

func (ae *AbstractType) GetBaseName() string

@Override

func (*AbstractType) GetBoolean

func (ae *AbstractType) GetBoolean(block Block, position int32) bool

@Override

func (*AbstractType) GetDisplayName

func (ae *AbstractType) GetDisplayName() string

@Override

func (*AbstractType) GetDouble

func (ae *AbstractType) GetDouble(block Block, position int32) float64

@Override

func (*AbstractType) GetGoKind

func (ae *AbstractType) GetGoKind() reflect.Kind

@Override

func (*AbstractType) GetLong

func (ae *AbstractType) GetLong(block Block, position int32) int64

@Override

func (*AbstractType) GetObject

func (ae *AbstractType) GetObject(block Block, position int32) basic.Object

@Override

func (*AbstractType) GetSlice

func (ae *AbstractType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*AbstractType) GetTypeId

func (ae *AbstractType) GetTypeId() *TypeId

@Override

func (*AbstractType) GetTypeParameters

func (ae *AbstractType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*AbstractType) GetTypeSignature

func (ae *AbstractType) GetTypeSignature() *TypeSignature

@Override

func (*AbstractType) IsComparable

func (ae *AbstractType) IsComparable() bool

@Override

func (*AbstractType) IsOrderable

func (ae *AbstractType) IsOrderable() bool

@Override

func (*AbstractType) WriteBoolean

func (ae *AbstractType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*AbstractType) WriteDouble

func (ae *AbstractType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*AbstractType) WriteLong

func (ae *AbstractType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*AbstractType) WriteObject

func (ae *AbstractType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*AbstractType) WriteSlice

func (ae *AbstractType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*AbstractType) WriteSlice2

func (ae *AbstractType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type AbstractVariableWidthBlock

type AbstractVariableWidthBlock struct {
	Block // 继承block
}

type AbstractVariableWidthType

type AbstractVariableWidthType struct {
	VariableWidthType

	// 继承 AbstractType
	AbstractType
}

func NewAbstractVariableWidthType

func NewAbstractVariableWidthType(signature *TypeSignature, goKind reflect.Kind) *AbstractVariableWidthType

func (*AbstractVariableWidthType) CreateBlockBuilder

func (ae *AbstractVariableWidthType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*AbstractVariableWidthType) CreateBlockBuilder2

func (ae *AbstractVariableWidthType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

type ArrayBlock

type ArrayBlock struct {
	AbstractArrayBlock // 继承 AbstractArrayBlock
	// contains filtered or unexported fields
}

func NewArrayBlock

func NewArrayBlock(arrayOffset int32, positionCount int32, valueIsNull []bool, offsets []int32, values Block) *ArrayBlock

func (*ArrayBlock) Apply

func (ak *ArrayBlock) Apply(function ArrayBlockFunction, position int32) (*interface{}, error)

func (*ArrayBlock) CopyPositions

func (ak *ArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ArrayBlock) CopyRegion

func (ak *ArrayBlock) CopyRegion(position int32, length int32) Block

@Override

func (*ArrayBlock) GetChildren

func (ak *ArrayBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*ArrayBlock) GetEstimatedDataSizeForStats

func (ak *ArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ArrayBlock) GetLoadedBlock

func (ak *ArrayBlock) GetLoadedBlock() Block

@Override

func (*ArrayBlock) GetObject

func (ak *ArrayBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*ArrayBlock) GetOffsetBase

func (ak *ArrayBlock) GetOffsetBase() int32

@Override

func (*ArrayBlock) GetOffsets

func (ak *ArrayBlock) GetOffsets() []int32

@Override

func (*ArrayBlock) GetPositionCount

func (ak *ArrayBlock) GetPositionCount() int32

@Override

func (*ArrayBlock) GetPositionsSizeInBytes

func (ak *ArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ArrayBlock) GetRegion

func (ak *ArrayBlock) GetRegion(position int32, length int32) Block

@Override

func (*ArrayBlock) GetRegionSizeInBytes

func (ak *ArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ArrayBlock) GetRetainedSizeInBytes

func (ak *ArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*ArrayBlock) GetSingleValueBlock

func (ak *ArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*ArrayBlock) GetSizeInBytes

func (ak *ArrayBlock) GetSizeInBytes() int64

@Override

func (*ArrayBlock) GetValueIsNull

func (ak *ArrayBlock) GetValueIsNull() []bool

@Override @Nullable

func (*ArrayBlock) IsLoaded

func (ak *ArrayBlock) IsLoaded() bool

@Override

func (*ArrayBlock) IsNull

func (ak *ArrayBlock) IsNull(position int32) bool

@Override

func (*ArrayBlock) MayHaveNull

func (ak *ArrayBlock) MayHaveNull() bool

@Override

type ArrayBlockBuilder

type ArrayBlockBuilder struct {
	// 继承
	BlockBuilder

	// 继承
	AbstractArrayBlock
	// contains filtered or unexported fields
}

func NewArrayBlockBuilder

func NewArrayBlockBuilder(valuesBlock BlockBuilder, blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *ArrayBlockBuilder

func NewArrayBlockBuilder2

func NewArrayBlockBuilder2(elementType Type, blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) *ArrayBlockBuilder

func NewArrayBlockBuilder3

func NewArrayBlockBuilder3(elementType Type, blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *ArrayBlockBuilder

func NewArrayBlockBuilder4

func NewArrayBlockBuilder4(blockBuilderStatus *BlockBuilderStatus, values BlockBuilder, expectedEntries int32) *ArrayBlockBuilder

func (*ArrayBlockBuilder) AppendNull

func (ar *ArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*ArrayBlockBuilder) Apply

func (ak *ArrayBlockBuilder) Apply(function ArrayBlockFunction, position int32) (*interface{}, error)

func (*ArrayBlockBuilder) BeginBlockEntry

func (ar *ArrayBlockBuilder) BeginBlockEntry() BlockBuilder

@Override

func (*ArrayBlockBuilder) Build

func (ar *ArrayBlockBuilder) Build() Block

@Override

func (*ArrayBlockBuilder) CloseEntry

func (ar *ArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*ArrayBlockBuilder) CopyPositions

func (ak *ArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ArrayBlockBuilder) CopyRegion

func (ak *ArrayBlockBuilder) CopyRegion(position int32, length int32) Block

@Override

func (*ArrayBlockBuilder) GetChildren

func (ak *ArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

@Override

func (*ArrayBlockBuilder) GetEstimatedDataSizeForStats

func (ak *ArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ArrayBlockBuilder) GetLoadedBlock

func (ak *ArrayBlockBuilder) GetLoadedBlock() Block

func (*ArrayBlockBuilder) GetObject

func (ak *ArrayBlockBuilder) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*ArrayBlockBuilder) GetOffsetBase

func (ar *ArrayBlockBuilder) GetOffsetBase() int32

@Override

func (*ArrayBlockBuilder) GetOffsets

func (ar *ArrayBlockBuilder) GetOffsets() []int32

@Override

func (*ArrayBlockBuilder) GetPositionCount

func (ar *ArrayBlockBuilder) GetPositionCount() int32

@Override

func (*ArrayBlockBuilder) GetPositionsSizeInBytes

func (ak *ArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ArrayBlockBuilder) GetRegion

func (ak *ArrayBlockBuilder) GetRegion(position int32, length int32) Block

@Override

func (*ArrayBlockBuilder) GetRegionSizeInBytes

func (ak *ArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ArrayBlockBuilder) GetRetainedSizeInBytes

func (ar *ArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*ArrayBlockBuilder) GetSingleValueBlock

func (ak *ArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*ArrayBlockBuilder) GetSizeInBytes

func (ar *ArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*ArrayBlockBuilder) GetValueIsNull

func (ar *ArrayBlockBuilder) GetValueIsNull() []bool

@Nullable @Override

func (*ArrayBlockBuilder) IsLoaded

func (ik *ArrayBlockBuilder) IsLoaded() bool

func (*ArrayBlockBuilder) IsNull

func (ak *ArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*ArrayBlockBuilder) MayHaveNull

func (ar *ArrayBlockBuilder) MayHaveNull() bool

@Override

func (*ArrayBlockBuilder) NewBlockBuilderLike

func (ar *ArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

type ArrayBlockFunction

type ArrayBlockFunction interface {
	Apply(block Block, startPosition int32, length int32) *interface{}
}

*

*

type ArrayType

type ArrayType struct {
	// 继承
	AbstractType
	// contains filtered or unexported fields
}

func NewArrayType

func NewArrayType(elementType Type) *ArrayType

func (*ArrayType) AppendTo

func (ae *ArrayType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*ArrayType) CreateBlockBuilder

func (ae *ArrayType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*ArrayType) CreateBlockBuilder2

func (ae *ArrayType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*ArrayType) GetDisplayName

func (ae *ArrayType) GetDisplayName() string

@Override

func (*ArrayType) GetElementType

func (ae *ArrayType) GetElementType() Type

func (*ArrayType) GetObject

func (ae *ArrayType) GetObject(block Block, position int32) basic.Object

@Override

func (*ArrayType) GetSlice

func (ae *ArrayType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*ArrayType) GetTypeParameters

func (ae *ArrayType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*ArrayType) IsComparable

func (ae *ArrayType) IsComparable() bool

@Override

func (*ArrayType) IsOrderable

func (ae *ArrayType) IsOrderable() bool

@Override

func (*ArrayType) WriteObject

func (ae *ArrayType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*ArrayType) WriteSlice

func (ae *ArrayType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*ArrayType) WriteSlice2

func (ae *ArrayType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type BigInt

type BigInt struct {
	// contains filtered or unexported fields
}

BigInt structure

var TEN BigInt = *NewBigIntString("10")

func BigIntegerTenToNth

func BigIntegerTenToNth(n int32) *BigInt

func NewBigInt

func NewBigInt(i ...interface{}) *BigInt

redirects to the NewBigIntString function with the correct input

func NewBigIntString

func NewBigIntString(value_str string) *BigInt

returns a new BigInt data type pointer uses value_str in order to determine it's value

func Sort

func Sort(big_int_array []*BigInt) []*BigInt

returns an array of BigInt data type pointers big_int_array is the unsorted array

func (*BigInt) Abs

func (big_int *BigInt) Abs() *BigInt

returns a BigInt identical to the input BigInt, except for the fact that the isPositive variable is always set to true

func (*BigInt) Add

func (big_int *BigInt) Add(i interface{}) *BigInt

redirects to AddBigInt with the correct input

func (*BigInt) AddBigInt

func (big_int *BigInt) AddBigInt(other_big_int *BigInt) *BigInt

returns a BigInt that represents the sum of two BigInts

func (*BigInt) Divide

func (big_int *BigInt) Divide(i interface{}) *BigInt

redirects to DivideBigInt with the correct input

func (*BigInt) DivideBigInt

func (big_int *BigInt) DivideBigInt(other_big_int *BigInt) *BigInt

returns a BigInt that represents the quotient of two BigInts

func (*BigInt) Factorial

func (big_int *BigInt) Factorial() *BigInt

returns a BigInt that represents a BigInt factorial

func (*BigInt) GetCopy

func (big_int *BigInt) GetCopy() *BigInt

returns a BigInt that is identical

func (*BigInt) GetInt

func (big_int *BigInt) GetInt() int

returns an int representation of the BigInt

func (*BigInt) GetInt16

func (big_int *BigInt) GetInt16() int16

returns an int16 representation of the BigInt

func (*BigInt) GetInt32

func (big_int *BigInt) GetInt32() int32

returns an int32 representation of the BigInt

func (*BigInt) GetInt64

func (big_int *BigInt) GetInt64() int64

returns an int64 representation of the BigInt

func (*BigInt) GetInt8

func (big_int *BigInt) GetInt8() int8

returns an int8 representation of the BigInt

func (*BigInt) GetSwitchedSign

func (big_int *BigInt) GetSwitchedSign() *BigInt

returns a BigInt identical to the input BigInt, except for the fact that the isPositive variable is set to the opposite

func (*BigInt) GetUnsignedInt

func (big_int *BigInt) GetUnsignedInt() uint

returns an uint representation of the BigInt

func (*BigInt) GetUnsignedInt16

func (big_int *BigInt) GetUnsignedInt16() uint16

returns an uint16 representation of the BigInt

func (*BigInt) GetUnsignedInt32

func (big_int *BigInt) GetUnsignedInt32() uint32

returns an uint32 representation of the BigInt

func (*BigInt) GetUnsignedInt64

func (big_int *BigInt) GetUnsignedInt64() uint64

returns an int64 representation of the BigInt

func (*BigInt) GetUnsignedInt8

func (big_int *BigInt) GetUnsignedInt8() uint8

returns an uint8 representation of the BigInt

func (*BigInt) GetValueArray

func (big_int *BigInt) GetValueArray() []uint8

returns a copy of the BigInt's value array

func (*BigInt) IsEqualTo

func (big_int *BigInt) IsEqualTo(i interface{}) bool

redirects to IsEqualToBigInt with the correct input

func (*BigInt) IsEqualToBigInt

func (big_int *BigInt) IsEqualToBigInt(other_big_int *BigInt) bool

returns a boolean representing whether two BigInts are of equal value

func (*BigInt) IsGreaterThan

func (big_int *BigInt) IsGreaterThan(i interface{}) bool

redirects to IsGreaterThanBigInt with the correct input

func (*BigInt) IsGreaterThanBigInt

func (big_int *BigInt) IsGreaterThanBigInt(other_big_int *BigInt) bool

returns a boolean representing whether one BigInt is greater than another

func (*BigInt) IsGreaterThanOrEqualTo

func (big_int *BigInt) IsGreaterThanOrEqualTo(i interface{}) bool

redirects to IsGreaterThanOrEqualToBigInt with the correct input

func (*BigInt) IsGreaterThanOrEqualToBigInt

func (big_int *BigInt) IsGreaterThanOrEqualToBigInt(other_big_int *BigInt) bool

returns a boolean representing whether one BigInt is greater than or equal to another

func (*BigInt) IsLessThan

func (big_int *BigInt) IsLessThan(i interface{}) bool

redirects to IsLessThanBigInt with the correct input

func (*BigInt) IsLessThanBigInt

func (big_int *BigInt) IsLessThanBigInt(other_big_int *BigInt) bool

returns a boolean representing whether one BigInt is less than another

func (*BigInt) IsLessThanOrEqualTo

func (big_int *BigInt) IsLessThanOrEqualTo(i interface{}) bool

redirects to IsLessThanOrEqualToBigInt with the correct input

func (*BigInt) IsLessThanOrEqualToBigInt

func (big_int *BigInt) IsLessThanOrEqualToBigInt(other_big_int *BigInt) bool

returns a boolean representing whether one BigInt is less than or equal to another

func (*BigInt) IsNotEqualTo

func (big_int *BigInt) IsNotEqualTo(i interface{}) bool

redirects to IsNotEqualToBigInt with the correct input

func (*BigInt) IsNotEqualToBigInt

func (big_int *BigInt) IsNotEqualToBigInt(other_big_int *BigInt) bool

returns a boolean representing whether two BigInts are not of equal value

func (*BigInt) IsPositive

func (big_int *BigInt) IsPositive() bool

returns a copy of BigInt's isPositive boolean

func (*BigInt) Modulo

func (big_int *BigInt) Modulo(i interface{}) *BigInt

redirects to ModuloBigInt with the correct input

func (*BigInt) ModuloBigInt

func (big_int *BigInt) ModuloBigInt(other_big_int *BigInt) *BigInt

returns a BigInt that represents the remainder of one BigInt divided by another

func (*BigInt) Multiply

func (big_int *BigInt) Multiply(i interface{}) *BigInt

redirects to MultiplyBigInt with the correct input

func (*BigInt) MultiplyBigInt

func (big_int *BigInt) MultiplyBigInt(other_big_int *BigInt) *BigInt

returns a BigInt that represents the product of two BigInts

func (*BigInt) Pow

func (base *BigInt) Pow(power interface{}) *BigInt

redirects to PowBigInt with the correct input

func (*BigInt) PowBigInt

func (base *BigInt) PowBigInt(power *BigInt) *BigInt

returns a BigInt that represents one BigInt to the power of another

func (*BigInt) SetValue

func (big_int *BigInt) SetValue(i interface{}) bool

redirects to SetValueString with the correct input

func (*BigInt) SetValueString

func (big_int *BigInt) SetValueString(value_str string) bool

changes the value of a BigInt, then returns whether or not we succeeded

func (*BigInt) String

func (big_int *BigInt) String() string

returns the string representation of a BigInt

func (*BigInt) StringNum

func (big_int *BigInt) StringNum() string

func (*BigInt) Subtract

func (big_int *BigInt) Subtract(i interface{}) *BigInt

redirects to SubtractBigInt with the correct input

func (*BigInt) SubtractBigInt

func (big_int *BigInt) SubtractBigInt(other_big_int *BigInt) *BigInt

returns a BigInt that represents the difference of two BigInts

type BigintType

type BigintType struct {
	// // 继承
	AbstractLongType
}
var BIGINT *BigintType = NewBigintType()

func NewBigintType

func NewBigintType() *BigintType

func (*BigintType) AppendTo

func (ae *BigintType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*BigintType) CreateBlockBuilder

func (ae *BigintType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*BigintType) CreateBlockBuilder2

func (ae *BigintType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*BigintType) CreateFixedSizeBlockBuilder

func (ae *BigintType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*BigintType) Equals

func (te *BigintType) Equals(kind Type) bool

@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")

func (*BigintType) GetBaseName

func (te *BigintType) GetBaseName() string

@Override

func (*BigintType) GetBoolean

func (te *BigintType) GetBoolean(block Block, position int32) bool

@Override

func (*BigintType) GetDisplayName

func (te *BigintType) GetDisplayName() string

@Override

func (*BigintType) GetDouble

func (te *BigintType) GetDouble(block Block, position int32) float64

@Override

func (*BigintType) GetFixedSize

func (ae *BigintType) GetFixedSize() int32

@Override

func (*BigintType) GetGoKind

func (te *BigintType) GetGoKind() reflect.Kind

@Override

func (*BigintType) GetLong

func (ae *BigintType) GetLong(block Block, position int32) int64

@Override

func (*BigintType) GetObject

func (te *BigintType) GetObject(block Block, position int32) basic.Object

@Override

func (*BigintType) GetSlice

func (ae *BigintType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*BigintType) GetTypeId

func (te *BigintType) GetTypeId() *TypeId

@Override

func (*BigintType) GetTypeParameters

func (te *BigintType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*BigintType) GetTypeSignature

func (te *BigintType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*BigintType) IsComparable

func (ae *BigintType) IsComparable() bool

@Override

func (*BigintType) IsOrderable

func (ae *BigintType) IsOrderable() bool

@Override

func (*BigintType) WriteBoolean

func (te *BigintType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*BigintType) WriteDouble

func (te *BigintType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*BigintType) WriteLong

func (ae *BigintType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*BigintType) WriteObject

func (te *BigintType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*BigintType) WriteSlice

func (te *BigintType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*BigintType) WriteSlice2

func (te *BigintType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type Block

type Block interface {

	/**
	 * Gets the length of the value at the {@code position}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	GetSliceLength(position int32) int32

	/**
	 * Gets a byte at {@code offset} in the value at {@code position}.
	 */
	GetByte(position int32, offset int32) byte

	/**
	 * Gets a little endian short at {@code offset} in the value at {@code position}.
	 */
	GetShort(position int32, offset int32) int16

	/**
	 * Gets a little endian int at {@code offset} in the value at {@code position}.
	 */
	GetInt(position int32, offset int32) int32

	/**
	 * Gets a little endian long at {@code offset} in the value at {@code position}.
	 */
	GetLong(position int32, offset int32) int64

	/**
	 * Gets a slice at {@code offset} in the value at {@code position}.
	 */
	GetSlice(position int32, offset int32, length int32) *slice.Slice

	/**
	 * Gets an object in the value at {@code position}.
	 */
	GetObject(position int32, clazz reflect.Type) basic.Object

	/**
	 * Is the byte sequences at {@code offset} in the value at {@code position} equal
	 * to the byte sequence at {@code otherOffset} in {@code otherSlice}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

	/**
	 * Compares the byte sequences at {@code offset} in the value at {@code position}
	 * to the byte sequence at {@code otherOffset} in {@code otherSlice}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

	/**
	 * Appends the byte sequences at {@code offset} in the value at {@code position}
	 * to {@code blockBuilder}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

	/**
	 * Is the byte sequences at {@code offset} in the value at {@code position} equal
	 * to the byte sequence at {@code otherOffset} in the value at {@code otherPosition}
	 * in {@code otherBlock}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

	/**
	 * Calculates the hash code the byte sequences at {@code offset} in the
	 * value at {@code position}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	Hash(position int32, offset int32, length int32) int64

	/**
	 * Compares the byte sequences at {@code offset} in the value at {@code position}
	 * to the byte sequence at {@code otherOffset} in the value at {@code otherPosition}
	 * in {@code otherBlock}.
	 * This method must be implemented if @{code getSlice} is implemented.
	 */
	CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

	/**
	 * Gets the value at the specified position as a single element block.  The method
	 * must copy the data into a new block.
	 * <p>
	 * This method is useful for operators that hold on to a single value without
	 * holding on to the entire block.
	 *
	 * @throws IllegalArgumentException if this position is not valid
	 */
	GetSingleValueBlock(position int32) Block

	/**
	 * Returns the number of positions in this block.
	 */
	GetPositionCount() int32

	/**
	 * Returns the size of this block as if it was compacted, ignoring any over-allocations
	 * and any unloaded nested blocks.
	 * For example, in dictionary blocks, this only counts each dictionary entry once,
	 * rather than each time a value is referenced.
	 */
	GetSizeInBytes() int64

	/**
	 * Returns the size of the block contents, regardless of internal representation.
	 * The same logical data values should always have the same size, no matter
	 * what block type is used or how they are represented within a specific block.
	 * <p>
	 * This can differ substantially from {@link #getSizeInBytes} for certain block
	 * types. For RLE, it will be {@code N} times larger. For dictionary, it will be
	 * larger based on how many times dictionary entries are reused.
	 */
	GetLogicalSizeInBytes() int64

	/**
	 * Returns the size of {@code block.getRegion(position, length)}.
	 * The method can be expensive. Do not use it outside an implementation of Block.
	 */
	GetRegionSizeInBytes(position int32, length int32) int64

	/**
	 * Returns the size of all positions marked true in the positions array.
	 * This is equivalent to multiple calls of {@code block.getRegionSizeInBytes(position, length)}
	 * where you mark all positions for the regions first.
	 */
	GetPositionsSizeInBytes(positions []bool) int64

	/**
	 * Returns the size of all positions marked true in the positions array.
	 * The 'selectedPositionsCount' variable may be used to skip iterating through
	 * the positions array in case this is a fixed-width block
	 */
	GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

	/**
	 * Returns the retained size of this block in memory, including over-allocations.
	 * This method is called from the inner most execution loop and must be fast.
	 */
	GetRetainedSizeInBytes() int64

	/**
	 * Returns the estimated in memory data size for stats of position.
	 * Do not use it for other purpose.
	 */
	GetEstimatedDataSizeForStats(position int32) int64

	/**
	 * Create a new block from the current block by keeping the same elements only with respect
	 * to {@code positions} that starts at {@code offset} and has length of {@code length}. The
	 * implementation may return a view over the data in this block or may return a copy, and the
	 * implementation is allowed to retain the positions array for use in the view.
	 */
	GetPositions(positions []int32, offset int32, length int32) Block

	/**
	 * Returns a block containing the specified positions.
	 * Positions to copy are stored in a subarray within {@code positions} array
	 * that starts at {@code offset} and has length of {@code length}.
	 * All specified positions must be valid for this block.
	 * <p>
	 * The returned block must be a compact representation of the original block.
	 */
	CopyPositions(positions []int32, offset int32, length int32) Block

	/**
	 * Returns a block starting at the specified position and extends for the
	 * specified length.  The specified region must be entirely contained
	 * within this block.
	 * <p>
	 * The region can be a view over this block.  If this block is released
	 * the region block may also be released.  If the region block is released
	 * this block may also be released.
	 */
	GetRegion(positionOffset int32, length int32) Block

	/**
	 * Returns a block starting at the specified position and extends for the
	 * specified length.  The specified region must be entirely contained
	 * within this block.
	 * <p>
	 * The region returned must be a compact representation of the original block, unless their internal
	 * representation will be exactly the same. This method is useful for
	 * operators that hold on to a range of values without holding on to the
	 * entire block.
	 */
	CopyRegion(position int32, length int32) Block

	/**
	 * Is it possible the block may have a null value?  If false, the block cannot contain
	 * a null, but if true, the block may or may not have a null.
	 */
	MayHaveNull() bool

	/**
	 * Is the specified position null?
	 *
	 * @throws IllegalArgumentException if this position is not valid. The method may return false
	 * without throwing exception when there are no nulls in the block, even if the position is invalid
	 */
	IsNull(position int32) bool

	/**
	 * Returns true if block data is fully loaded into memory.
	 */
	IsLoaded() bool

	/**
	 * Returns a fully loaded block that assures all data is in memory.
	 * Neither the returned block nor any nested block will be a {@link LazyBlock}.
	 * The same block will be returned if neither the current block nor any
	 * nested blocks are {@link LazyBlock},
	 * <p>
	 * This allows streaming data sources to skip sections that are not
	 * accessed in a query.
	 */
	GetLoadedBlock() Block

	/**
	 * Gets the direct child blocks of this block.
	 */
	GetChildren() *util.ArrayList[Block]
}

func CreateBlockForSingleNonNullValue

func CreateBlockForSingleNonNullValue(value bool) Block

func CreateRunLengthEncodedBlock

func CreateRunLengthEncodedBlock(kind Type, value basic.Object, positionCount int32) Block

func FromElementBlock

func FromElementBlock(positionCount int32, valueIsNullOptional *optional.Optional[[]bool], arrayOffset []int32, values Block) Block

func FromFieldBlocks

func FromFieldBlocks(positionCount int32, rowIsNullOptional *optional.Optional[[]bool], fieldBlocks []Block) Block

func NativeValueToBlock

func NativeValueToBlock(kind Type, object basic.Object) Block

func WrapByteArrayAsBooleanBlockWithoutNulls

func WrapByteArrayAsBooleanBlockWithoutNulls(booleansAsBytes []byte) Block

type BlockBuilder

type BlockBuilder interface {
	// 继承 Block
	Block

	/**
	 * Write a byte to the current entry;
	 */
	WriteByte(value byte) BlockBuilder

	/**
	 * Write a short to the current entry;
	 */
	WriteShort(value int16) BlockBuilder

	/**
	 * Write a int to the current entry;
	 */
	WriteInt(value int32) BlockBuilder

	/**
	 * Write a long to the current entry;
	 */
	WriteLong(value int64) BlockBuilder

	/**
	 * Write a byte sequences to the current entry;
	 */
	WriteBytes(source *slice.Slice, sourceIndex int32, length int32) BlockBuilder

	/**
	 * Return a writer to the current entry. The caller can operate on the returned caller to incrementally build the object. This is generally more efficient than
	 * building the object elsewhere and call writeObject afterwards because a large chunk of memory could potentially be unnecessarily copied in this process.
	 */
	BeginBlockEntry() BlockBuilder

	/**
	 * Create a new block from the current materialized block by keeping the same elements
	 * only with respect to {@code visiblePositions}.
	 */
	GetPositions(visiblePositions []int32, offset int32, length int32) Block

	/**
	 * Write a byte to the current entry;
	 */
	CloseEntry() BlockBuilder

	/**
	 * Appends a null value to the block.
	 */
	AppendNull() BlockBuilder

	/**
	 * Builds the block. This method can be called multiple times.
	 */
	Build() Block

	/**
	 * Creates a new block builder of the same type based on the current usage statistics of this block builder.
	 */
	NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder
}

func CreateBlockBuilder2

func CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

type BlockBuilderStatus

type BlockBuilderStatus struct {
	// contains filtered or unexported fields
}

func NewBlockBuilderStatus

func NewBlockBuilderStatus(pageBuilderStatus *PageBuilderStatus) *BlockBuilderStatus

func (*BlockBuilderStatus) AddBytes

func (bs *BlockBuilderStatus) AddBytes(bytes int32)

func (*BlockBuilderStatus) GetMaxPageSizeInBytes

func (bs *BlockBuilderStatus) GetMaxPageSizeInBytes() int32

func (*BlockBuilderStatus) ToString

func (bs *BlockBuilderStatus) ToString() string

@Override

type BooleanType

type BooleanType struct {
	// 继承 FixedWidthType
	FixedWidthType

	// 继承
	AbstractType
}
var BOOLEAN *BooleanType = NewBooleanType()

func NewBooleanType

func NewBooleanType() *BooleanType

func (*BooleanType) AppendTo

func (be *BooleanType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*BooleanType) CreateBlockBuilder

func (be *BooleanType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*BooleanType) CreateBlockBuilder2

func (be *BooleanType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*BooleanType) CreateFixedSizeBlockBuilder

func (be *BooleanType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*BooleanType) Equals

func (te *BooleanType) Equals(kind Type) bool

@Override

func (*BooleanType) GetBaseName

func (be *BooleanType) GetBaseName() string

func (*BooleanType) GetBoolean

func (be *BooleanType) GetBoolean(block Block, position int32) bool

@Override

func (*BooleanType) GetDisplayName

func (te *BooleanType) GetDisplayName() string

@Override

func (*BooleanType) GetDouble

func (te *BooleanType) GetDouble(block Block, position int32) float64

@Override

func (*BooleanType) GetFixedSize

func (be *BooleanType) GetFixedSize() int32

@Override

func (*BooleanType) GetGoKind

func (te *BooleanType) GetGoKind() reflect.Kind

@Override

func (*BooleanType) GetLong

func (te *BooleanType) GetLong(block Block, position int32) int64

@Override

func (*BooleanType) GetObject

func (te *BooleanType) GetObject(block Block, position int32) basic.Object

@Override

func (*BooleanType) GetSlice

func (te *BooleanType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*BooleanType) GetTypeId

func (te *BooleanType) GetTypeId() *TypeId

@Override

func (*BooleanType) GetTypeParameters

func (te *BooleanType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*BooleanType) GetTypeSignature

func (te *BooleanType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*BooleanType) IsComparable

func (be *BooleanType) IsComparable() bool

@Override

func (*BooleanType) IsOrderable

func (be *BooleanType) IsOrderable() bool

@Override

func (*BooleanType) WriteBoolean

func (be *BooleanType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*BooleanType) WriteDouble

func (te *BooleanType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*BooleanType) WriteLong

func (te *BooleanType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*BooleanType) WriteObject

func (te *BooleanType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*BooleanType) WriteSlice

func (te *BooleanType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*BooleanType) WriteSlice2

func (te *BooleanType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type ByteArrayBlock

type ByteArrayBlock struct {
	Block
	// contains filtered or unexported fields
}

func NewByteArrayBlock

func NewByteArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], values []byte) *ByteArrayBlock

func NewByteArrayBlock2

func NewByteArrayBlock2(arrayOffset int32, positionCount int32, valueIsNull []bool, values []byte) *ByteArrayBlock

func (*ByteArrayBlock) CopyPositions

func (bk *ByteArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ByteArrayBlock) CopyRegion

func (bk *ByteArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*ByteArrayBlock) GetByte

func (bk *ByteArrayBlock) GetByte(position int32, offset int32) byte

@Override

func (*ByteArrayBlock) GetChildren

func (ak *ByteArrayBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*ByteArrayBlock) GetEstimatedDataSizeForStats

func (bk *ByteArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ByteArrayBlock) GetLoadedBlock

func (ak *ByteArrayBlock) GetLoadedBlock() Block

func (*ByteArrayBlock) GetObject

func (ak *ByteArrayBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*ByteArrayBlock) GetPositionCount

func (bk *ByteArrayBlock) GetPositionCount() int32

@Override

func (*ByteArrayBlock) GetPositionsSizeInBytes

func (bk *ByteArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ByteArrayBlock) GetPositionsSizeInBytes2

func (bk *ByteArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*ByteArrayBlock) GetRegion

func (bk *ByteArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*ByteArrayBlock) GetRegionSizeInBytes

func (bk *ByteArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ByteArrayBlock) GetRetainedSizeInBytes

func (bk *ByteArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*ByteArrayBlock) GetSingleValueBlock

func (bk *ByteArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*ByteArrayBlock) GetSizeInBytes

func (bk *ByteArrayBlock) GetSizeInBytes() int64

@Override

func (*ByteArrayBlock) IsLoaded

func (ik *ByteArrayBlock) IsLoaded() bool

func (*ByteArrayBlock) IsNull

func (bk *ByteArrayBlock) IsNull(position int32) bool

@Override

func (*ByteArrayBlock) MayHaveNull

func (bk *ByteArrayBlock) MayHaveNull() bool

@Override

type ByteArrayBlockBuilder

type ByteArrayBlockBuilder struct {
	// 继承 BlockBuilder
	BlockBuilder
	// contains filtered or unexported fields
}

func NewByteArrayBlockBuilder

func NewByteArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *ByteArrayBlockBuilder

func (*ByteArrayBlockBuilder) AppendNull

func (br *ByteArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*ByteArrayBlockBuilder) Build

func (br *ByteArrayBlockBuilder) Build() Block

@Override

func (*ByteArrayBlockBuilder) CloseEntry

func (br *ByteArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*ByteArrayBlockBuilder) CopyPositions

func (br *ByteArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ByteArrayBlockBuilder) CopyRegion

func (br *ByteArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*ByteArrayBlockBuilder) GetByte

func (br *ByteArrayBlockBuilder) GetByte(position int32, offset int32) byte

@Override

func (*ByteArrayBlockBuilder) GetChildren

func (ik *ByteArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*ByteArrayBlockBuilder) GetEstimatedDataSizeForStats

func (br *ByteArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ByteArrayBlockBuilder) GetLoadedBlock

func (ak *ByteArrayBlockBuilder) GetLoadedBlock() Block

func (*ByteArrayBlockBuilder) GetPositionCount

func (br *ByteArrayBlockBuilder) GetPositionCount() int32

@Override

func (*ByteArrayBlockBuilder) GetPositionsSizeInBytes

func (br *ByteArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ByteArrayBlockBuilder) GetRegion

func (br *ByteArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*ByteArrayBlockBuilder) GetRegionSizeInBytes

func (br *ByteArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ByteArrayBlockBuilder) GetRetainedSizeInBytes

func (br *ByteArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*ByteArrayBlockBuilder) GetSingleValueBlock

func (br *ByteArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*ByteArrayBlockBuilder) GetSizeInBytes

func (br *ByteArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*ByteArrayBlockBuilder) IsLoaded

func (ik *ByteArrayBlockBuilder) IsLoaded() bool

func (*ByteArrayBlockBuilder) IsNull

func (br *ByteArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*ByteArrayBlockBuilder) MayHaveNull

func (br *ByteArrayBlockBuilder) MayHaveNull() bool

@Override

func (*ByteArrayBlockBuilder) NewBlockBuilderLike

func (br *ByteArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*ByteArrayBlockBuilder) WriteByte

func (br *ByteArrayBlockBuilder) WriteByte(value byte) BlockBuilder

@Override

type CharType

type CharType struct {
	// 继承
	AbstractVariableWidthType
	// contains filtered or unexported fields
}

func CreateCharType

func CreateCharType(length int64) *CharType

func NewCharType

func NewCharType(length int64) *CharType

func (*CharType) AppendTo

func (ce *CharType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*CharType) CreateBlockBuilder

func (te *CharType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*CharType) CreateBlockBuilder2

func (ce *CharType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*CharType) Equals

func (te *CharType) Equals(kind Type) bool

@Override

func (*CharType) GetBaseName

func (te *CharType) GetBaseName() string

@Override

func (*CharType) GetBoolean

func (te *CharType) GetBoolean(block Block, position int32) bool

@Override

func (*CharType) GetDisplayName

func (te *CharType) GetDisplayName() string

@Override

func (*CharType) GetDouble

func (te *CharType) GetDouble(block Block, position int32) float64

@Override

func (*CharType) GetGoKind

func (te *CharType) GetGoKind() reflect.Kind

@Override

func (*CharType) GetLength

func (ce *CharType) GetLength() int32

func (*CharType) GetLong

func (te *CharType) GetLong(block Block, position int32) int64

@Override

func (*CharType) GetObject

func (te *CharType) GetObject(block Block, position int32) basic.Object

@Override

func (*CharType) GetSlice

func (ce *CharType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*CharType) GetTypeId

func (te *CharType) GetTypeId() *TypeId

@Override

func (*CharType) GetTypeParameters

func (te *CharType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*CharType) GetTypeSignature

func (te *CharType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*CharType) IsComparable

func (ce *CharType) IsComparable() bool

@Override

func (*CharType) IsOrderable

func (ce *CharType) IsOrderable() bool

@Override

func (*CharType) WriteBoolean

func (te *CharType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*CharType) WriteDouble

func (te *CharType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*CharType) WriteLong

func (te *CharType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*CharType) WriteObject

func (te *CharType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*CharType) WriteSlice

func (ce *CharType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*CharType) WriteSlice2

func (ce *CharType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

func (*CharType) WriteString

func (ce *CharType) WriteString(blockBuilder BlockBuilder, value string)

type ColumnarArray

type ColumnarArray struct {
	// contains filtered or unexported fields
}

func NewColumnarArray

func NewColumnarArray(nullCheckBlock Block, offsetsOffset int32, offsets []int32, elementsBlock Block) *ColumnarArray

func ToColumnarArray

func ToColumnarArray(block Block) *ColumnarArray

func (*ColumnarArray) GetElementsBlock

func (cy *ColumnarArray) GetElementsBlock() Block

func (*ColumnarArray) GetLength

func (cy *ColumnarArray) GetLength(position int32) int32

func (*ColumnarArray) GetOffset

func (cy *ColumnarArray) GetOffset(position int32) int32

func (*ColumnarArray) GetPositionCount

func (cy *ColumnarArray) GetPositionCount() int32

func (*ColumnarArray) IsNull

func (cy *ColumnarArray) IsNull(position int32) bool

type ColumnarMap

type ColumnarMap struct {
	// contains filtered or unexported fields
}

func NewColumnarMap

func NewColumnarMap(nullCheckBlock Block, offsetsOffset int32, offsets []int32, keysBlock Block, valuesBlock Block) *ColumnarMap

func ToColumnarMap

func ToColumnarMap(block Block) *ColumnarMap

func (*ColumnarMap) GetEntryCount

func (cp *ColumnarMap) GetEntryCount(position int32) int32

func (*ColumnarMap) GetKeysBlock

func (cp *ColumnarMap) GetKeysBlock() Block

func (*ColumnarMap) GetOffset

func (cp *ColumnarMap) GetOffset(position int32) int32

func (*ColumnarMap) GetPositionCount

func (cp *ColumnarMap) GetPositionCount() int32

func (*ColumnarMap) GetValuesBlock

func (cp *ColumnarMap) GetValuesBlock() Block

func (*ColumnarMap) IsNull

func (cp *ColumnarMap) IsNull(position int32) bool

type ColumnarRow

type ColumnarRow struct {
	// contains filtered or unexported fields
}

func NewColumnarRow

func NewColumnarRow(positionCount int32, nullCheckBlock Block, fields []Block) *ColumnarRow

func ToColumnarRow

func ToColumnarRow(block Block) *ColumnarRow

func (*ColumnarRow) GetField

func (cw *ColumnarRow) GetField(index int32) Block

func (*ColumnarRow) GetFieldCount

func (cw *ColumnarRow) GetFieldCount() int32

func (*ColumnarRow) GetPositionCount

func (cw *ColumnarRow) GetPositionCount() int32

func (*ColumnarRow) IsNull

func (cw *ColumnarRow) IsNull(position int32) bool

func (*ColumnarRow) MayHaveNull

func (cw *ColumnarRow) MayHaveNull() bool

type DateType

type DateType struct {
	// 继承
	AbstractIntType
}
var DATE *DateType = NewDateType()

func NewDateType

func NewDateType() *DateType

func (*DateType) AppendTo

func (ae *DateType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*DateType) CreateBlockBuilder

func (ae *DateType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*DateType) CreateBlockBuilder2

func (ae *DateType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*DateType) CreateFixedSizeBlockBuilder

func (ae *DateType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*DateType) Equals

func (de *DateType) Equals(other Type) bool

@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")

func (*DateType) GetBaseName

func (te *DateType) GetBaseName() string

@Override

func (*DateType) GetBoolean

func (te *DateType) GetBoolean(block Block, position int32) bool

@Override

func (*DateType) GetDisplayName

func (te *DateType) GetDisplayName() string

@Override

func (*DateType) GetDouble

func (te *DateType) GetDouble(block Block, position int32) float64

@Override

func (*DateType) GetFixedSize

func (ae *DateType) GetFixedSize() int32

@Override

func (*DateType) GetGoKind

func (te *DateType) GetGoKind() reflect.Kind

@Override

func (*DateType) GetLong

func (ae *DateType) GetLong(block Block, position int32) int64

@Override

func (*DateType) GetObject

func (te *DateType) GetObject(block Block, position int32) basic.Object

@Override

func (*DateType) GetSlice

func (ae *DateType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*DateType) GetTypeId

func (te *DateType) GetTypeId() *TypeId

@Override

func (*DateType) GetTypeParameters

func (te *DateType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*DateType) GetTypeSignature

func (te *DateType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*DateType) IsComparable

func (ae *DateType) IsComparable() bool

@Override

func (*DateType) IsOrderable

func (ae *DateType) IsOrderable() bool

@Override

func (*DateType) WriteBoolean

func (te *DateType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*DateType) WriteDouble

func (te *DateType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*DateType) WriteLong

func (ae *DateType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*DateType) WriteObject

func (te *DateType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*DateType) WriteSlice

func (te *DateType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*DateType) WriteSlice2

func (te *DateType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type DecimalType

type DecimalType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
	// contains filtered or unexported fields
}

func NewDecimalType

func NewDecimalType(precision int32, scale int32, goKind reflect.Kind) *DecimalType

func (*DecimalType) CreateBlockBuilder

func (de *DecimalType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*DecimalType) CreateBlockBuilder2

func (de *DecimalType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*DecimalType) GetBaseName

func (de *DecimalType) GetBaseName() string

@Override

func (*DecimalType) GetBoolean

func (de *DecimalType) GetBoolean(block Block, position int32) bool

@Override

func (*DecimalType) GetDisplayName

func (de *DecimalType) GetDisplayName() string

@Override

func (*DecimalType) GetDouble

func (de *DecimalType) GetDouble(block Block, position int32) float64

@Override

func (*DecimalType) GetGoKind

func (de *DecimalType) GetGoKind() reflect.Kind

@Override

func (*DecimalType) GetLong

func (de *DecimalType) GetLong(block Block, position int32) int64

@Override

func (*DecimalType) GetObject

func (de *DecimalType) GetObject(block Block, position int32) basic.Object

@Override

func (*DecimalType) GetPrecision

func (de *DecimalType) GetPrecision() int32

func (*DecimalType) GetScale

func (de *DecimalType) GetScale() int32

func (*DecimalType) GetSlice

func (de *DecimalType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*DecimalType) GetTypeId

func (de *DecimalType) GetTypeId() *TypeId

@Override

func (*DecimalType) GetTypeParameters

func (de *DecimalType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*DecimalType) GetTypeSignature

func (de *DecimalType) GetTypeSignature() *TypeSignature

@Override

func (*DecimalType) IsComparable

func (de *DecimalType) IsComparable() bool

@Override

func (*DecimalType) IsOrderable

func (de *DecimalType) IsOrderable() bool

@Override

func (*DecimalType) IsShort

func (de *DecimalType) IsShort() bool

func (*DecimalType) WriteBoolean

func (de *DecimalType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*DecimalType) WriteDouble

func (de *DecimalType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*DecimalType) WriteLong

func (de *DecimalType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*DecimalType) WriteObject

func (de *DecimalType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*DecimalType) WriteSlice

func (de *DecimalType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*DecimalType) WriteSlice2

func (de *DecimalType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type DictionaryBlock

type DictionaryBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewDictionaryBlock

func NewDictionaryBlock(dictionary Block, ids []int32) *DictionaryBlock

func NewDictionaryBlock2

func NewDictionaryBlock2(positionCount int32, dictionary Block, ids []int32) *DictionaryBlock

func NewDictionaryBlock3

func NewDictionaryBlock3(positionCount int32, dictionary Block, ids []int32, dictionaryId *DictionaryId) *DictionaryBlock

func NewDictionaryBlock4

func NewDictionaryBlock4(positionCount int32, dictionary Block, ids []int32, dictionaryIsCompacted bool) *DictionaryBlock

func NewDictionaryBlock5

func NewDictionaryBlock5(positionCount int32, dictionary Block, ids []int32, dictionaryIsCompacted bool, dictionarySourceId *DictionaryId) *DictionaryBlock

func NewDictionaryBlock6

func NewDictionaryBlock6(idsOffset int32, positionCount int32, dictionary Block, ids []int32, dictionaryIsCompacted bool, dictionarySourceId *DictionaryId) *DictionaryBlock

func NewDictionaryBlock7

func NewDictionaryBlock7(idsOffset int32, positionCount int32, dictionary Block, ids []int32, dictionaryIsCompacted bool, isSequentialIds bool, dictionarySourceId *DictionaryId) *DictionaryBlock

func (*DictionaryBlock) BytesCompare

func (dk *DictionaryBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*DictionaryBlock) BytesEqual

func (dk *DictionaryBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*DictionaryBlock) Compact

func (dk *DictionaryBlock) Compact() *DictionaryBlock

func (*DictionaryBlock) CompareTo

func (dk *DictionaryBlock) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*DictionaryBlock) CopyPositions

func (dk *DictionaryBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*DictionaryBlock) CopyRegion

func (dk *DictionaryBlock) CopyRegion(position int32, length int32) Block

@Override

func (*DictionaryBlock) Equals

func (dk *DictionaryBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*DictionaryBlock) GetByte

func (dk *DictionaryBlock) GetByte(position int32, offset int32) byte

@Override

func (*DictionaryBlock) GetChildren

func (dk *DictionaryBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*DictionaryBlock) GetDictionary

func (dk *DictionaryBlock) GetDictionary() Block

func (*DictionaryBlock) GetDictionarySourceId

func (dk *DictionaryBlock) GetDictionarySourceId() *DictionaryId

func (*DictionaryBlock) GetEstimatedDataSizeForStats

func (dk *DictionaryBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*DictionaryBlock) GetId

func (dk *DictionaryBlock) GetId(position int32) int32

func (*DictionaryBlock) GetInt

func (dk *DictionaryBlock) GetInt(position int32, offset int32) int32

@Override

func (*DictionaryBlock) GetLoadedBlock

func (dk *DictionaryBlock) GetLoadedBlock() Block

@Override

func (*DictionaryBlock) GetLogicalSizeInBytes

func (dk *DictionaryBlock) GetLogicalSizeInBytes() int64

@Override

func (*DictionaryBlock) GetLong

func (dk *DictionaryBlock) GetLong(position int32, offset int32) int64

@Override

func (*DictionaryBlock) GetObject

func (dk *DictionaryBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*DictionaryBlock) GetPositionCount

func (dk *DictionaryBlock) GetPositionCount() int32

@Override

func (*DictionaryBlock) GetPositions

func (dk *DictionaryBlock) GetPositions(positions []int32, offset int32, length int32) Block

@Override

func (*DictionaryBlock) GetPositionsSizeInBytes

func (dk *DictionaryBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*DictionaryBlock) GetRegion

func (dk *DictionaryBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*DictionaryBlock) GetRegionSizeInBytes

func (dk *DictionaryBlock) GetRegionSizeInBytes(positionOffset int32, length int32) int64

@Override

func (*DictionaryBlock) GetRetainedSizeInBytes

func (dk *DictionaryBlock) GetRetainedSizeInBytes() int64

@Override

func (*DictionaryBlock) GetShort

func (dk *DictionaryBlock) GetShort(position int32, offset int32) int16

@Override

func (*DictionaryBlock) GetSingleValueBlock

func (dk *DictionaryBlock) GetSingleValueBlock(position int32) Block

@Override

func (*DictionaryBlock) GetSizeInBytes

func (dk *DictionaryBlock) GetSizeInBytes() int64

@Override

func (*DictionaryBlock) GetSlice

func (dk *DictionaryBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*DictionaryBlock) GetSliceLength

func (dk *DictionaryBlock) GetSliceLength(position int32) int32

@Override

func (*DictionaryBlock) Hash

func (dk *DictionaryBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*DictionaryBlock) IsCompact

func (dk *DictionaryBlock) IsCompact() bool

func (*DictionaryBlock) IsLoaded

func (dk *DictionaryBlock) IsLoaded() bool

@Override

func (*DictionaryBlock) IsNull

func (dk *DictionaryBlock) IsNull(position int32) bool

@Override

func (*DictionaryBlock) IsSequentialIds

func (dk *DictionaryBlock) IsSequentialIds() bool

func (*DictionaryBlock) MayHaveNull

func (dk *DictionaryBlock) MayHaveNull() bool

@Override

func (*DictionaryBlock) WriteBytesTo

func (dk *DictionaryBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type DictionaryId

type DictionaryId struct {
	// contains filtered or unexported fields
}

func NewDictionaryId

func NewDictionaryId(uuid uuid.UUID, sequenceId int64) *DictionaryId

func RandomDictionaryId

func RandomDictionaryId() *DictionaryId

func (*DictionaryId) GetSequenceId

func (dd *DictionaryId) GetSequenceId() int64

func (*DictionaryId) GetUUID

func (dd *DictionaryId) GetUUID() uuid.UUID

type DoubleType

type DoubleType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
}
var DOUBLE *DoubleType = NewDoubleType()

func NewDoubleType

func NewDoubleType() *DoubleType

func (*DoubleType) AppendTo

func (de *DoubleType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*DoubleType) CreateBlockBuilder

func (de *DoubleType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*DoubleType) CreateBlockBuilder2

func (de *DoubleType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*DoubleType) CreateFixedSizeBlockBuilder

func (de *DoubleType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*DoubleType) Equals

func (de *DoubleType) Equals(other Type) bool

@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")

func (*DoubleType) GetBaseName

func (te *DoubleType) GetBaseName() string

@Override

func (*DoubleType) GetBoolean

func (te *DoubleType) GetBoolean(block Block, position int32) bool

@Override

func (*DoubleType) GetDisplayName

func (te *DoubleType) GetDisplayName() string

@Override

func (*DoubleType) GetDouble

func (de *DoubleType) GetDouble(block Block, position int32) float64

@Override

func (*DoubleType) GetFixedSize

func (de *DoubleType) GetFixedSize() int32

@Override

func (*DoubleType) GetGoKind

func (te *DoubleType) GetGoKind() reflect.Kind

@Override

func (*DoubleType) GetLong

func (te *DoubleType) GetLong(block Block, position int32) int64

func (*DoubleType) GetObject

func (te *DoubleType) GetObject(block Block, position int32) basic.Object

@Override

func (*DoubleType) GetSlice

func (te *DoubleType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*DoubleType) GetTypeId

func (te *DoubleType) GetTypeId() *TypeId

@Override

func (*DoubleType) GetTypeParameters

func (te *DoubleType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*DoubleType) GetTypeSignature

func (te *DoubleType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*DoubleType) IsComparable

func (de *DoubleType) IsComparable() bool

@Override

func (*DoubleType) IsOrderable

func (de *DoubleType) IsOrderable() bool

@Override

func (*DoubleType) WriteBoolean

func (te *DoubleType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*DoubleType) WriteDouble

func (de *DoubleType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*DoubleType) WriteLong

func (te *DoubleType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*DoubleType) WriteObject

func (te *DoubleType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*DoubleType) WriteSlice

func (te *DoubleType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*DoubleType) WriteSlice2

func (te *DoubleType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type Field

type Field struct {
	// contains filtered or unexported fields
}

func CreateField

func CreateField(name string, kind Type) *Field

func CreateField2

func CreateField2(kind Type) *Field

func NewField

func NewField(name *optional.Optional[string], kind Type) *Field

func (*Field) GetName

func (fd *Field) GetName() *optional.Optional[string]

func (*Field) GetType

func (fd *Field) GetType() Type

type FixedWidthType

type FixedWidthType interface {
	// 继承Type
	Type

	/**
	 * Gets the size of a value of this type in bytes. All values
	 * of a FixedWidthType are the same size.
	 */
	GetFixedSize() int32

	/**
	 * Creates a block builder for this type sized to hold the specified number
	 * of positions.
	 */
	CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder
}

type HyperLogLogType

type HyperLogLogType struct {
	// 继承
	AbstractVariableWidthType
}
var HyperLogLogTypeHYPER_LOG_LOG *HyperLogLogType = NewHyperLogLogType()

func NewHyperLogLogType

func NewHyperLogLogType() *HyperLogLogType

func (*HyperLogLogType) AppendTo

func (he *HyperLogLogType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*HyperLogLogType) GetSlice

func (he *HyperLogLogType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*HyperLogLogType) WriteSlice

func (he *HyperLogLogType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*HyperLogLogType) WriteSlice2

func (he *HyperLogLogType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type IArrayBlock

type IArrayBlock interface {
	Block // 继承block

	GetOffsets() []int32
	GetOffsetBase() int32
	// contains filtered or unexported methods
}

type IDecimalType

type IDecimalType interface {
	// 继承
	Type

	// 继承
	FixedWidthType

	IsShort() bool

	GetScale() int32
}

func CreateDecimalType

func CreateDecimalType(precision int32, scale int32) IDecimalType

func CreateDecimalType2

func CreateDecimalType2(precision int32) IDecimalType

func CreateDecimalType3

func CreateDecimalType3() IDecimalType

type IParametricType

type IParametricType interface {
	// contains filtered or unexported methods
}

type ITimeWithTimeZoneType

type ITimeWithTimeZoneType interface {
	//继承Type
	Type
	// 继承
	FixedWidthType

	GetPrecision() int32

	IsShort() bool
}

func CreateTimeWithTimeZoneType

func CreateTimeWithTimeZoneType(precision int32) ITimeWithTimeZoneType

type ITimestampType

type ITimestampType interface {
	// 继承
	Type
	// 继承
	FixedWidthType

	GetPrecision() int32
}

func CreateTimestampType

func CreateTimestampType(precision int32) ITimestampType

type ITimestampWithTimeZoneType

type ITimestampWithTimeZoneType interface {
	// 继承
	Type
	// 继承
	FixedWidthType

	GetPrecision() int32
}

func CreateTimestampWithTimeZoneType

func CreateTimestampWithTimeZoneType(precision int32) ITimestampWithTimeZoneType

type Int128

type Int128 struct {
	// contains filtered or unexported fields
}

func DifferenceI128

func DifferenceI128(a, b Int128) Int128

DifferenceI128 subtracts the smaller of a and b from the larger.

func I128From16

func I128From16(v int16) Int128

func I128From32

func I128From32(v int32) Int128

func I128From64

func I128From64(v int64) (out Int128)

func I128From8

func I128From8(v int8) Int128

func I128FromBigInt

func I128FromBigInt(v *big.Int) (out Int128, accurate bool)

func I128FromFloat32

func I128FromFloat32(f float32) (out Int128, inRange bool)

func I128FromFloat64

func I128FromFloat64(f float64) (out Int128, inRange bool)

I128FromFloat64 creates a Int128 from a float64.

Any fractional portion will be truncated towards zero.

Floats outside the bounds of a Int128 may be discarded or clamped and inRange will be set to false.

NaN is treated as 0, inRange is set to false. This may change to a panic at some point.

func I128FromInt

func I128FromInt(v int) Int128

func I128FromRaw

func I128FromRaw(hi, lo uint64) Int128

I128FromRaw is the complement to Int128.Raw(); it creates an Int128 from two uint64s representing the hi and lo bits.

func I128FromString

func I128FromString(s string) (out Int128, accurate bool, err error)

I128FromString creates a Int128 from a string. Overflow truncates to MaxI128/MinI128 and sets accurate to 'false'. Only decimal strings are currently supported.

func I128FromU64

func I128FromU64(v uint64) Int128

func MustI128FromBigInt

func MustI128FromBigInt(b *big.Int) Int128

func MustI128FromFloat32

func MustI128FromFloat32(f float32) Int128

func MustI128FromFloat64

func MustI128FromFloat64(f float64) Int128

func MustI128FromString

func MustI128FromString(s string) Int128

func RandI128

func RandI128(source RandSource) (out Int128)

RandI128 generates a positive signed 128-bit random integer from an external source.

func ValueOf

func ValueOf(value *decimal.Decimal) Int128

func ValueOf2

func ValueOf2(value *BigInt) Int128

func (Int128) Abs

func (i Int128) Abs() Int128

Abs returns the absolute value of i as a signed integer.

If i == MinI128, overflow occurs such that Abs(i) == MinI128. If this is not desired, use AbsU128.

func (Int128) AbsU128

func (i Int128) AbsU128() Uint128

AbsU128 returns the absolute value of i as an unsigned integer. All values of i are representable using this function, but the type is changed.

func (Int128) Add

func (i Int128) Add(n Int128) (v Int128)

func (Int128) Add64

func (i Int128) Add64(n int64) (v Int128)

func (Int128) AsBigFloat

func (i Int128) AsBigFloat() (b *big.Float)

func (Int128) AsBigInt

func (i Int128) AsBigInt() (b *big.Int)

AsBigInt allocates a new big.Int and copies this Int128 into it.

func (Int128) AsFloat64

func (i Int128) AsFloat64() float64

func (Int128) AsInt64

func (i Int128) AsInt64() int64

AsInt64 truncates the Int128 to fit in a int64. Values outside the range will over/underflow. See IsInt64() if you want to check before you convert.

func (Int128) AsU128

func (i Int128) AsU128() Uint128

AsU128 performs a direct cast of an Int128 to a Uint128. Negative numbers become values > math.MaxI128.

func (Int128) AsUint64

func (i Int128) AsUint64() uint64

AsUint64 truncates the Int128 to fit in a uint64. Values outside the range will over/underflow. Signedness is discarded, as with the following conversion:

var i int64 = -3
var u = uint32(i)
fmt.Printf("%x", u)
// fffffffd

See IsUint64() if you want to check before you convert.

func (Int128) Cmp

func (i Int128) Cmp(n Int128) int

Cmp compares i to n and returns:

< 0 if i <  n
  0 if i == n
> 0 if i >  n

The specific value returned by Cmp is undefined, but it is guaranteed to satisfy the above constraints.

func (Int128) Cmp64

func (i Int128) Cmp64(n int64) int

Cmp64 compares 'i' to 64-bit int 'n' and returns:

< 0 if i <  n
  0 if i == n
> 0 if i >  n

The specific value returned by Cmp is undefined, but it is guaranteed to satisfy the above constraints.

func (Int128) Dec

func (i Int128) Dec() (v Int128)

func (Int128) Equal

func (i Int128) Equal(n Int128) bool

func (Int128) Equal64

func (i Int128) Equal64(n int64) bool

func (Int128) Format

func (i Int128) Format(s fmt.State, c rune)

func (Int128) GreaterOrEqualTo

func (i Int128) GreaterOrEqualTo(n Int128) bool

func (Int128) GreaterOrEqualTo64

func (i Int128) GreaterOrEqualTo64(n int64) bool

func (Int128) GreaterThan

func (i Int128) GreaterThan(n Int128) bool

func (Int128) GreaterThan64

func (i Int128) GreaterThan64(n int64) bool

func (Int128) Inc

func (i Int128) Inc() (v Int128)

func (Int128) IntoBigInt

func (i Int128) IntoBigInt(b *big.Int)

IntoBigInt copies this Int128 into a big.Int, allowing you to retain and recycle memory.

func (Int128) IsInt64

func (i Int128) IsInt64() bool

IsInt64 reports whether i can be represented as a int64.

func (Int128) IsU128

func (i Int128) IsU128() bool

IsU128 reports wehether i can be represented in a Uint128.

func (Int128) IsUint64

func (i Int128) IsUint64() bool

AsUint64 truncates the Int128 to fit in a uint64. Values outside the range will over/underflow. See IsUint64() if you want to check before you convert.

func (Int128) IsZero

func (i Int128) IsZero() bool

func (Int128) LessOrEqualTo

func (i Int128) LessOrEqualTo(n Int128) bool

func (Int128) LessOrEqualTo64

func (i Int128) LessOrEqualTo64(n int64) bool

func (Int128) LessThan

func (i Int128) LessThan(n Int128) bool

func (Int128) LessThan64

func (i Int128) LessThan64(n int64) bool

func (Int128) MarshalJSON

func (i Int128) MarshalJSON() ([]byte, error)

func (Int128) MarshalText

func (i Int128) MarshalText() ([]byte, error)

func (Int128) Mul

func (i Int128) Mul(n Int128) (dest Int128)

Mul returns the product of two I128s.

Overflow should wrap around, as per the Go spec.

func (Int128) Mul64

func (i Int128) Mul64(n int64) Int128

func (Int128) MustInt64

func (i Int128) MustInt64() int64

MustInt64 converts i to a signed 64-bit integer if the conversion would succeed, and panics if it would not.

func (Int128) MustUint64

func (i Int128) MustUint64() uint64

MustUint64 converts i to an unsigned 64-bit integer if the conversion would succeed, and panics if it would not.

func (Int128) Neg

func (i Int128) Neg() (v Int128)

func (Int128) Quo

func (i Int128) Quo(by Int128) (q Int128)

Quo returns the quotient x/y for y != 0. If y == 0, a division-by-zero run-time panic occurs. Quo implements truncated division (like Go); see QuoRem for more details.

func (Int128) Quo64

func (i Int128) Quo64(by int64) (q Int128)

func (Int128) QuoRem

func (i Int128) QuoRem(by Int128) (q, r Int128)

QuoRem returns the quotient q and remainder r for y != 0. If y == 0, a division-by-zero run-time panic occurs.

QuoRem implements T-division and modulus (like Go):

q = x/y      with the result truncated to zero
r = x - y*q

Uint128 does not support big.Int.DivMod()-style Euclidean division.

Note: dividing MinI128 by -1 will overflow, returning MinI128, as per the Go spec (https://golang.org/ref/spec#Integer_operators):

The one exception to this rule is that if the dividend x is the most
negative value for the int type of x, the quotient q = x / -1 is equal to x
(and r = 0) due to two's-complement integer overflow.

func (Int128) QuoRem64

func (i Int128) QuoRem64(by int64) (q, r Int128)

func (Int128) Raw

func (i Int128) Raw() (hi uint64, lo uint64)

Raw returns access to the Int128 as a pair of uint64s. See I128FromRaw() for the counterpart.

func (Int128) Rem

func (i Int128) Rem(by Int128) (r Int128)

Rem returns the remainder of x%y for y != 0. If y == 0, a division-by-zero run-time panic occurs. Rem implements truncated modulus (like Go); see QuoRem for more details.

func (Int128) Rem64

func (i Int128) Rem64(by int64) (r Int128)

func (*Int128) Scan

func (i *Int128) Scan(state fmt.ScanState, verb rune) error

func (Int128) Sign

func (i Int128) Sign() int

func (Int128) String

func (i Int128) String() string

func (Int128) Sub

func (i Int128) Sub(n Int128) (v Int128)

func (Int128) Sub64

func (i Int128) Sub64(n int64) (v Int128)

func (*Int128) UnmarshalJSON

func (i *Int128) UnmarshalJSON(bts []byte) (err error)

func (*Int128) UnmarshalText

func (i *Int128) UnmarshalText(bts []byte) (err error)

type Int128ArrayBlock

type Int128ArrayBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewInt128ArrayBlock

func NewInt128ArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], values []int64) *Int128ArrayBlock

func NewInt128ArrayBlock2

func NewInt128ArrayBlock2(positionOffset int32, positionCount int32, valueIsNull []bool, values []int64) *Int128ArrayBlock

func (*Int128ArrayBlock) CopyPositions

func (ik *Int128ArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*Int128ArrayBlock) CopyRegion

func (ik *Int128ArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*Int128ArrayBlock) GetChildren

func (ik *Int128ArrayBlock) GetChildren() *util.ArrayList[Block]

func (*Int128ArrayBlock) GetEstimatedDataSizeForStats

func (ik *Int128ArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*Int128ArrayBlock) GetLoadedBlock

func (ik *Int128ArrayBlock) GetLoadedBlock() Block

func (*Int128ArrayBlock) GetLong

func (ik *Int128ArrayBlock) GetLong(position int32, offset int32) int64

@Override

func (*Int128ArrayBlock) GetPositionCount

func (ik *Int128ArrayBlock) GetPositionCount() int32

@Override

func (*Int128ArrayBlock) GetPositionsSizeInBytes

func (ik *Int128ArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*Int128ArrayBlock) GetPositionsSizeInBytes2

func (ik *Int128ArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*Int128ArrayBlock) GetRegion

func (ik *Int128ArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*Int128ArrayBlock) GetRegionSizeInBytes

func (ik *Int128ArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*Int128ArrayBlock) GetRetainedSizeInBytes

func (ik *Int128ArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*Int128ArrayBlock) GetSingleValueBlock

func (ik *Int128ArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*Int128ArrayBlock) GetSizeInBytes

func (ik *Int128ArrayBlock) GetSizeInBytes() int64

@Override

func (*Int128ArrayBlock) IsLoaded

func (ik *Int128ArrayBlock) IsLoaded() bool

func (*Int128ArrayBlock) IsNull

func (ik *Int128ArrayBlock) IsNull(position int32) bool

@Override

func (*Int128ArrayBlock) MayHaveNull

func (ik *Int128ArrayBlock) MayHaveNull() bool

@Override

type Int128ArrayBlockBuilder

type Int128ArrayBlockBuilder struct {
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewInt128ArrayBlockBuilder

func NewInt128ArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *Int128ArrayBlockBuilder

func (*Int128ArrayBlockBuilder) AppendNull

func (ir *Int128ArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*Int128ArrayBlockBuilder) Build

func (ir *Int128ArrayBlockBuilder) Build() Block

@Override

func (*Int128ArrayBlockBuilder) CloseEntry

func (ir *Int128ArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*Int128ArrayBlockBuilder) CopyPositions

func (ir *Int128ArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*Int128ArrayBlockBuilder) CopyRegion

func (ir *Int128ArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*Int128ArrayBlockBuilder) GetChildren

func (ik *Int128ArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*Int128ArrayBlockBuilder) GetEstimatedDataSizeForStats

func (ir *Int128ArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*Int128ArrayBlockBuilder) GetLoadedBlock

func (ak *Int128ArrayBlockBuilder) GetLoadedBlock() Block

func (*Int128ArrayBlockBuilder) GetLong

func (ir *Int128ArrayBlockBuilder) GetLong(position int32, offset int32) int64

@Override

func (*Int128ArrayBlockBuilder) GetPositionCount

func (ir *Int128ArrayBlockBuilder) GetPositionCount() int32

@Override

func (*Int128ArrayBlockBuilder) GetPositionsSizeInBytes

func (ir *Int128ArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*Int128ArrayBlockBuilder) GetRegion

func (ir *Int128ArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*Int128ArrayBlockBuilder) GetRegionSizeInBytes

func (ir *Int128ArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*Int128ArrayBlockBuilder) GetRetainedSizeInBytes

func (ir *Int128ArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*Int128ArrayBlockBuilder) GetSingleValueBlock

func (ir *Int128ArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*Int128ArrayBlockBuilder) GetSizeInBytes

func (ir *Int128ArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*Int128ArrayBlockBuilder) IsLoaded

func (ik *Int128ArrayBlockBuilder) IsLoaded() bool

func (*Int128ArrayBlockBuilder) IsNull

func (ir *Int128ArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*Int128ArrayBlockBuilder) MayHaveNull

func (ir *Int128ArrayBlockBuilder) MayHaveNull() bool

@Override

func (*Int128ArrayBlockBuilder) NewBlockBuilderLike

func (ir *Int128ArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*Int128ArrayBlockBuilder) WriteLong

func (ir *Int128ArrayBlockBuilder) WriteLong(value int64) BlockBuilder

@Override

type Int2IntOpenHashMap

type Int2IntOpenHashMap struct {
	// contains filtered or unexported fields
}

func NewInt2IntOpenHashMap

func NewInt2IntOpenHashMap(expected int32) *Int2IntOpenHashMap

func NewInt2IntOpenHashMap2

func NewInt2IntOpenHashMap2(expected int32, f float32) *Int2IntOpenHashMap

func (*Int2IntOpenHashMap) ContainsKey

func (ip *Int2IntOpenHashMap) ContainsKey(k int32) bool

func (*Int2IntOpenHashMap) Get

func (ip *Int2IntOpenHashMap) Get(k int32) int32

func (*Int2IntOpenHashMap) PutIfAbsent

func (ip *Int2IntOpenHashMap) PutIfAbsent(k int32, v int32) int32

type Int96ArrayBlock

type Int96ArrayBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewInt96ArrayBlock

func NewInt96ArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], high []int64, low []int32) *Int96ArrayBlock

func NewInt96ArrayBlock2

func NewInt96ArrayBlock2(positionOffset int32, positionCount int32, valueIsNull []bool, high []int64, low []int32) *Int96ArrayBlock

func (*Int96ArrayBlock) CopyPositions

func (ik *Int96ArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*Int96ArrayBlock) CopyRegion

func (ik *Int96ArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*Int96ArrayBlock) GetChildren

func (ik *Int96ArrayBlock) GetChildren() *util.ArrayList[Block]

func (*Int96ArrayBlock) GetEstimatedDataSizeForStats

func (ik *Int96ArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*Int96ArrayBlock) GetInt

func (ik *Int96ArrayBlock) GetInt(position int32, offset int32) int32

@Override

func (*Int96ArrayBlock) GetLoadedBlock

func (ak *Int96ArrayBlock) GetLoadedBlock() Block

func (*Int96ArrayBlock) GetLong

func (ik *Int96ArrayBlock) GetLong(position int32, offset int32) int64

@Override

func (*Int96ArrayBlock) GetPositionCount

func (ik *Int96ArrayBlock) GetPositionCount() int32

@Override

func (*Int96ArrayBlock) GetPositionsSizeInBytes

func (ik *Int96ArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*Int96ArrayBlock) GetPositionsSizeInBytes2

func (ik *Int96ArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*Int96ArrayBlock) GetRegion

func (ik *Int96ArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*Int96ArrayBlock) GetRegionSizeInBytes

func (ik *Int96ArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*Int96ArrayBlock) GetRetainedSizeInBytes

func (ik *Int96ArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*Int96ArrayBlock) GetSingleValueBlock

func (ik *Int96ArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*Int96ArrayBlock) GetSizeInBytes

func (ik *Int96ArrayBlock) GetSizeInBytes() int64

@Override

func (*Int96ArrayBlock) IsLoaded

func (ik *Int96ArrayBlock) IsLoaded() bool

func (*Int96ArrayBlock) IsNull

func (ik *Int96ArrayBlock) IsNull(position int32) bool

@Override

func (*Int96ArrayBlock) MayHaveNull

func (ik *Int96ArrayBlock) MayHaveNull() bool

@Override

type Int96ArrayBlockBuilder

type Int96ArrayBlockBuilder struct {
	//	继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewInt96ArrayBlockBuilder

func NewInt96ArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *Int96ArrayBlockBuilder

func (*Int96ArrayBlockBuilder) AppendNull

func (ir *Int96ArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*Int96ArrayBlockBuilder) Build

func (ir *Int96ArrayBlockBuilder) Build() Block

@Override

func (*Int96ArrayBlockBuilder) CloseEntry

func (ir *Int96ArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*Int96ArrayBlockBuilder) CopyPositions

func (ir *Int96ArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*Int96ArrayBlockBuilder) CopyRegion

func (ir *Int96ArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*Int96ArrayBlockBuilder) GetChildren

func (ik *Int96ArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*Int96ArrayBlockBuilder) GetEstimatedDataSizeForStats

func (ir *Int96ArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*Int96ArrayBlockBuilder) GetInt

func (ir *Int96ArrayBlockBuilder) GetInt(position int32, offset int32) int32

@Override

func (*Int96ArrayBlockBuilder) GetLoadedBlock

func (ak *Int96ArrayBlockBuilder) GetLoadedBlock() Block

func (*Int96ArrayBlockBuilder) GetLong

func (ir *Int96ArrayBlockBuilder) GetLong(position int32, offset int32) int64

@Override

func (*Int96ArrayBlockBuilder) GetPositionCount

func (ir *Int96ArrayBlockBuilder) GetPositionCount() int32

@Override

func (*Int96ArrayBlockBuilder) GetPositionsSizeInBytes

func (ir *Int96ArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*Int96ArrayBlockBuilder) GetRegion

func (ir *Int96ArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*Int96ArrayBlockBuilder) GetRegionSizeInBytes

func (ir *Int96ArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*Int96ArrayBlockBuilder) GetRetainedSizeInBytes

func (ir *Int96ArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*Int96ArrayBlockBuilder) GetSingleValueBlock

func (ir *Int96ArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*Int96ArrayBlockBuilder) GetSizeInBytes

func (ir *Int96ArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*Int96ArrayBlockBuilder) IsLoaded

func (ik *Int96ArrayBlockBuilder) IsLoaded() bool

func (*Int96ArrayBlockBuilder) IsNull

func (ir *Int96ArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*Int96ArrayBlockBuilder) MayHaveNull

func (ir *Int96ArrayBlockBuilder) MayHaveNull() bool

@Override

func (*Int96ArrayBlockBuilder) NewBlockBuilderLike

func (ir *Int96ArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*Int96ArrayBlockBuilder) WriteInt

func (ir *Int96ArrayBlockBuilder) WriteInt(low int32) BlockBuilder

@Override

func (*Int96ArrayBlockBuilder) WriteLong

func (ir *Int96ArrayBlockBuilder) WriteLong(high int64) BlockBuilder

@Override

type IntArrayBlock

type IntArrayBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewIntArrayBlock

func NewIntArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], values []int32) *IntArrayBlock

func NewIntArrayBlock2

func NewIntArrayBlock2(arrayOffset int32, positionCount int32, valueIsNull []bool, values []int32) *IntArrayBlock

func (*IntArrayBlock) CopyPositions

func (ik *IntArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*IntArrayBlock) CopyRegion

func (ik *IntArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*IntArrayBlock) GetChildren

func (ik *IntArrayBlock) GetChildren() *util.ArrayList[Block]

func (*IntArrayBlock) GetEstimatedDataSizeForStats

func (ik *IntArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*IntArrayBlock) GetInt

func (ik *IntArrayBlock) GetInt(position int32, offset int32) int32

@Override

func (*IntArrayBlock) GetLoadedBlock

func (ik *IntArrayBlock) GetLoadedBlock() Block

func (*IntArrayBlock) GetPositionCount

func (ik *IntArrayBlock) GetPositionCount() int32

@Override

func (*IntArrayBlock) GetPositionsSizeInBytes

func (ik *IntArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*IntArrayBlock) GetPositionsSizeInBytes2

func (ik *IntArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*IntArrayBlock) GetRegion

func (ik *IntArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*IntArrayBlock) GetRegionSizeInBytes

func (ik *IntArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*IntArrayBlock) GetRetainedSizeInBytes

func (ik *IntArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*IntArrayBlock) GetSingleValueBlock

func (ik *IntArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*IntArrayBlock) GetSizeInBytes

func (ik *IntArrayBlock) GetSizeInBytes() int64

@Override

func (*IntArrayBlock) IsLoaded

func (ik *IntArrayBlock) IsLoaded() bool

func (*IntArrayBlock) IsNull

func (ik *IntArrayBlock) IsNull(position int32) bool

@Override

func (*IntArrayBlock) MayHaveNull

func (ik *IntArrayBlock) MayHaveNull() bool

@Override

type IntArrayBlockBuilder

type IntArrayBlockBuilder struct {
	BlockBuilder
	// contains filtered or unexported fields
}

func NewIntArrayBlockBuilder

func NewIntArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *IntArrayBlockBuilder

func (*IntArrayBlockBuilder) AppendNull

func (ir *IntArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*IntArrayBlockBuilder) Build

func (ir *IntArrayBlockBuilder) Build() Block

@Override

func (*IntArrayBlockBuilder) CloseEntry

func (ir *IntArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*IntArrayBlockBuilder) CopyPositions

func (ir *IntArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*IntArrayBlockBuilder) CopyRegion

func (ir *IntArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*IntArrayBlockBuilder) GetChildren

func (ik *IntArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*IntArrayBlockBuilder) GetEstimatedDataSizeForStats

func (ir *IntArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*IntArrayBlockBuilder) GetInt

func (ir *IntArrayBlockBuilder) GetInt(position int32, offset int32) int32

@Override

func (*IntArrayBlockBuilder) GetLoadedBlock

func (ak *IntArrayBlockBuilder) GetLoadedBlock() Block

func (*IntArrayBlockBuilder) GetPositionCount

func (ir *IntArrayBlockBuilder) GetPositionCount() int32

@Override

func (*IntArrayBlockBuilder) GetPositionsSizeInBytes

func (ir *IntArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*IntArrayBlockBuilder) GetRegion

func (ir *IntArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*IntArrayBlockBuilder) GetRegionSizeInBytes

func (ir *IntArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*IntArrayBlockBuilder) GetRetainedSizeInBytes

func (ir *IntArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*IntArrayBlockBuilder) GetSingleValueBlock

func (ir *IntArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*IntArrayBlockBuilder) GetSizeInBytes

func (ir *IntArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*IntArrayBlockBuilder) IsLoaded

func (ik *IntArrayBlockBuilder) IsLoaded() bool

func (*IntArrayBlockBuilder) IsNull

func (ir *IntArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*IntArrayBlockBuilder) MayHaveNull

func (ir *IntArrayBlockBuilder) MayHaveNull() bool

@Override

func (*IntArrayBlockBuilder) NewBlockBuilderLike

func (ir *IntArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*IntArrayBlockBuilder) UpdateDataSize

func (ir *IntArrayBlockBuilder) UpdateDataSize()

func (*IntArrayBlockBuilder) WriteInt

func (ir *IntArrayBlockBuilder) WriteInt(value int32) BlockBuilder

@Override

type IntArrayList

type IntArrayList struct {
	// contains filtered or unexported fields
}

func NewIntArrayList

func NewIntArrayList(initialCapacity int32) *IntArrayList

func NewIntArrayList2

func NewIntArrayList2() *IntArrayList

func (*IntArrayList) Add

func (it *IntArrayList) Add(element int32)

func (*IntArrayList) Elements

func (it *IntArrayList) Elements() []int32

func (*IntArrayList) IsEmpty

func (it *IntArrayList) IsEmpty() bool

func (*IntArrayList) Size

func (it *IntArrayList) Size() int32

type IntegerType

type IntegerType struct {
	// 继承
	AbstractIntType
}
var INTEGER *IntegerType = NewIntegerType()

func NewIntegerType

func NewIntegerType() *IntegerType

func (*IntegerType) CreateBlockBuilder

func (te *IntegerType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*IntegerType) Equals

func (ie *IntegerType) Equals(other Type) bool

@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")

func (*IntegerType) GetBaseName

func (te *IntegerType) GetBaseName() string

@Override

func (*IntegerType) GetBoolean

func (te *IntegerType) GetBoolean(block Block, position int32) bool

@Override

func (*IntegerType) GetDisplayName

func (te *IntegerType) GetDisplayName() string

@Override

func (*IntegerType) GetDouble

func (te *IntegerType) GetDouble(block Block, position int32) float64

@Override

func (*IntegerType) GetGoKind

func (te *IntegerType) GetGoKind() reflect.Kind

@Override

func (*IntegerType) GetLong

func (te *IntegerType) GetLong(block Block, position int32) int64

@Override

func (*IntegerType) GetObject

func (te *IntegerType) GetObject(block Block, position int32) basic.Object

@Override

func (*IntegerType) GetTypeId

func (te *IntegerType) GetTypeId() *TypeId

@Override

func (*IntegerType) GetTypeParameters

func (te *IntegerType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*IntegerType) GetTypeSignature

func (te *IntegerType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*IntegerType) WriteBoolean

func (te *IntegerType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*IntegerType) WriteDouble

func (te *IntegerType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*IntegerType) WriteLong

func (te *IntegerType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*IntegerType) WriteObject

func (te *IntegerType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*IntegerType) WriteSlice

func (te *IntegerType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*IntegerType) WriteSlice2

func (te *IntegerType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type LazyBlock

type LazyBlock struct {

	// 继承
	Block
	// contains filtered or unexported fields
}

func NewLazyBlock

func NewLazyBlock(positionCount int32, loader LazyBlockLoader) *LazyBlock

func (*LazyBlock) BytesCompare

func (lk *LazyBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*LazyBlock) BytesEqual

func (lk *LazyBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*LazyBlock) CompareTo

func (lk *LazyBlock) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*LazyBlock) CopyPositions

func (lk *LazyBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*LazyBlock) CopyRegion

func (lk *LazyBlock) CopyRegion(position int32, length int32) Block

@Override

func (*LazyBlock) Equals

func (lk *LazyBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*LazyBlock) GetBlock

func (lk *LazyBlock) GetBlock() Block

func (*LazyBlock) GetByte

func (lk *LazyBlock) GetByte(position int32, offset int32) byte

@Override

func (*LazyBlock) GetChildren

func (lk *LazyBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*LazyBlock) GetEstimatedDataSizeForStats

func (lk *LazyBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*LazyBlock) GetInt

func (lk *LazyBlock) GetInt(position int32, offset int32) int32

@Override

func (*LazyBlock) GetLoadedBlock

func (lk *LazyBlock) GetLoadedBlock() Block

@Override

func (*LazyBlock) GetLong

func (lk *LazyBlock) GetLong(position int32, offset int32) int64

@Override

func (*LazyBlock) GetObject

func (lk *LazyBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*LazyBlock) GetPositionCount

func (lk *LazyBlock) GetPositionCount() int32

@Override

func (*LazyBlock) GetPositions

func (lk *LazyBlock) GetPositions(positions []int32, offset int32, length int32) Block

@Override

func (*LazyBlock) GetPositionsSizeInBytes

func (lk *LazyBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*LazyBlock) GetRegion

func (lk *LazyBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*LazyBlock) GetRegionSizeInBytes

func (lk *LazyBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*LazyBlock) GetRetainedSizeInBytes

func (lk *LazyBlock) GetRetainedSizeInBytes() int64

@Override

func (*LazyBlock) GetShort

func (lk *LazyBlock) GetShort(position int32, offset int32) int16

@Override

func (*LazyBlock) GetSingleValueBlock

func (lk *LazyBlock) GetSingleValueBlock(position int32) Block

@Override

func (*LazyBlock) GetSizeInBytes

func (lk *LazyBlock) GetSizeInBytes() int64

@Override

func (*LazyBlock) GetSlice

func (lk *LazyBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*LazyBlock) GetSliceLength

func (lk *LazyBlock) GetSliceLength(position int32) int32

@Override

func (*LazyBlock) Hash

func (lk *LazyBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*LazyBlock) IsLoaded

func (lk *LazyBlock) IsLoaded() bool

@Override

func (*LazyBlock) IsNull

func (lk *LazyBlock) IsNull(position int32) bool

@Override

func (*LazyBlock) MayHaveNull

func (lk *LazyBlock) MayHaveNull() bool

@Override

func (*LazyBlock) WriteBytesTo

func (lk *LazyBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type LazyBlockLoader

type LazyBlockLoader interface {
	/**
	 * Loads a lazy block. If possible lazy block loader should load top level {@link Block} only
	 * (in case of when loaded blocks are nested, e.g for structural types).
	 */
	Load() Block
}

type LazyData

type LazyData struct {
	// contains filtered or unexported fields
}

func NewLazyData

func NewLazyData(positionsCount int32, loader LazyBlockLoader) *LazyData

func (*LazyData) GetFullyLoadedBlock

func (la *LazyData) GetFullyLoadedBlock() Block

func (*LazyData) GetTopLevelBlock

func (la *LazyData) GetTopLevelBlock() Block

func (*LazyData) IsFullyLoaded

func (la *LazyData) IsFullyLoaded() bool

func (*LazyData) IsTopLevelBlockLoaded

func (la *LazyData) IsTopLevelBlockLoaded() bool

type LongArrayBlock

type LongArrayBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewLongArrayBlock

func NewLongArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], values []int64) *LongArrayBlock

func NewLongArrayBlock2

func NewLongArrayBlock2(arrayOffset int32, positionCount int32, valueIsNull []bool, values []int64) *LongArrayBlock

func (*LongArrayBlock) CopyPositions

func (lk *LongArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*LongArrayBlock) CopyRegion

func (lk *LongArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*LongArrayBlock) GetByte

func (lk *LongArrayBlock) GetByte(position int32, offset int32) byte

@Override @Deprecated

func (*LongArrayBlock) GetChildren

func (ik *LongArrayBlock) GetChildren() *util.ArrayList[Block]

func (*LongArrayBlock) GetEstimatedDataSizeForStats

func (lk *LongArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*LongArrayBlock) GetInt

func (lk *LongArrayBlock) GetInt(position int32, offset int32) int32

@Override @Deprecated

func (*LongArrayBlock) GetLoadedBlock

func (ak *LongArrayBlock) GetLoadedBlock() Block

func (*LongArrayBlock) GetLong

func (lk *LongArrayBlock) GetLong(position int32, offset int32) int64

@Override

func (*LongArrayBlock) GetPositionCount

func (lk *LongArrayBlock) GetPositionCount() int32

@Override

func (*LongArrayBlock) GetPositionsSizeInBytes

func (lk *LongArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*LongArrayBlock) GetPositionsSizeInBytes2

func (lk *LongArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*LongArrayBlock) GetRegion

func (lk *LongArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*LongArrayBlock) GetRegionSizeInBytes

func (lk *LongArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*LongArrayBlock) GetRetainedSizeInBytes

func (lk *LongArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*LongArrayBlock) GetShort

func (lk *LongArrayBlock) GetShort(position int32, offset int32) int16

@Override @Deprecated

func (*LongArrayBlock) GetSingleValueBlock

func (lk *LongArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*LongArrayBlock) GetSizeInBytes

func (lk *LongArrayBlock) GetSizeInBytes() int64

@Override

func (*LongArrayBlock) IsLoaded

func (ik *LongArrayBlock) IsLoaded() bool

func (*LongArrayBlock) IsNull

func (lk *LongArrayBlock) IsNull(position int32) bool

@Override

func (*LongArrayBlock) MayHaveNull

func (lk *LongArrayBlock) MayHaveNull() bool

@Override

type LongArrayBlockBuilder

type LongArrayBlockBuilder struct {
	BlockBuilder
	// contains filtered or unexported fields
}

func NewLongArrayBlockBuilder

func NewLongArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *LongArrayBlockBuilder

func (*LongArrayBlockBuilder) AppendNull

func (lr *LongArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*LongArrayBlockBuilder) Build

func (lr *LongArrayBlockBuilder) Build() Block

@Override

func (*LongArrayBlockBuilder) CloseEntry

func (lr *LongArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*LongArrayBlockBuilder) CopyPositions

func (lr *LongArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*LongArrayBlockBuilder) CopyRegion

func (lr *LongArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*LongArrayBlockBuilder) GetByte

func (lr *LongArrayBlockBuilder) GetByte(position int32, offset int32) byte

@Override @Deprecated

func (*LongArrayBlockBuilder) GetChildren

func (ik *LongArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*LongArrayBlockBuilder) GetEstimatedDataSizeForStats

func (lr *LongArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*LongArrayBlockBuilder) GetInt

func (lr *LongArrayBlockBuilder) GetInt(position int32, offset int32) int32

@Override @Deprecated

func (*LongArrayBlockBuilder) GetLoadedBlock

func (ak *LongArrayBlockBuilder) GetLoadedBlock() Block

func (*LongArrayBlockBuilder) GetLong

func (lr *LongArrayBlockBuilder) GetLong(position int32, offset int32) int64

@Override

func (*LongArrayBlockBuilder) GetPositionCount

func (lr *LongArrayBlockBuilder) GetPositionCount() int32

@Override

func (*LongArrayBlockBuilder) GetPositionsSizeInBytes

func (lr *LongArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*LongArrayBlockBuilder) GetRegion

func (lr *LongArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*LongArrayBlockBuilder) GetRegionSizeInBytes

func (lr *LongArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*LongArrayBlockBuilder) GetRetainedSizeInBytes

func (lr *LongArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*LongArrayBlockBuilder) GetShort

func (lr *LongArrayBlockBuilder) GetShort(position int32, offset int32) int16

@Override @Deprecated

func (*LongArrayBlockBuilder) GetSingleValueBlock

func (lr *LongArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*LongArrayBlockBuilder) GetSizeInBytes

func (lr *LongArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*LongArrayBlockBuilder) IsLoaded

func (ik *LongArrayBlockBuilder) IsLoaded() bool

func (*LongArrayBlockBuilder) IsNull

func (lr *LongArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*LongArrayBlockBuilder) MayHaveNull

func (lr *LongArrayBlockBuilder) MayHaveNull() bool

@Override

func (*LongArrayBlockBuilder) NewBlockBuilderLike

func (lr *LongArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*LongArrayBlockBuilder) WriteLong

func (lr *LongArrayBlockBuilder) WriteLong(value int64) BlockBuilder

@Override

type LongDecimalType

type LongDecimalType struct {
	// 继承
	DecimalType
}

func NewLongDecimalType

func NewLongDecimalType(precision int32, scale int32) *LongDecimalType

func (*LongDecimalType) AppendTo

func (le *LongDecimalType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*LongDecimalType) CreateBlockBuilder

func (le *LongDecimalType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*LongDecimalType) CreateBlockBuilder2

func (le *LongDecimalType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*LongDecimalType) CreateFixedSizeBlockBuilder

func (le *LongDecimalType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*LongDecimalType) GetBaseName

func (le *LongDecimalType) GetBaseName() string

@Override

func (*LongDecimalType) GetBoolean

func (le *LongDecimalType) GetBoolean(block Block, position int32) bool

@Override

func (*LongDecimalType) GetDisplayName

func (le *LongDecimalType) GetDisplayName() string

@Override

func (*LongDecimalType) GetDouble

func (le *LongDecimalType) GetDouble(block Block, position int32) float64

@Override

func (*LongDecimalType) GetFixedSize

func (le *LongDecimalType) GetFixedSize() int32

@Override

func (*LongDecimalType) GetGoKind

func (le *LongDecimalType) GetGoKind() reflect.Kind

@Override

func (*LongDecimalType) GetLong

func (le *LongDecimalType) GetLong(block Block, position int32) int64

@Override

func (*LongDecimalType) GetObject

func (le *LongDecimalType) GetObject(block Block, position int32) basic.Object

@Override

func (*LongDecimalType) GetSlice

func (le *LongDecimalType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*LongDecimalType) GetTypeId

func (le *LongDecimalType) GetTypeId() *TypeId

@Override

func (*LongDecimalType) GetTypeParameters

func (le *LongDecimalType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*LongDecimalType) GetTypeSignature

func (le *LongDecimalType) GetTypeSignature() *TypeSignature

@Override

func (*LongDecimalType) WriteBoolean

func (le *LongDecimalType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*LongDecimalType) WriteDouble

func (le *LongDecimalType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*LongDecimalType) WriteLong

func (le *LongDecimalType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*LongDecimalType) WriteObject

func (le *LongDecimalType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*LongDecimalType) WriteSlice

func (le *LongDecimalType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*LongDecimalType) WriteSlice2

func (le *LongDecimalType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type LongTimeWithTimeZone

type LongTimeWithTimeZone struct {
	// contains filtered or unexported fields
}

func NewLongTimeWithTimeZone

func NewLongTimeWithTimeZone(picoseconds int64, offsetMinutes int32) *LongTimeWithTimeZone

func (*LongTimeWithTimeZone) CompareTo

func (le *LongTimeWithTimeZone) CompareTo(other *LongTimeWithTimeZone) int

@Override

func (*LongTimeWithTimeZone) GetOffsetMinutes

func (le *LongTimeWithTimeZone) GetOffsetMinutes() int32

func (*LongTimeWithTimeZone) GetPicoseconds

func (le *LongTimeWithTimeZone) GetPicoseconds() int64

type LongTimeWithTimeZoneType

type LongTimeWithTimeZoneType struct {
	TimeWithTimeZoneType
}

func NewLongTimeWithTimeZoneType

func NewLongTimeWithTimeZoneType(precision int32) *LongTimeWithTimeZoneType

func (*LongTimeWithTimeZoneType) AppendTo

func (le *LongTimeWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*LongTimeWithTimeZoneType) CreateBlockBuilder

func (le *LongTimeWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*LongTimeWithTimeZoneType) CreateBlockBuilder2

func (le *LongTimeWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*LongTimeWithTimeZoneType) CreateFixedSizeBlockBuilder

func (le *LongTimeWithTimeZoneType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*LongTimeWithTimeZoneType) Equals

func (te *LongTimeWithTimeZoneType) Equals(kind Type) bool

@Override

func (*LongTimeWithTimeZoneType) GetFixedSize

func (le *LongTimeWithTimeZoneType) GetFixedSize() int32

@Override

func (*LongTimeWithTimeZoneType) GetObject

func (le *LongTimeWithTimeZoneType) GetObject(block Block, position int32) basic.Object

@Override

func (*LongTimeWithTimeZoneType) WriteObject

func (le *LongTimeWithTimeZoneType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

type LongTimestamp

type LongTimestamp struct {
	// contains filtered or unexported fields
}

func NewLongTimestamp

func NewLongTimestamp(epochMicros int64, picosOfMicro int32) *LongTimestamp

func (*LongTimestamp) CompareTo

func (lp *LongTimestamp) CompareTo(other *LongTimestamp) int

@Override

func (*LongTimestamp) GetEpochMicros

func (lp *LongTimestamp) GetEpochMicros() int64

func (*LongTimestamp) GetPicosOfMicro

func (lp *LongTimestamp) GetPicosOfMicro() int32

type LongTimestampType

type LongTimestampType struct {
	// 继承
	TimestampType
}

func NewLongTimestampType

func NewLongTimestampType(precision int32) *LongTimestampType

func (*LongTimestampType) AppendTo

func (le *LongTimestampType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*LongTimestampType) CreateBlockBuilder

func (le *LongTimestampType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*LongTimestampType) CreateBlockBuilder2

func (le *LongTimestampType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*LongTimestampType) CreateFixedSizeBlockBuilder

func (le *LongTimestampType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*LongTimestampType) Equals

func (te *LongTimestampType) Equals(kind Type) bool

@Override

func (*LongTimestampType) GetFixedSize

func (le *LongTimestampType) GetFixedSize() int32

@Override

func (*LongTimestampType) GetObject

func (le *LongTimestampType) GetObject(block Block, position int32) basic.Object

@Override

func (*LongTimestampType) Write

func (le *LongTimestampType) Write(blockBuilder BlockBuilder, epochMicros int64, fraction int32)

func (*LongTimestampType) WriteObject

func (le *LongTimestampType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

type LongTimestampWithTimeZone

type LongTimestampWithTimeZone struct {
	// contains filtered or unexported fields
}

func FromEpochMillisAndFraction

func FromEpochMillisAndFraction(epochMillis int64, picosOfMilli int32, timeZoneKey int16) *LongTimestampWithTimeZone

func FromEpochMillisAndFraction2

func FromEpochMillisAndFraction2(epochMillis int64, picosOfMilli int32, timeZoneKey *TimeZoneKey) *LongTimestampWithTimeZone

func FromEpochSecondsAndFraction

func FromEpochSecondsAndFraction(epochSecond int64, fractionInPicos int64, timeZoneKey *TimeZoneKey) *LongTimestampWithTimeZone

func NewLongTimestampWithTimeZone

func NewLongTimestampWithTimeZone(epochMillis int64, picosOfMilli int32, timeZoneKey int16) *LongTimestampWithTimeZone

func (*LongTimestampWithTimeZone) CompareTo

@Override

func (*LongTimestampWithTimeZone) GetEpochMillis

func (le *LongTimestampWithTimeZone) GetEpochMillis() int64

func (*LongTimestampWithTimeZone) GetPicosOfMilli

func (le *LongTimestampWithTimeZone) GetPicosOfMilli() int32

func (*LongTimestampWithTimeZone) GetTimeZoneKey

func (le *LongTimestampWithTimeZone) GetTimeZoneKey() int16

type LongTimestampWithTimeZoneType

type LongTimestampWithTimeZoneType struct {
	// 继承
	TimestampWithTimeZoneType
}

func NewLongTimestampWithTimeZoneType

func NewLongTimestampWithTimeZoneType(precision int32) *LongTimestampWithTimeZoneType

func (*LongTimestampWithTimeZoneType) AppendTo

func (le *LongTimestampWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*LongTimestampWithTimeZoneType) CreateBlockBuilder

func (le *LongTimestampWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*LongTimestampWithTimeZoneType) CreateBlockBuilder2

func (le *LongTimestampWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*LongTimestampWithTimeZoneType) CreateFixedSizeBlockBuilder

func (le *LongTimestampWithTimeZoneType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*LongTimestampWithTimeZoneType) GetFixedSize

func (le *LongTimestampWithTimeZoneType) GetFixedSize() int32

@Override

func (*LongTimestampWithTimeZoneType) GetObject

func (le *LongTimestampWithTimeZoneType) GetObject(block Block, position int32) basic.Object

@Override

func (*LongTimestampWithTimeZoneType) WriteObject

func (le *LongTimestampWithTimeZoneType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

type MapBlock

type MapBlock struct {
	// 继承
	AbstractMapBlock
	// contains filtered or unexported fields
}

func CreateMapBlockInternal2

func CreateMapBlockInternal2(mapType *MapType, startOffset int32, positionCount int32, mapIsNull *optional.Optional[[]bool], offsets []int32, keyBlock Block, valueBlock Block, hashTables *MapHashTables) *MapBlock

func FromKeyValueBlock

func FromKeyValueBlock(mapIsNull *optional.Optional[[]bool], offsets []int32, keyBlock Block, valueBlock Block, mapType *MapType) *MapBlock

func NewMapBlock

func NewMapBlock(mapType *MapType, startOffset int32, positionCount int32, mapIsNull []bool, offsets []int32, keyBlock Block, valueBlock Block, hashTables *MapHashTables) *MapBlock

func (*MapBlock) GetChildren

func (ik *MapBlock) GetChildren() *util.ArrayList[Block]

func (*MapBlock) GetLoadedBlock

func (mk *MapBlock) GetLoadedBlock() Block

@Override

func (*MapBlock) GetPositionCount

func (mk *MapBlock) GetPositionCount() int32

@Override

func (*MapBlock) GetRetainedSizeInBytes

func (mk *MapBlock) GetRetainedSizeInBytes() int64

@Override

func (*MapBlock) GetSizeInBytes

func (mk *MapBlock) GetSizeInBytes() int64

@Override

func (*MapBlock) IsLoaded

func (mk *MapBlock) IsLoaded() bool

@Override

type MapBlockBuilder

type MapBlockBuilder struct {
	// 继承
	BlockBuilder
	// 继承
	AbstractMapBlock
	// contains filtered or unexported fields
}

func NewMapBlockBuilder

func NewMapBlockBuilder(mapType *MapType, blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *MapBlockBuilder

func NewMapBlockBuilder2

func NewMapBlockBuilder2(mapType *MapType, blockBuilderStatus *BlockBuilderStatus, keyBlockBuilder BlockBuilder, valueBlockBuilder BlockBuilder, offsets []int32, mapIsNull []bool) *MapBlockBuilder

func (*MapBlockBuilder) AppendNull

func (mr *MapBlockBuilder) AppendNull() BlockBuilder

@Override

func (*MapBlockBuilder) BeginBlockEntry

func (mr *MapBlockBuilder) BeginBlockEntry() BlockBuilder

@Override

func (*MapBlockBuilder) Build

func (mr *MapBlockBuilder) Build() Block

@Override

func (*MapBlockBuilder) CloseEntry

func (mr *MapBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*MapBlockBuilder) CloseEntryStrict

func (mr *MapBlockBuilder) CloseEntryStrict()

@Deprecated

func (*MapBlockBuilder) CopyPositions

func (mr *MapBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*MapBlockBuilder) CopyRegion

func (mr *MapBlockBuilder) CopyRegion(position int32, length int32) Block

@Override

func (*MapBlockBuilder) GetChildren

func (mr *MapBlockBuilder) GetChildren() *util.ArrayList[Block]

@Override

func (*MapBlockBuilder) GetEstimatedDataSizeForStats

func (mr *MapBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*MapBlockBuilder) GetLoadedBlock

func (ak *MapBlockBuilder) GetLoadedBlock() Block

func (*MapBlockBuilder) GetObject

func (mr *MapBlockBuilder) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*MapBlockBuilder) GetPositionCount

func (mr *MapBlockBuilder) GetPositionCount() int32

@Override

func (*MapBlockBuilder) GetPositionsSizeInBytes

func (mr *MapBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*MapBlockBuilder) GetRegion

func (mr *MapBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*MapBlockBuilder) GetRegionSizeInBytes

func (mr *MapBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*MapBlockBuilder) GetRetainedSizeInBytes

func (mr *MapBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*MapBlockBuilder) GetSingleValueBlock

func (mr *MapBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*MapBlockBuilder) GetSizeInBytes

func (mr *MapBlockBuilder) GetSizeInBytes() int64

@Override

func (*MapBlockBuilder) IsLoaded

func (ik *MapBlockBuilder) IsLoaded() bool

func (*MapBlockBuilder) IsNull

func (mr *MapBlockBuilder) IsNull(position int32) bool

@Override

func (*MapBlockBuilder) NewBlockBuilderLike

func (mr *MapBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*MapBlockBuilder) Strict

func (mr *MapBlockBuilder) Strict() *MapBlockBuilder

type MapHashTables

type MapHashTables struct {
	// contains filtered or unexported fields
}

func NewMapHashTables

func NewMapHashTables(mapType *MapType, hashTables *optional.Optional[[]int32]) *MapHashTables

MapHashTables(MapType mapType, Optional<int[]> hashTables)

{
	this.mapType = mapType;
	this.hashTables = hashTables.orElse(null);
}

func (*MapHashTables) GetRetainedSizeInBytes

func (ms *MapHashTables) GetRetainedSizeInBytes() int64

type MapType

type MapType struct {
	// 继承
	AbstractType
	// contains filtered or unexported fields
}

func NewMapType

func NewMapType(keyType Type, valueType Type) *MapType

func (*MapType) AppendTo

func (me *MapType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*MapType) CreateBlockBuilder

func (me *MapType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*MapType) CreateBlockBuilder2

func (me *MapType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*MapType) CreateBlockFromKeyValue

func (me *MapType) CreateBlockFromKeyValue(mapIsNull *optional.Optional[[]bool], offsets []int32, keyBlock Block, valueBlock Block) Block

func (*MapType) GetDisplayName

func (me *MapType) GetDisplayName() string

@Override

func (*MapType) GetKeyType

func (me *MapType) GetKeyType() Type

func (*MapType) GetObject

func (me *MapType) GetObject(block Block, position int32) basic.Object

@Override

func (*MapType) GetTypeParameters

func (me *MapType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*MapType) GetValueType

func (me *MapType) GetValueType() Type

func (*MapType) IsComparable

func (me *MapType) IsComparable() bool

@Override

func (*MapType) WriteObject

func (me *MapType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

type NamedType

type NamedType struct {
	// contains filtered or unexported fields
}

func NewNamedType

func NewNamedType(name *optional.Optional[*RowFieldName], kind Type) *NamedType

func (*NamedType) GetName

func (ne *NamedType) GetName() *optional.Optional[*RowFieldName]

func (*NamedType) GetType

func (ne *NamedType) GetType() Type

type NamedTypeSignature

type NamedTypeSignature struct {
	// contains filtered or unexported fields
}

func NewNamedTypeSignature

func NewNamedTypeSignature(fieldName *optional.Optional[*RowFieldName], typeSignature *TypeSignature) *NamedTypeSignature

func (*NamedTypeSignature) GetFieldName

func (ne *NamedTypeSignature) GetFieldName() *optional.Optional[*RowFieldName]

func (*NamedTypeSignature) GetName

func (ne *NamedTypeSignature) GetName() *optional.Optional[string]

func (*NamedTypeSignature) GetTypeSignature

func (ne *NamedTypeSignature) GetTypeSignature() *TypeSignature

type P4HyperLogLogType

type P4HyperLogLogType struct {
	// 继承
	AbstractVariableWidthType
}
var HYPER_LOG_LOG *P4HyperLogLogType = NewP4HyperLogLogType()

func NewP4HyperLogLogType

func NewP4HyperLogLogType() *P4HyperLogLogType

func (*P4HyperLogLogType) AppendTo

func (pe *P4HyperLogLogType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*P4HyperLogLogType) GetSlice

func (pe *P4HyperLogLogType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*P4HyperLogLogType) WriteSlice

func (pe *P4HyperLogLogType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*P4HyperLogLogType) WriteSlice2

func (pe *P4HyperLogLogType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type PageBuilderStatus

type PageBuilderStatus struct {
	// contains filtered or unexported fields
}

func NewPageBuilderStatus

func NewPageBuilderStatus() *PageBuilderStatus

func NewPageBuilderStatus2

func NewPageBuilderStatus2(maxPageSizeInBytes int32) *PageBuilderStatus

func (*PageBuilderStatus) CreateBlockBuilderStatus

func (ps *PageBuilderStatus) CreateBlockBuilderStatus() *BlockBuilderStatus

func (*PageBuilderStatus) GetMaxPageSizeInBytes

func (ps *PageBuilderStatus) GetMaxPageSizeInBytes() int32

func (*PageBuilderStatus) GetSizeInBytes

func (ps *PageBuilderStatus) GetSizeInBytes() int64

func (*PageBuilderStatus) IsEmpty

func (ps *PageBuilderStatus) IsEmpty() bool

func (*PageBuilderStatus) IsFull

func (ps *PageBuilderStatus) IsFull() bool

type ParameterKind

type ParameterKind int8

ParameterKind

const (
	PK_TYPE ParameterKind = iota
	PK_NAMED_TYPE
	PK_LONG
	PK_VARIABLE
)

ParameterKind

type PositionLazyBlockLoader

type PositionLazyBlockLoader struct {
	// contains filtered or unexported fields
}

func NewPositionLazyBlockLoader

func NewPositionLazyBlockLoader(delegate *LazyData, positions []int32, offset int32, length int32) *PositionLazyBlockLoader

func (*PositionLazyBlockLoader) Load

func (pr *PositionLazyBlockLoader) Load() Block

@Override

type QuantileDigestParametricType

type QuantileDigestParametricType struct {
	IParametricType
}
var QuantileDigestParametricTypeQDIGEST *QuantileDigestParametricType = &QuantileDigestParametricType{}

type QuantileDigestType

type QuantileDigestType struct {
	// 继承
	AbstractVariableWidthType
	// contains filtered or unexported fields
}

func NewQuantileDigestType

func NewQuantileDigestType(valueType Type) *QuantileDigestType

func (*QuantileDigestType) AppendTo

func (qe *QuantileDigestType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*QuantileDigestType) GetBaseName

func (qe *QuantileDigestType) GetBaseName() string

@Override

func (*QuantileDigestType) GetBoolean

func (qe *QuantileDigestType) GetBoolean(block Block, position int32) bool

@Override

func (*QuantileDigestType) GetDisplayName

func (qe *QuantileDigestType) GetDisplayName() string

@Override

func (*QuantileDigestType) GetDouble

func (qe *QuantileDigestType) GetDouble(block Block, position int32) float64

@Override

func (*QuantileDigestType) GetGoKind

func (qe *QuantileDigestType) GetGoKind() reflect.Kind

@Override

func (*QuantileDigestType) GetLong

func (qe *QuantileDigestType) GetLong(block Block, position int32) int64

@Override

func (*QuantileDigestType) GetObject

func (qe *QuantileDigestType) GetObject(block Block, position int32) basic.Object

@Override

func (*QuantileDigestType) GetSlice

func (qe *QuantileDigestType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*QuantileDigestType) GetTypeId

func (qe *QuantileDigestType) GetTypeId() *TypeId

@Override

func (*QuantileDigestType) GetTypeParameters

func (qe *QuantileDigestType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*QuantileDigestType) GetTypeSignature

func (qe *QuantileDigestType) GetTypeSignature() *TypeSignature

@Override

func (*QuantileDigestType) GetValueType

func (qe *QuantileDigestType) GetValueType() Type

func (*QuantileDigestType) IsComparable

func (qe *QuantileDigestType) IsComparable() bool

@Override

func (*QuantileDigestType) IsOrderable

func (qe *QuantileDigestType) IsOrderable() bool

@Override

func (*QuantileDigestType) WriteBoolean

func (qe *QuantileDigestType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*QuantileDigestType) WriteDouble

func (qe *QuantileDigestType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*QuantileDigestType) WriteLong

func (qe *QuantileDigestType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*QuantileDigestType) WriteObject

func (qe *QuantileDigestType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*QuantileDigestType) WriteSlice

func (qe *QuantileDigestType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*QuantileDigestType) WriteSlice2

func (qe *QuantileDigestType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type RandSource

type RandSource interface {
	Uint64() uint64
}

type RealType

type RealType struct {
	// 继承
	AbstractIntType
}
var REAL *RealType = newRealType()

func (*RealType) AppendTo

func (ae *RealType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*RealType) CreateBlockBuilder

func (ae *RealType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*RealType) CreateBlockBuilder2

func (ae *RealType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*RealType) CreateFixedSizeBlockBuilder

func (ae *RealType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*RealType) Equals

func (re *RealType) Equals(other Type) bool

@Override

func (*RealType) GetBaseName

func (te *RealType) GetBaseName() string

@Override

func (*RealType) GetBoolean

func (te *RealType) GetBoolean(block Block, position int32) bool

@Override

func (*RealType) GetDisplayName

func (te *RealType) GetDisplayName() string

@Override

func (*RealType) GetDouble

func (te *RealType) GetDouble(block Block, position int32) float64

@Override

func (*RealType) GetFixedSize

func (ae *RealType) GetFixedSize() int32

@Override

func (*RealType) GetGoKind

func (te *RealType) GetGoKind() reflect.Kind

@Override

func (*RealType) GetLong

func (ae *RealType) GetLong(block Block, position int32) int64

@Override

func (*RealType) GetObject

func (te *RealType) GetObject(block Block, position int32) basic.Object

@Override

func (*RealType) GetSlice

func (ae *RealType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*RealType) GetTypeId

func (te *RealType) GetTypeId() *TypeId

@Override

func (*RealType) GetTypeParameters

func (te *RealType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*RealType) GetTypeSignature

func (te *RealType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*RealType) IsComparable

func (ae *RealType) IsComparable() bool

@Override

func (*RealType) IsOrderable

func (ae *RealType) IsOrderable() bool

@Override

func (*RealType) WriteBoolean

func (te *RealType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*RealType) WriteDouble

func (te *RealType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*RealType) WriteLong

func (re *RealType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*RealType) WriteObject

func (te *RealType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*RealType) WriteSlice

func (te *RealType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*RealType) WriteSlice2

func (te *RealType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type RegionLazyBlockLoader

type RegionLazyBlockLoader struct {
	// contains filtered or unexported fields
}

func NewRegionLazyBlockLoader

func NewRegionLazyBlockLoader(delegate *LazyData, positionOffset int32, length int32) *RegionLazyBlockLoader

func (*RegionLazyBlockLoader) Load

func (rr *RegionLazyBlockLoader) Load() Block

@Override

type RowBlock

type RowBlock struct {
	// 继承
	AbstractRowBlock
	// contains filtered or unexported fields
}

func CreateRowBlockInternal

func CreateRowBlockInternal(startOffset int32, positionCount int32, rowIsNull []bool, fieldBlockOffsets []int32, fieldBlocks []Block) *RowBlock

func NewRowBlock

func NewRowBlock(startOffset int32, positionCount int32, rowIsNull []bool, fieldBlockOffsets []int32, fieldBlocks []Block) *RowBlock

func (*RowBlock) GetChildren

func (ik *RowBlock) GetChildren() *util.ArrayList[Block]

func (*RowBlock) GetLoadedBlock

func (rk *RowBlock) GetLoadedBlock() Block

@Override

func (*RowBlock) GetPositionCount

func (rk *RowBlock) GetPositionCount() int32

@Override

func (*RowBlock) GetRetainedSizeInBytes

func (rk *RowBlock) GetRetainedSizeInBytes() int64

@Override

func (*RowBlock) GetSizeInBytes

func (rk *RowBlock) GetSizeInBytes() int64

@Override

func (*RowBlock) IsLoaded

func (rk *RowBlock) IsLoaded() bool

@Override

func (*RowBlock) MayHaveNull

func (rk *RowBlock) MayHaveNull() bool

@Override

type RowBlockBuilder

type RowBlockBuilder struct {
	// 继承
	BlockBuilder
	// 继承
	AbstractRowBlock
	// contains filtered or unexported fields
}

func NewRowBlockBuilder

func NewRowBlockBuilder(fieldTypes *util.ArrayList[Type], blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *RowBlockBuilder

func NewRowBlockBuilder2

func NewRowBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, fieldBlockBuilders []BlockBuilder, fieldBlockOffsets []int32, rowIsNull []bool) *RowBlockBuilder

func (*RowBlockBuilder) AppendNull

func (rr *RowBlockBuilder) AppendNull() BlockBuilder

@Override

func (*RowBlockBuilder) BeginBlockEntry

func (rr *RowBlockBuilder) BeginBlockEntry() BlockBuilder

@Override

func (*RowBlockBuilder) Build

func (rr *RowBlockBuilder) Build() Block

@Override

func (*RowBlockBuilder) BytesCompare

func (b *RowBlockBuilder) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*RowBlockBuilder) BytesEqual

func (b *RowBlockBuilder) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*RowBlockBuilder) CloseEntry

func (rr *RowBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*RowBlockBuilder) CompareTo

func (b *RowBlockBuilder) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*RowBlockBuilder) CopyPositions

func (ak *RowBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*RowBlockBuilder) CopyRegion

func (ak *RowBlockBuilder) CopyRegion(position int32, length int32) Block

@Override

func (*RowBlockBuilder) Equals

func (b *RowBlockBuilder) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*RowBlockBuilder) GetByte

func (b *RowBlockBuilder) GetByte(position int32, offset int32) byte

@Override

func (*RowBlockBuilder) GetChildren

func (ak *RowBlockBuilder) GetChildren() *util.ArrayList[Block]

@Override

func (*RowBlockBuilder) GetEstimatedDataSizeForStats

func (ak *RowBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*RowBlockBuilder) GetInt

func (b *RowBlockBuilder) GetInt(position int32, offset int32) int32

@Override

func (*RowBlockBuilder) GetLoadedBlock

func (b *RowBlockBuilder) GetLoadedBlock() Block

@Override

func (*RowBlockBuilder) GetLogicalSizeInBytes

func (b *RowBlockBuilder) GetLogicalSizeInBytes() int64

@Override

func (*RowBlockBuilder) GetLong

func (b *RowBlockBuilder) GetLong(position int32, offset int32) int64

@Override

func (*RowBlockBuilder) GetObject

func (ak *RowBlockBuilder) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*RowBlockBuilder) GetPositionCount

func (rr *RowBlockBuilder) GetPositionCount() int32

@Override

func (*RowBlockBuilder) GetPositionsSizeInBytes

func (ak *RowBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*RowBlockBuilder) GetRegion

func (ak *RowBlockBuilder) GetRegion(position int32, length int32) Block

@Override

func (*RowBlockBuilder) GetRegionSizeInBytes

func (ak *RowBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*RowBlockBuilder) GetRetainedSizeInBytes

func (rr *RowBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*RowBlockBuilder) GetShort

func (b *RowBlockBuilder) GetShort(position int32, offset int32) int16

@Override

func (*RowBlockBuilder) GetSingleValueBlock

func (ak *RowBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*RowBlockBuilder) GetSizeInBytes

func (rr *RowBlockBuilder) GetSizeInBytes() int64

@Override

func (*RowBlockBuilder) GetSlice

func (b *RowBlockBuilder) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*RowBlockBuilder) GetSliceLength

func (b *RowBlockBuilder) GetSliceLength(position int32) int32

@Override

func (*RowBlockBuilder) Hash

func (b *RowBlockBuilder) Hash(position int32, offset int32, length int32) int64

@Override

func (*RowBlockBuilder) IsLoaded

func (b *RowBlockBuilder) IsLoaded() bool

@Override

func (*RowBlockBuilder) IsNull

func (ak *RowBlockBuilder) IsNull(position int32) bool

@Override

func (*RowBlockBuilder) MayHaveNull

func (rr *RowBlockBuilder) MayHaveNull() bool

@Override

func (*RowBlockBuilder) NewBlockBuilderLike

func (rr *RowBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*RowBlockBuilder) WriteBytesTo

func (b *RowBlockBuilder) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type RowFieldName

type RowFieldName struct {
	// contains filtered or unexported fields
}

func NewRowFieldName

func NewRowFieldName(name string) *RowFieldName

func (*RowFieldName) GetName

func (re *RowFieldName) GetName() string

type RowType

type RowType struct {
	// 继承
	AbstractType
	// contains filtered or unexported fields
}

func Anonymous

func Anonymous(types *util.ArrayList[Type]) *RowType

func AnonymousRow

func AnonymousRow(types ...Type) *RowType

func CreateRowType

func CreateRowType(field ...*Field) *RowType

func CreateWithTypeSignature

func CreateWithTypeSignature(typeSignature *TypeSignature, fields *util.ArrayList[*Field]) *RowType

func From

func From(fields *util.ArrayList[*Field]) *RowType

func NewRowType

func NewRowType(typeSignature *TypeSignature, fields *util.ArrayList[*Field]) *RowType

func (*RowType) AppendTo

func (re *RowType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*RowType) CreateBlockBuilder

func (re *RowType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*RowType) CreateBlockBuilder2

func (re *RowType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*RowType) Equals

func (te *RowType) Equals(kind Type) bool

@Override

func (*RowType) GetDisplayName

func (re *RowType) GetDisplayName() string

@Override

func (*RowType) GetFields

func (re *RowType) GetFields() *util.ArrayList[*Field]

func (*RowType) GetObject

func (re *RowType) GetObject(block Block, position int32) basic.Object

@Override

func (*RowType) GetTypeParameters

func (re *RowType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*RowType) IsComparable

func (re *RowType) IsComparable() bool

@Override

func (*RowType) IsOrderable

func (re *RowType) IsOrderable() bool

@Override

func (*RowType) WriteObject

func (re *RowType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

type RunLengthEncodedBlock

type RunLengthEncodedBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewRunLengthEncodedBlock

func NewRunLengthEncodedBlock(value Block, positionCount int32) *RunLengthEncodedBlock

func (*RunLengthEncodedBlock) BytesCompare

func (rk *RunLengthEncodedBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*RunLengthEncodedBlock) BytesEqual

func (rk *RunLengthEncodedBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*RunLengthEncodedBlock) CompareTo

func (rk *RunLengthEncodedBlock) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*RunLengthEncodedBlock) CopyPositions

func (rk *RunLengthEncodedBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*RunLengthEncodedBlock) CopyRegion

func (rk *RunLengthEncodedBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*RunLengthEncodedBlock) Equals

func (rk *RunLengthEncodedBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*RunLengthEncodedBlock) GetByte

func (rk *RunLengthEncodedBlock) GetByte(position int32, offset int32) byte

@Override

func (*RunLengthEncodedBlock) GetChildren

func (rk *RunLengthEncodedBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*RunLengthEncodedBlock) GetEstimatedDataSizeForStats

func (rk *RunLengthEncodedBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*RunLengthEncodedBlock) GetInt

func (rk *RunLengthEncodedBlock) GetInt(position int32, offset int32) int32

@Override

func (*RunLengthEncodedBlock) GetLoadedBlock

func (rk *RunLengthEncodedBlock) GetLoadedBlock() Block

@Override

func (*RunLengthEncodedBlock) GetLogicalSizeInBytes

func (rk *RunLengthEncodedBlock) GetLogicalSizeInBytes() int64

@Override

func (*RunLengthEncodedBlock) GetLong

func (rk *RunLengthEncodedBlock) GetLong(position int32, offset int32) int64

@Override

func (*RunLengthEncodedBlock) GetObject

func (rk *RunLengthEncodedBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*RunLengthEncodedBlock) GetPositionCount

func (rk *RunLengthEncodedBlock) GetPositionCount() int32

@Override

func (*RunLengthEncodedBlock) GetPositions

func (rk *RunLengthEncodedBlock) GetPositions(positions []int32, offset int32, length int32) Block

@Override

func (*RunLengthEncodedBlock) GetPositionsSizeInBytes

func (rk *RunLengthEncodedBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*RunLengthEncodedBlock) GetRegion

func (rk *RunLengthEncodedBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*RunLengthEncodedBlock) GetRegionSizeInBytes

func (rk *RunLengthEncodedBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*RunLengthEncodedBlock) GetRetainedSizeInBytes

func (rk *RunLengthEncodedBlock) GetRetainedSizeInBytes() int64

@Override

func (*RunLengthEncodedBlock) GetShort

func (rk *RunLengthEncodedBlock) GetShort(position int32, offset int32) int16

@Override

func (*RunLengthEncodedBlock) GetSingleValueBlock

func (rk *RunLengthEncodedBlock) GetSingleValueBlock(position int32) Block

@Override

func (*RunLengthEncodedBlock) GetSizeInBytes

func (rk *RunLengthEncodedBlock) GetSizeInBytes() int64

@Override

func (*RunLengthEncodedBlock) GetSlice

func (rk *RunLengthEncodedBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*RunLengthEncodedBlock) GetSliceLength

func (rk *RunLengthEncodedBlock) GetSliceLength(position int32) int32

@Override

func (*RunLengthEncodedBlock) GetValue

func (rk *RunLengthEncodedBlock) GetValue() Block

func (*RunLengthEncodedBlock) Hash

func (rk *RunLengthEncodedBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*RunLengthEncodedBlock) IsLoaded

func (rk *RunLengthEncodedBlock) IsLoaded() bool

@Override

func (*RunLengthEncodedBlock) IsNull

func (rk *RunLengthEncodedBlock) IsNull(position int32) bool

@Override

func (*RunLengthEncodedBlock) MayHaveNull

func (rk *RunLengthEncodedBlock) MayHaveNull() bool

@Override

func (*RunLengthEncodedBlock) WriteBytesTo

func (rk *RunLengthEncodedBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type ShortArrayBlock

type ShortArrayBlock struct {
	// 继承
	Block
	// contains filtered or unexported fields
}

func NewShortArrayBlock

func NewShortArrayBlock(positionCount int32, valueIsNull *optional.Optional[[]bool], values []int16) *ShortArrayBlock

func NewShortArrayBlock2

func NewShortArrayBlock2(arrayOffset int32, positionCount int32, valueIsNull []bool, values []int16) *ShortArrayBlock

func (*ShortArrayBlock) CopyPositions

func (sk *ShortArrayBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ShortArrayBlock) CopyRegion

func (sk *ShortArrayBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*ShortArrayBlock) GetChildren

func (ik *ShortArrayBlock) GetChildren() *util.ArrayList[Block]

func (*ShortArrayBlock) GetEstimatedDataSizeForStats

func (sk *ShortArrayBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ShortArrayBlock) GetLoadedBlock

func (ak *ShortArrayBlock) GetLoadedBlock() Block

func (*ShortArrayBlock) GetPositionCount

func (sk *ShortArrayBlock) GetPositionCount() int32

@Override

func (*ShortArrayBlock) GetPositionsSizeInBytes

func (sk *ShortArrayBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ShortArrayBlock) GetPositionsSizeInBytes2

func (sk *ShortArrayBlock) GetPositionsSizeInBytes2(positions []bool, selectedPositionsCount int32) int64

@Override

func (*ShortArrayBlock) GetRegion

func (sk *ShortArrayBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*ShortArrayBlock) GetRegionSizeInBytes

func (sk *ShortArrayBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ShortArrayBlock) GetRetainedSizeInBytes

func (sk *ShortArrayBlock) GetRetainedSizeInBytes() int64

@Override

func (*ShortArrayBlock) GetShort

func (sk *ShortArrayBlock) GetShort(position int32, offset int32) int16

@Override

func (*ShortArrayBlock) GetSingleValueBlock

func (sk *ShortArrayBlock) GetSingleValueBlock(position int32) Block

@Override

func (*ShortArrayBlock) GetSizeInBytes

func (sk *ShortArrayBlock) GetSizeInBytes() int64

@Override

func (*ShortArrayBlock) IsLoaded

func (ik *ShortArrayBlock) IsLoaded() bool

func (*ShortArrayBlock) IsNull

func (sk *ShortArrayBlock) IsNull(position int32) bool

@Override

func (*ShortArrayBlock) MayHaveNull

func (sk *ShortArrayBlock) MayHaveNull() bool

@Override

type ShortArrayBlockBuilder

type ShortArrayBlockBuilder struct {
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewShortArrayBlockBuilder

func NewShortArrayBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) *ShortArrayBlockBuilder

func (*ShortArrayBlockBuilder) AppendNull

func (sr *ShortArrayBlockBuilder) AppendNull() BlockBuilder

@Override

func (*ShortArrayBlockBuilder) Build

func (sr *ShortArrayBlockBuilder) Build() Block

@Override

func (*ShortArrayBlockBuilder) CloseEntry

func (sr *ShortArrayBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*ShortArrayBlockBuilder) CopyPositions

func (sr *ShortArrayBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*ShortArrayBlockBuilder) CopyRegion

func (sr *ShortArrayBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*ShortArrayBlockBuilder) GetChildren

func (ik *ShortArrayBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*ShortArrayBlockBuilder) GetEstimatedDataSizeForStats

func (sr *ShortArrayBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*ShortArrayBlockBuilder) GetLoadedBlock

func (ak *ShortArrayBlockBuilder) GetLoadedBlock() Block

func (*ShortArrayBlockBuilder) GetPositionCount

func (sr *ShortArrayBlockBuilder) GetPositionCount() int32

@Override

func (*ShortArrayBlockBuilder) GetPositionsSizeInBytes

func (sr *ShortArrayBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*ShortArrayBlockBuilder) GetRegion

func (sr *ShortArrayBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*ShortArrayBlockBuilder) GetRegionSizeInBytes

func (sr *ShortArrayBlockBuilder) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*ShortArrayBlockBuilder) GetRetainedSizeInBytes

func (sr *ShortArrayBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*ShortArrayBlockBuilder) GetShort

func (sr *ShortArrayBlockBuilder) GetShort(position int32, offset int32) int16

@Override

func (*ShortArrayBlockBuilder) GetSingleValueBlock

func (sr *ShortArrayBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*ShortArrayBlockBuilder) GetSizeInBytes

func (sr *ShortArrayBlockBuilder) GetSizeInBytes() int64

@Override

func (*ShortArrayBlockBuilder) IsLoaded

func (ik *ShortArrayBlockBuilder) IsLoaded() bool

func (*ShortArrayBlockBuilder) IsNull

func (sr *ShortArrayBlockBuilder) IsNull(position int32) bool

@Override

func (*ShortArrayBlockBuilder) MayHaveNull

func (sr *ShortArrayBlockBuilder) MayHaveNull() bool

@Override

func (*ShortArrayBlockBuilder) NewBlockBuilderLike

func (sr *ShortArrayBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*ShortArrayBlockBuilder) WriteShort

func (sr *ShortArrayBlockBuilder) WriteShort(value int16) BlockBuilder

@Override

type ShortDecimalType

type ShortDecimalType struct {
	// 继承
	DecimalType
}

func NewShortDecimalType

func NewShortDecimalType(precision int32, scale int32) *ShortDecimalType

func (*ShortDecimalType) AppendTo

func (se *ShortDecimalType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*ShortDecimalType) CreateBlockBuilder

func (se *ShortDecimalType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*ShortDecimalType) CreateBlockBuilder2

func (se *ShortDecimalType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*ShortDecimalType) CreateFixedSizeBlockBuilder

func (se *ShortDecimalType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*ShortDecimalType) GetBaseName

func (se *ShortDecimalType) GetBaseName() string

@Override

func (*ShortDecimalType) GetBoolean

func (se *ShortDecimalType) GetBoolean(block Block, position int32) bool

@Override

func (*ShortDecimalType) GetDisplayName

func (se *ShortDecimalType) GetDisplayName() string

@Override

func (*ShortDecimalType) GetDouble

func (se *ShortDecimalType) GetDouble(block Block, position int32) float64

@Override

func (*ShortDecimalType) GetFixedSize

func (se *ShortDecimalType) GetFixedSize() int32

@Override

func (*ShortDecimalType) GetGoKind

func (se *ShortDecimalType) GetGoKind() reflect.Kind

@Override

func (*ShortDecimalType) GetLong

func (se *ShortDecimalType) GetLong(block Block, position int32) int64

@Override

func (*ShortDecimalType) GetObject

func (se *ShortDecimalType) GetObject(block Block, position int32) basic.Object

@Override

func (*ShortDecimalType) GetSlice

func (se *ShortDecimalType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*ShortDecimalType) GetTypeId

func (se *ShortDecimalType) GetTypeId() *TypeId

@Override

func (*ShortDecimalType) GetTypeParameters

func (se *ShortDecimalType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*ShortDecimalType) GetTypeSignature

func (se *ShortDecimalType) GetTypeSignature() *TypeSignature

@Override

func (*ShortDecimalType) WriteBoolean

func (se *ShortDecimalType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*ShortDecimalType) WriteDouble

func (se *ShortDecimalType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*ShortDecimalType) WriteLong

func (se *ShortDecimalType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*ShortDecimalType) WriteObject

func (se *ShortDecimalType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*ShortDecimalType) WriteSlice

func (se *ShortDecimalType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*ShortDecimalType) WriteSlice2

func (se *ShortDecimalType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type ShortTimeWithTimeZoneType

type ShortTimeWithTimeZoneType struct {
	// 继承
	TimeWithTimeZoneType
}

func NewShortTimeWithTimeZoneType

func NewShortTimeWithTimeZoneType(precision int32) *ShortTimeWithTimeZoneType

func (*ShortTimeWithTimeZoneType) AppendTo

func (se *ShortTimeWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*ShortTimeWithTimeZoneType) CreateBlockBuilder

func (se *ShortTimeWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*ShortTimeWithTimeZoneType) CreateBlockBuilder2

func (se *ShortTimeWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*ShortTimeWithTimeZoneType) CreateFixedSizeBlockBuilder

func (se *ShortTimeWithTimeZoneType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*ShortTimeWithTimeZoneType) Equals

func (te *ShortTimeWithTimeZoneType) Equals(kind Type) bool

@Override

func (*ShortTimeWithTimeZoneType) GetFixedSize

func (se *ShortTimeWithTimeZoneType) GetFixedSize() int32

@Override

func (*ShortTimeWithTimeZoneType) GetLong

func (se *ShortTimeWithTimeZoneType) GetLong(block Block, position int32) int64

@Override

func (*ShortTimeWithTimeZoneType) GetSlice

func (se *ShortTimeWithTimeZoneType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*ShortTimeWithTimeZoneType) WriteLong

func (se *ShortTimeWithTimeZoneType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

type ShortTimestampType

type ShortTimestampType struct {
	// 继承
	TimestampType
}

func NewShortTimestampType

func NewShortTimestampType(precision int32) *ShortTimestampType

func (*ShortTimestampType) AppendTo

func (se *ShortTimestampType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*ShortTimestampType) CreateBlockBuilder

func (se *ShortTimestampType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*ShortTimestampType) CreateBlockBuilder2

func (se *ShortTimestampType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*ShortTimestampType) CreateFixedSizeBlockBuilder

func (se *ShortTimestampType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*ShortTimestampType) Equals

func (te *ShortTimestampType) Equals(kind Type) bool

@Override

func (*ShortTimestampType) GetFixedSize

func (se *ShortTimestampType) GetFixedSize() int32

@Override

func (*ShortTimestampType) GetLong

func (se *ShortTimestampType) GetLong(block Block, position int32) int64

@Override

func (*ShortTimestampType) WriteLong

func (se *ShortTimestampType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

type ShortTimestampWithTimeZoneType

type ShortTimestampWithTimeZoneType struct {
	// 继承
	TimestampWithTimeZoneType
}

func NewShortTimestampWithTimeZoneType

func NewShortTimestampWithTimeZoneType(precision int32) *ShortTimestampWithTimeZoneType

func (*ShortTimestampWithTimeZoneType) AppendTo

func (se *ShortTimestampWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*ShortTimestampWithTimeZoneType) CreateBlockBuilder

func (se *ShortTimestampWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*ShortTimestampWithTimeZoneType) CreateBlockBuilder2

func (se *ShortTimestampWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*ShortTimestampWithTimeZoneType) CreateFixedSizeBlockBuilder

func (se *ShortTimestampWithTimeZoneType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*ShortTimestampWithTimeZoneType) Equals

func (te *ShortTimestampWithTimeZoneType) Equals(kind Type) bool

@Override

func (*ShortTimestampWithTimeZoneType) GetFixedSize

func (se *ShortTimestampWithTimeZoneType) GetFixedSize() int32

@Override

func (*ShortTimestampWithTimeZoneType) GetLong

func (se *ShortTimestampWithTimeZoneType) GetLong(block Block, position int32) int64

@Override

func (*ShortTimestampWithTimeZoneType) GetSlice

func (se *ShortTimestampWithTimeZoneType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*ShortTimestampWithTimeZoneType) WriteLong

func (se *ShortTimestampWithTimeZoneType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

type SingleArrayBlockWriter

type SingleArrayBlockWriter struct {
	// 继承
	AbstractSingleArrayBlock
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewSingleArrayBlockWriter

func NewSingleArrayBlockWriter(blockBuilder BlockBuilder, start int32) *SingleArrayBlockWriter

func (*SingleArrayBlockWriter) AppendNull

func (sr *SingleArrayBlockWriter) AppendNull() BlockBuilder

@Override

func (*SingleArrayBlockWriter) BeginBlockEntry

func (sr *SingleArrayBlockWriter) BeginBlockEntry() BlockBuilder

@Override

func (*SingleArrayBlockWriter) Build

func (sr *SingleArrayBlockWriter) Build() Block

@Override

func (*SingleArrayBlockWriter) BytesCompare

func (sr *SingleArrayBlockWriter) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

/ 继承类 Block @Override

func (*SingleArrayBlockWriter) BytesEqual

func (sr *SingleArrayBlockWriter) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*SingleArrayBlockWriter) CloseEntry

func (sr *SingleArrayBlockWriter) CloseEntry() BlockBuilder

@Override

func (*SingleArrayBlockWriter) CompareTo

func (sr *SingleArrayBlockWriter) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*SingleArrayBlockWriter) CopyPositions

func (sr *SingleArrayBlockWriter) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*SingleArrayBlockWriter) CopyRegion

func (sr *SingleArrayBlockWriter) CopyRegion(position int32, length int32) Block

@Override

func (*SingleArrayBlockWriter) Equals

func (sr *SingleArrayBlockWriter) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*SingleArrayBlockWriter) GetByte

func (sr *SingleArrayBlockWriter) GetByte(position int32, offset int32) byte

@Override

func (*SingleArrayBlockWriter) GetChildren

func (sr *SingleArrayBlockWriter) GetChildren() *util.ArrayList[Block]

@Override

func (*SingleArrayBlockWriter) GetEstimatedDataSizeForStats

func (sr *SingleArrayBlockWriter) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*SingleArrayBlockWriter) GetInt

func (sr *SingleArrayBlockWriter) GetInt(position int32, offset int32) int32

@Override

func (*SingleArrayBlockWriter) GetLoadedBlock

func (ak *SingleArrayBlockWriter) GetLoadedBlock() Block

func (*SingleArrayBlockWriter) GetLong

func (sr *SingleArrayBlockWriter) GetLong(position int32, offset int32) int64

@Override

func (*SingleArrayBlockWriter) GetObject

func (sr *SingleArrayBlockWriter) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*SingleArrayBlockWriter) GetPositionCount

func (sr *SingleArrayBlockWriter) GetPositionCount() int32

@Override

func (*SingleArrayBlockWriter) GetPositionsSizeInBytes

func (sr *SingleArrayBlockWriter) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*SingleArrayBlockWriter) GetRegion

func (sr *SingleArrayBlockWriter) GetRegion(positionOffset int32, length int32) Block

@Override

func (*SingleArrayBlockWriter) GetRegionSizeInBytes

func (sr *SingleArrayBlockWriter) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*SingleArrayBlockWriter) GetRetainedSizeInBytes

func (sr *SingleArrayBlockWriter) GetRetainedSizeInBytes() int64

@Override

func (*SingleArrayBlockWriter) GetShort

func (sr *SingleArrayBlockWriter) GetShort(position int32, offset int32) int16

@Override

func (*SingleArrayBlockWriter) GetSingleValueBlock

func (sr *SingleArrayBlockWriter) GetSingleValueBlock(position int32) Block

@Override

func (*SingleArrayBlockWriter) GetSizeInBytes

func (sr *SingleArrayBlockWriter) GetSizeInBytes() int64

@Override

func (*SingleArrayBlockWriter) GetSlice

func (sr *SingleArrayBlockWriter) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*SingleArrayBlockWriter) GetSliceLength

func (sr *SingleArrayBlockWriter) GetSliceLength(position int32) int32

@Override

func (*SingleArrayBlockWriter) Hash

func (sr *SingleArrayBlockWriter) Hash(position int32, offset int32, length int32) int64

@Override

func (*SingleArrayBlockWriter) IsLoaded

func (ik *SingleArrayBlockWriter) IsLoaded() bool

func (*SingleArrayBlockWriter) IsNull

func (sr *SingleArrayBlockWriter) IsNull(position int32) bool

@Override

func (*SingleArrayBlockWriter) NewBlockBuilderLike

func (sr *SingleArrayBlockWriter) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*SingleArrayBlockWriter) WriteByte

func (sr *SingleArrayBlockWriter) WriteByte(value byte) BlockBuilder

@Override

func (*SingleArrayBlockWriter) WriteBytes

func (sr *SingleArrayBlockWriter) WriteBytes(source *slice.Slice, sourceIndex int32, length int32) BlockBuilder

@Override

func (*SingleArrayBlockWriter) WriteBytesTo

func (sr *SingleArrayBlockWriter) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

func (*SingleArrayBlockWriter) WriteInt

func (sr *SingleArrayBlockWriter) WriteInt(value int32) BlockBuilder

@Override

func (*SingleArrayBlockWriter) WriteLong

func (sr *SingleArrayBlockWriter) WriteLong(value int64) BlockBuilder

@Override

func (*SingleArrayBlockWriter) WriteShort

func (sr *SingleArrayBlockWriter) WriteShort(value int16) BlockBuilder

@Override

type SingleMapBlock

type SingleMapBlock struct {
	// 继承
	AbstractSingleMapBlock
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewSingleMapBlock

func NewSingleMapBlock(offset int32, positionCount int32, mapBlock *AbstractMapBlock) *SingleMapBlock

func (*SingleMapBlock) BytesCompare

func (sr *SingleMapBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

/ 继承类 Block @Override

func (*SingleMapBlock) BytesEqual

func (sr *SingleMapBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*SingleMapBlock) CompareTo

func (sr *SingleMapBlock) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*SingleMapBlock) CopyPositions

func (sr *SingleMapBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*SingleMapBlock) CopyRegion

func (sr *SingleMapBlock) CopyRegion(position int32, length int32) Block

@Override

func (*SingleMapBlock) Equals

func (sr *SingleMapBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*SingleMapBlock) GetByte

func (sr *SingleMapBlock) GetByte(position int32, offset int32) byte

@Override

func (*SingleMapBlock) GetChildren

func (sr *SingleMapBlock) GetChildren() *util.ArrayList[Block]

@Override

func (*SingleMapBlock) GetEstimatedDataSizeForStats

func (sr *SingleMapBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*SingleMapBlock) GetInt

func (sr *SingleMapBlock) GetInt(position int32, offset int32) int32

@Override

func (*SingleMapBlock) GetLoadedBlock

func (sk *SingleMapBlock) GetLoadedBlock() Block

@Override

func (*SingleMapBlock) GetLong

func (sr *SingleMapBlock) GetLong(position int32, offset int32) int64

@Override

func (*SingleMapBlock) GetMapType

func (sk *SingleMapBlock) GetMapType() Type

func (*SingleMapBlock) GetObject

func (sr *SingleMapBlock) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*SingleMapBlock) GetOffset

func (sk *SingleMapBlock) GetOffset() int32

@Override

func (*SingleMapBlock) GetPositionCount

func (sk *SingleMapBlock) GetPositionCount() int32

@Override

func (*SingleMapBlock) GetPositionsSizeInBytes

func (sr *SingleMapBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*SingleMapBlock) GetRegion

func (sr *SingleMapBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*SingleMapBlock) GetRegionSizeInBytes

func (sr *SingleMapBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*SingleMapBlock) GetRetainedSizeInBytes

func (sk *SingleMapBlock) GetRetainedSizeInBytes() int64

@Override

func (*SingleMapBlock) GetShort

func (sr *SingleMapBlock) GetShort(position int32, offset int32) int16

@Override

func (*SingleMapBlock) GetSingleValueBlock

func (sr *SingleMapBlock) GetSingleValueBlock(position int32) Block

@Override

func (*SingleMapBlock) GetSizeInBytes

func (sk *SingleMapBlock) GetSizeInBytes() int64

@Override

func (*SingleMapBlock) GetSlice

func (sr *SingleMapBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*SingleMapBlock) GetSliceLength

func (sr *SingleMapBlock) GetSliceLength(position int32) int32

@Override

func (*SingleMapBlock) Hash

func (sr *SingleMapBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*SingleMapBlock) IsLoaded

func (sk *SingleMapBlock) IsLoaded() bool

@Override

func (*SingleMapBlock) IsNull

func (sr *SingleMapBlock) IsNull(position int32) bool

@Override

func (*SingleMapBlock) ToString

func (sk *SingleMapBlock) ToString() string

@Override

func (*SingleMapBlock) TryGetHashTable

func (sk *SingleMapBlock) TryGetHashTable() *optional.Optional[[]int32]

func (*SingleMapBlock) WriteBytesTo

func (sr *SingleMapBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type SingleMapBlockWriter

type SingleMapBlockWriter struct {
	// 继承
	BlockBuilder
	// 继承
	AbstractSingleMapBlock
	// contains filtered or unexported fields
}

func NewSingleMapBlockWriter

func NewSingleMapBlockWriter(start int32, keyBlockBuilder BlockBuilder, valueBlockBuilder BlockBuilder, setStrict func() *MapBlockBuilder) *SingleMapBlockWriter

func (*SingleMapBlockWriter) AppendNull

func (sr *SingleMapBlockWriter) AppendNull() BlockBuilder

@Override

func (*SingleMapBlockWriter) BeginBlockEntry

func (sr *SingleMapBlockWriter) BeginBlockEntry() BlockBuilder

@Override

func (*SingleMapBlockWriter) Build

func (sr *SingleMapBlockWriter) Build() Block

@Override

func (*SingleMapBlockWriter) BytesCompare

func (sr *SingleMapBlockWriter) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

/ 继承类 Block @Override

func (*SingleMapBlockWriter) BytesEqual

func (sr *SingleMapBlockWriter) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*SingleMapBlockWriter) CloseEntry

func (sr *SingleMapBlockWriter) CloseEntry() BlockBuilder

@Override

func (*SingleMapBlockWriter) CompareTo

func (sr *SingleMapBlockWriter) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*SingleMapBlockWriter) CopyPositions

func (sr *SingleMapBlockWriter) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*SingleMapBlockWriter) CopyRegion

func (sr *SingleMapBlockWriter) CopyRegion(position int32, length int32) Block

@Override

func (*SingleMapBlockWriter) Equals

func (sr *SingleMapBlockWriter) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*SingleMapBlockWriter) GetByte

func (sr *SingleMapBlockWriter) GetByte(position int32, offset int32) byte

@Override

func (*SingleMapBlockWriter) GetChildren

func (sr *SingleMapBlockWriter) GetChildren() *util.ArrayList[Block]

@Override

func (*SingleMapBlockWriter) GetEstimatedDataSizeForStats

func (sr *SingleMapBlockWriter) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*SingleMapBlockWriter) GetInt

func (sr *SingleMapBlockWriter) GetInt(position int32, offset int32) int32

@Override

func (*SingleMapBlockWriter) GetLoadedBlock

func (ak *SingleMapBlockWriter) GetLoadedBlock() Block

func (*SingleMapBlockWriter) GetLong

func (sr *SingleMapBlockWriter) GetLong(position int32, offset int32) int64

@Override

func (*SingleMapBlockWriter) GetObject

func (sr *SingleMapBlockWriter) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*SingleMapBlockWriter) GetPositionCount

func (sr *SingleMapBlockWriter) GetPositionCount() int32

@Override

func (*SingleMapBlockWriter) GetPositionsSizeInBytes

func (sr *SingleMapBlockWriter) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*SingleMapBlockWriter) GetRegion

func (sr *SingleMapBlockWriter) GetRegion(positionOffset int32, length int32) Block

@Override

func (*SingleMapBlockWriter) GetRegionSizeInBytes

func (sr *SingleMapBlockWriter) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*SingleMapBlockWriter) GetRetainedSizeInBytes

func (sr *SingleMapBlockWriter) GetRetainedSizeInBytes() int64

@Override

func (*SingleMapBlockWriter) GetShort

func (sr *SingleMapBlockWriter) GetShort(position int32, offset int32) int16

@Override

func (*SingleMapBlockWriter) GetSingleValueBlock

func (sr *SingleMapBlockWriter) GetSingleValueBlock(position int32) Block

@Override

func (*SingleMapBlockWriter) GetSizeInBytes

func (sr *SingleMapBlockWriter) GetSizeInBytes() int64

@Override

func (*SingleMapBlockWriter) GetSlice

func (sr *SingleMapBlockWriter) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*SingleMapBlockWriter) GetSliceLength

func (sr *SingleMapBlockWriter) GetSliceLength(position int32) int32

@Override

func (*SingleMapBlockWriter) Hash

func (sr *SingleMapBlockWriter) Hash(position int32, offset int32, length int32) int64

@Override

func (*SingleMapBlockWriter) IsLoaded

func (ik *SingleMapBlockWriter) IsLoaded() bool

func (*SingleMapBlockWriter) IsNull

func (sr *SingleMapBlockWriter) IsNull(position int32) bool

@Override

func (*SingleMapBlockWriter) NewBlockBuilderLike

func (sr *SingleMapBlockWriter) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*SingleMapBlockWriter) Strict

func (*SingleMapBlockWriter) String

func (sr *SingleMapBlockWriter) String() string

@Override

func (*SingleMapBlockWriter) WriteByte

func (sr *SingleMapBlockWriter) WriteByte(value byte) BlockBuilder

@Override

func (*SingleMapBlockWriter) WriteBytes

func (sr *SingleMapBlockWriter) WriteBytes(source *slice.Slice, sourceIndex int32, length int32) BlockBuilder

@Override

func (*SingleMapBlockWriter) WriteBytesTo

func (sr *SingleMapBlockWriter) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

func (*SingleMapBlockWriter) WriteInt

func (sr *SingleMapBlockWriter) WriteInt(value int32) BlockBuilder

@Override

func (*SingleMapBlockWriter) WriteLong

func (sr *SingleMapBlockWriter) WriteLong(value int64) BlockBuilder

@Override

func (*SingleMapBlockWriter) WriteShort

func (sr *SingleMapBlockWriter) WriteShort(value int16) BlockBuilder

@Override

type SingleRowBlock

type SingleRowBlock struct {
	// 继承
	AbstractSingleRowBlock
	// contains filtered or unexported fields
}

func NewSingleRowBlock

func NewSingleRowBlock(rowIndex int32, fieldBlocks []Block) *SingleRowBlock

func (*SingleRowBlock) GetChildren

func (ik *SingleRowBlock) GetChildren() *util.ArrayList[Block]

func (*SingleRowBlock) GetLoadedBlock

func (sk *SingleRowBlock) GetLoadedBlock() Block

@Override

func (*SingleRowBlock) GetPositionCount

func (sk *SingleRowBlock) GetPositionCount() int32

@Override

func (*SingleRowBlock) GetRetainedSizeInBytes

func (sk *SingleRowBlock) GetRetainedSizeInBytes() int64

@Override

func (*SingleRowBlock) GetRowIndex

func (sk *SingleRowBlock) GetRowIndex() int32

@Override

func (*SingleRowBlock) GetSizeInBytes

func (sk *SingleRowBlock) GetSizeInBytes() int64

@Override

func (*SingleRowBlock) IsLoaded

func (sk *SingleRowBlock) IsLoaded() bool

@Override

func (*SingleRowBlock) ToString

func (sk *SingleRowBlock) ToString() string

@Override

type SingleRowBlockWriter

type SingleRowBlockWriter struct {
	// 继承
	AbstractSingleRowBlock
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewSingleRowBlockWriter

func NewSingleRowBlockWriter(fieldBlockBuilders []BlockBuilder) *SingleRowBlockWriter

func (*SingleRowBlockWriter) AppendNull

func (sr *SingleRowBlockWriter) AppendNull() BlockBuilder

@Override

func (*SingleRowBlockWriter) BeginBlockEntry

func (sr *SingleRowBlockWriter) BeginBlockEntry() BlockBuilder

@Override

func (*SingleRowBlockWriter) Build

func (sr *SingleRowBlockWriter) Build() Block

@Override

func (*SingleRowBlockWriter) BytesCompare

func (sr *SingleRowBlockWriter) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

/ 继承类 Block @Override

func (*SingleRowBlockWriter) BytesEqual

func (sr *SingleRowBlockWriter) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*SingleRowBlockWriter) CloseEntry

func (sr *SingleRowBlockWriter) CloseEntry() BlockBuilder

@Override

func (*SingleRowBlockWriter) CompareTo

func (sr *SingleRowBlockWriter) CompareTo(leftPosition int32, leftOffset int32, leftLength int32, rightBlock Block, rightPosition int32, rightOffset int32, rightLength int32) int32

@Override

func (*SingleRowBlockWriter) CopyPositions

func (sr *SingleRowBlockWriter) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*SingleRowBlockWriter) CopyRegion

func (sr *SingleRowBlockWriter) CopyRegion(position int32, length int32) Block

@Override

func (*SingleRowBlockWriter) Equals

func (sr *SingleRowBlockWriter) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*SingleRowBlockWriter) GetByte

func (sr *SingleRowBlockWriter) GetByte(position int32, offset int32) byte

@Override

func (*SingleRowBlockWriter) GetChildren

func (sr *SingleRowBlockWriter) GetChildren() *util.ArrayList[Block]

@Override

func (*SingleRowBlockWriter) GetEstimatedDataSizeForStats

func (sr *SingleRowBlockWriter) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*SingleRowBlockWriter) GetFieldBlockBuilder

func (sr *SingleRowBlockWriter) GetFieldBlockBuilder(fieldIndex int32) BlockBuilder

func (*SingleRowBlockWriter) GetInt

func (sr *SingleRowBlockWriter) GetInt(position int32, offset int32) int32

@Override

func (*SingleRowBlockWriter) GetLoadedBlock

func (ak *SingleRowBlockWriter) GetLoadedBlock() Block

func (*SingleRowBlockWriter) GetLong

func (sr *SingleRowBlockWriter) GetLong(position int32, offset int32) int64

@Override

func (*SingleRowBlockWriter) GetObject

func (sr *SingleRowBlockWriter) GetObject(position int32, clazz reflect.Type) basic.Object

@Override

func (*SingleRowBlockWriter) GetPositionCount

func (sr *SingleRowBlockWriter) GetPositionCount() int32

@Override

func (*SingleRowBlockWriter) GetPositionsSizeInBytes

func (sr *SingleRowBlockWriter) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*SingleRowBlockWriter) GetRegion

func (sr *SingleRowBlockWriter) GetRegion(positionOffset int32, length int32) Block

@Override

func (*SingleRowBlockWriter) GetRegionSizeInBytes

func (sr *SingleRowBlockWriter) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*SingleRowBlockWriter) GetRetainedSizeInBytes

func (sr *SingleRowBlockWriter) GetRetainedSizeInBytes() int64

@Override

func (*SingleRowBlockWriter) GetShort

func (sr *SingleRowBlockWriter) GetShort(position int32, offset int32) int16

@Override

func (*SingleRowBlockWriter) GetSingleValueBlock

func (sr *SingleRowBlockWriter) GetSingleValueBlock(position int32) Block

@Override

func (*SingleRowBlockWriter) GetSizeInBytes

func (sr *SingleRowBlockWriter) GetSizeInBytes() int64

@Override

func (*SingleRowBlockWriter) GetSlice

func (sr *SingleRowBlockWriter) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*SingleRowBlockWriter) GetSliceLength

func (sr *SingleRowBlockWriter) GetSliceLength(position int32) int32

@Override

func (*SingleRowBlockWriter) Hash

func (sr *SingleRowBlockWriter) Hash(position int32, offset int32, length int32) int64

@Override

func (*SingleRowBlockWriter) IsLoaded

func (ik *SingleRowBlockWriter) IsLoaded() bool

func (*SingleRowBlockWriter) IsNull

func (sr *SingleRowBlockWriter) IsNull(position int32) bool

@Override

func (*SingleRowBlockWriter) NewBlockBuilderLike

func (sr *SingleRowBlockWriter) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*SingleRowBlockWriter) WriteByte

func (sr *SingleRowBlockWriter) WriteByte(value byte) BlockBuilder

@Override

func (*SingleRowBlockWriter) WriteBytes

func (sr *SingleRowBlockWriter) WriteBytes(source *slice.Slice, sourceIndex int32, length int32) BlockBuilder

@Override

func (*SingleRowBlockWriter) WriteBytesTo

func (sr *SingleRowBlockWriter) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

func (*SingleRowBlockWriter) WriteInt

func (sr *SingleRowBlockWriter) WriteInt(value int32) BlockBuilder

@Override

func (*SingleRowBlockWriter) WriteLong

func (sr *SingleRowBlockWriter) WriteLong(value int64) BlockBuilder

@Override

func (*SingleRowBlockWriter) WriteShort

func (sr *SingleRowBlockWriter) WriteShort(value int16) BlockBuilder

@Override

type SmallintType

type SmallintType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
}
var SMALLINT *SmallintType = NewSmallintType()

func NewSmallintType

func NewSmallintType() *SmallintType

func (*SmallintType) AppendTo

func (se *SmallintType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*SmallintType) CreateBlockBuilder

func (se *SmallintType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*SmallintType) CreateBlockBuilder2

func (se *SmallintType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*SmallintType) CreateFixedSizeBlockBuilder

func (se *SmallintType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*SmallintType) Equals

func (se *SmallintType) Equals(other Type) bool

@Override @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")

func (*SmallintType) GetBaseName

func (te *SmallintType) GetBaseName() string

@Override

func (*SmallintType) GetBoolean

func (te *SmallintType) GetBoolean(block Block, position int32) bool

@Override

func (*SmallintType) GetDisplayName

func (te *SmallintType) GetDisplayName() string

@Override

func (*SmallintType) GetDouble

func (te *SmallintType) GetDouble(block Block, position int32) float64

@Override

func (*SmallintType) GetFixedSize

func (se *SmallintType) GetFixedSize() int32

@Override

func (*SmallintType) GetGoKind

func (te *SmallintType) GetGoKind() reflect.Kind

@Override

func (*SmallintType) GetLong

func (se *SmallintType) GetLong(block Block, position int32) int64

@Override

func (*SmallintType) GetObject

func (te *SmallintType) GetObject(block Block, position int32) basic.Object

@Override

func (*SmallintType) GetSlice

func (te *SmallintType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*SmallintType) GetTypeId

func (te *SmallintType) GetTypeId() *TypeId

@Override

func (*SmallintType) GetTypeParameters

func (te *SmallintType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*SmallintType) GetTypeSignature

func (te *SmallintType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*SmallintType) IsComparable

func (se *SmallintType) IsComparable() bool

@Override

func (*SmallintType) IsOrderable

func (se *SmallintType) IsOrderable() bool

@Override

func (*SmallintType) WriteBoolean

func (te *SmallintType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*SmallintType) WriteDouble

func (te *SmallintType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*SmallintType) WriteLong

func (se *SmallintType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*SmallintType) WriteObject

func (te *SmallintType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*SmallintType) WriteSlice

func (te *SmallintType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*SmallintType) WriteSlice2

func (te *SmallintType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

*

  • Writes the Slice value into the {@code BlockBuilder}.

@Override

type TimeParametricType

type TimeParametricType struct {
	IParametricType
}

func NewTimeParametricType

func NewTimeParametricType() *TimeParametricType

type TimeType

type TimeType struct {
	// 继承
	AbstractLongType
	// contains filtered or unexported fields
}

func CreateTimeType

func CreateTimeType(precision int32) *TimeType

func NewTimeType

func NewTimeType(precision int32) *TimeType

func (*TimeType) AppendTo

func (te *TimeType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*TimeType) CreateBlockBuilder

func (te *TimeType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*TimeType) CreateBlockBuilder2

func (te *TimeType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*TimeType) Equals

func (te *TimeType) Equals(kind Type) bool

@Override

func (*TimeType) GetBaseName

func (te *TimeType) GetBaseName() string

@Override

func (*TimeType) GetBoolean

func (te *TimeType) GetBoolean(block Block, position int32) bool

@Override

func (*TimeType) GetDisplayName

func (te *TimeType) GetDisplayName() string

@Override

func (*TimeType) GetDouble

func (te *TimeType) GetDouble(block Block, position int32) float64

@Override

func (*TimeType) GetGoKind

func (te *TimeType) GetGoKind() reflect.Kind

@Override

func (*TimeType) GetLong

func (te *TimeType) GetLong(block Block, position int32) int64

@Override

func (*TimeType) GetObject

func (te *TimeType) GetObject(block Block, position int32) basic.Object

@Override

func (*TimeType) GetPrecision

func (te *TimeType) GetPrecision() int32

func (*TimeType) GetSlice

func (te *TimeType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*TimeType) GetTypeId

func (te *TimeType) GetTypeId() *TypeId

@Override

func (*TimeType) GetTypeParameters

func (te *TimeType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*TimeType) GetTypeSignature

func (te *TimeType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*TimeType) IsComparable

func (te *TimeType) IsComparable() bool

@Override

func (*TimeType) IsOrderable

func (te *TimeType) IsOrderable() bool

@Override

func (*TimeType) WriteBoolean

func (te *TimeType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*TimeType) WriteDouble

func (te *TimeType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*TimeType) WriteLong

func (te *TimeType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*TimeType) WriteObject

func (te *TimeType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*TimeType) WriteSlice

func (te *TimeType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*TimeType) WriteSlice2

func (te *TimeType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type TimeWithTimeZoneParametricType

type TimeWithTimeZoneParametricType struct {
	// 继承
	IParametricType
}

func NewTimeWithTimeZoneParametricType

func NewTimeWithTimeZoneParametricType() *TimeWithTimeZoneParametricType

type TimeWithTimeZoneType

type TimeWithTimeZoneType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
	// contains filtered or unexported fields
}

func NewTimeWithTimeZoneType

func NewTimeWithTimeZoneType(precision int32, goKind reflect.Kind) *TimeWithTimeZoneType

func (*TimeWithTimeZoneType) AppendTo

func (te *TimeWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*TimeWithTimeZoneType) CreateBlockBuilder

func (te *TimeWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*TimeWithTimeZoneType) CreateBlockBuilder2

func (te *TimeWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*TimeWithTimeZoneType) Equals

func (te *TimeWithTimeZoneType) Equals(kind Type) bool

@Override

func (*TimeWithTimeZoneType) GetBaseName

func (te *TimeWithTimeZoneType) GetBaseName() string

@Override

func (*TimeWithTimeZoneType) GetBoolean

func (te *TimeWithTimeZoneType) GetBoolean(block Block, position int32) bool

@Override

func (*TimeWithTimeZoneType) GetDisplayName

func (te *TimeWithTimeZoneType) GetDisplayName() string

@Override

func (*TimeWithTimeZoneType) GetDouble

func (te *TimeWithTimeZoneType) GetDouble(block Block, position int32) float64

@Override

func (*TimeWithTimeZoneType) GetGoKind

func (te *TimeWithTimeZoneType) GetGoKind() reflect.Kind

@Override

func (*TimeWithTimeZoneType) GetLong

func (te *TimeWithTimeZoneType) GetLong(block Block, position int32) int64

@Override

func (*TimeWithTimeZoneType) GetObject

func (te *TimeWithTimeZoneType) GetObject(block Block, position int32) basic.Object

@Override

func (*TimeWithTimeZoneType) GetPrecision

func (te *TimeWithTimeZoneType) GetPrecision() int32

func (*TimeWithTimeZoneType) GetSlice

func (te *TimeWithTimeZoneType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*TimeWithTimeZoneType) GetTypeId

func (te *TimeWithTimeZoneType) GetTypeId() *TypeId

@Override

func (*TimeWithTimeZoneType) GetTypeParameters

func (te *TimeWithTimeZoneType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*TimeWithTimeZoneType) GetTypeSignature

func (te *TimeWithTimeZoneType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*TimeWithTimeZoneType) IsComparable

func (te *TimeWithTimeZoneType) IsComparable() bool

@Override

func (*TimeWithTimeZoneType) IsOrderable

func (te *TimeWithTimeZoneType) IsOrderable() bool

@Override

func (*TimeWithTimeZoneType) IsShort

func (te *TimeWithTimeZoneType) IsShort() bool

func (*TimeWithTimeZoneType) WriteBoolean

func (te *TimeWithTimeZoneType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*TimeWithTimeZoneType) WriteDouble

func (te *TimeWithTimeZoneType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*TimeWithTimeZoneType) WriteLong

func (te *TimeWithTimeZoneType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*TimeWithTimeZoneType) WriteObject

func (te *TimeWithTimeZoneType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*TimeWithTimeZoneType) WriteSlice

func (te *TimeWithTimeZoneType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*TimeWithTimeZoneType) WriteSlice2

func (te *TimeWithTimeZoneType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type TimeZoneKey

type TimeZoneKey struct {
	// contains filtered or unexported fields
}

func GetTimeZoneKey

func GetTimeZoneKey(timeZoneKey int16) *TimeZoneKey

@JsonCreator

func GetTimeZoneKeyForOffset

func GetTimeZoneKeyForOffset(offsetMinutes int64) *TimeZoneKey

func NewTimeZoneKey

func NewTimeZoneKey(id string, key int16) *TimeZoneKey

func UnpackZoneKey

func UnpackZoneKey(dateTimeWithTimeZone int64) *TimeZoneKey

public static TimeZoneKey unpackZoneKey(long dateTimeWithTimeZone)

{
	return getTimeZoneKey((short) (dateTimeWithTimeZone & TIME_ZONE_MASK));
}

func (*TimeZoneKey) GetId

func (ty *TimeZoneKey) GetId() string

func (*TimeZoneKey) GetKey

func (ty *TimeZoneKey) GetKey() int16

@JsonValue

func (*TimeZoneKey) ToString

func (ty *TimeZoneKey) ToString() string

@Override

type TimestampParametricType

type TimestampParametricType struct {
	// 继承
	IParametricType
}
var TimestampParametricTypeTIMESTAMP *TimestampParametricType = NewTimestampParametricType()

func NewTimestampParametricType

func NewTimestampParametricType() *TimestampParametricType

type TimestampType

type TimestampType struct {
	// 继承
	AbstractType

	// 继承
	FixedWidthType
	// contains filtered or unexported fields
}

func NewTimestampType

func NewTimestampType(precision int32, goKind reflect.Kind) *TimestampType

func (*TimestampType) AppendTo

func (te *TimestampType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*TimestampType) CreateBlockBuilder

func (te *TimestampType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*TimestampType) CreateBlockBuilder2

func (te *TimestampType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*TimestampType) Equals

func (te *TimestampType) Equals(kind Type) bool

@Override

func (*TimestampType) GetBaseName

func (te *TimestampType) GetBaseName() string

@Override

func (*TimestampType) GetBoolean

func (te *TimestampType) GetBoolean(block Block, position int32) bool

@Override

func (*TimestampType) GetDisplayName

func (te *TimestampType) GetDisplayName() string

@Override

func (*TimestampType) GetDouble

func (te *TimestampType) GetDouble(block Block, position int32) float64

@Override

func (*TimestampType) GetGoKind

func (te *TimestampType) GetGoKind() reflect.Kind

@Override

func (*TimestampType) GetLong

func (te *TimestampType) GetLong(block Block, position int32) int64

@Override

func (*TimestampType) GetObject

func (te *TimestampType) GetObject(block Block, position int32) basic.Object

@Override

func (*TimestampType) GetPrecision

func (te *TimestampType) GetPrecision() int32

func (*TimestampType) GetSlice

func (te *TimestampType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*TimestampType) GetTypeId

func (te *TimestampType) GetTypeId() *TypeId

@Override

func (*TimestampType) GetTypeParameters

func (te *TimestampType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*TimestampType) GetTypeSignature

func (te *TimestampType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*TimestampType) IsComparable

func (te *TimestampType) IsComparable() bool

@Override

func (*TimestampType) IsOrderable

func (te *TimestampType) IsOrderable() bool

@Override

func (*TimestampType) IsShort

func (te *TimestampType) IsShort() bool

func (*TimestampType) WriteBoolean

func (te *TimestampType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*TimestampType) WriteDouble

func (te *TimestampType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*TimestampType) WriteLong

func (te *TimestampType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*TimestampType) WriteObject

func (te *TimestampType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*TimestampType) WriteSlice

func (te *TimestampType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*TimestampType) WriteSlice2

func (te *TimestampType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type TimestampWithTimeZoneParametricType

type TimestampWithTimeZoneParametricType struct {
	// 继承
	IParametricType
}

func NewTimestampWithTimeZoneParametricType

func NewTimestampWithTimeZoneParametricType() *TimestampWithTimeZoneParametricType

func (*TimestampWithTimeZoneParametricType) Equals

@Override

type TimestampWithTimeZoneType

type TimestampWithTimeZoneType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
	// contains filtered or unexported fields
}

func NewTimestampWithTimeZoneType

func NewTimestampWithTimeZoneType(precision int32, goKind reflect.Kind) *TimestampWithTimeZoneType

func (*TimestampWithTimeZoneType) AppendTo

func (te *TimestampWithTimeZoneType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*TimestampWithTimeZoneType) CreateBlockBuilder

func (te *TimestampWithTimeZoneType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*TimestampWithTimeZoneType) CreateBlockBuilder2

func (te *TimestampWithTimeZoneType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*TimestampWithTimeZoneType) Equals

func (te *TimestampWithTimeZoneType) Equals(kind Type) bool

@Override

func (*TimestampWithTimeZoneType) GetBaseName

func (te *TimestampWithTimeZoneType) GetBaseName() string

@Override

func (*TimestampWithTimeZoneType) GetBoolean

func (te *TimestampWithTimeZoneType) GetBoolean(block Block, position int32) bool

@Override

func (*TimestampWithTimeZoneType) GetDisplayName

func (te *TimestampWithTimeZoneType) GetDisplayName() string

@Override

func (*TimestampWithTimeZoneType) GetDouble

func (te *TimestampWithTimeZoneType) GetDouble(block Block, position int32) float64

@Override

func (*TimestampWithTimeZoneType) GetGoKind

func (te *TimestampWithTimeZoneType) GetGoKind() reflect.Kind

@Override

func (*TimestampWithTimeZoneType) GetLong

func (te *TimestampWithTimeZoneType) GetLong(block Block, position int32) int64

@Override

func (*TimestampWithTimeZoneType) GetObject

func (te *TimestampWithTimeZoneType) GetObject(block Block, position int32) basic.Object

@Override

func (*TimestampWithTimeZoneType) GetPrecision

func (te *TimestampWithTimeZoneType) GetPrecision() int32

func (*TimestampWithTimeZoneType) GetSlice

func (te *TimestampWithTimeZoneType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*TimestampWithTimeZoneType) GetTypeId

func (te *TimestampWithTimeZoneType) GetTypeId() *TypeId

@Override

func (*TimestampWithTimeZoneType) GetTypeParameters

func (te *TimestampWithTimeZoneType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*TimestampWithTimeZoneType) GetTypeSignature

func (te *TimestampWithTimeZoneType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*TimestampWithTimeZoneType) IsComparable

func (te *TimestampWithTimeZoneType) IsComparable() bool

@Override

func (*TimestampWithTimeZoneType) IsOrderable

func (te *TimestampWithTimeZoneType) IsOrderable() bool

@Override

func (*TimestampWithTimeZoneType) IsShort

func (te *TimestampWithTimeZoneType) IsShort() bool

func (*TimestampWithTimeZoneType) WriteBoolean

func (te *TimestampWithTimeZoneType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*TimestampWithTimeZoneType) WriteDouble

func (te *TimestampWithTimeZoneType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*TimestampWithTimeZoneType) WriteLong

func (te *TimestampWithTimeZoneType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*TimestampWithTimeZoneType) WriteObject

func (te *TimestampWithTimeZoneType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*TimestampWithTimeZoneType) WriteSlice

func (te *TimestampWithTimeZoneType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*TimestampWithTimeZoneType) WriteSlice2

func (te *TimestampWithTimeZoneType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type TinyintType

type TinyintType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
}
var TINYINT *TinyintType = NewTinyintType()

func NewTinyintType

func NewTinyintType() *TinyintType

func (*TinyintType) AppendTo

func (te *TinyintType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*TinyintType) CreateBlockBuilder

func (te *TinyintType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*TinyintType) CreateBlockBuilder2

func (te *TinyintType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*TinyintType) CreateFixedSizeBlockBuilder

func (te *TinyintType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*TinyintType) Equals

func (te *TinyintType) Equals(kind Type) bool

@Override

func (*TinyintType) GetBaseName

func (te *TinyintType) GetBaseName() string

@Override

func (*TinyintType) GetBoolean

func (te *TinyintType) GetBoolean(block Block, position int32) bool

@Override

func (*TinyintType) GetDisplayName

func (te *TinyintType) GetDisplayName() string

@Override

func (*TinyintType) GetDouble

func (te *TinyintType) GetDouble(block Block, position int32) float64

@Override

func (*TinyintType) GetFixedSize

func (te *TinyintType) GetFixedSize() int32

@Override

func (*TinyintType) GetGoKind

func (te *TinyintType) GetGoKind() reflect.Kind

@Override

func (*TinyintType) GetLong

func (te *TinyintType) GetLong(block Block, position int32) int64

@Override

func (*TinyintType) GetObject

func (te *TinyintType) GetObject(block Block, position int32) basic.Object

@Override

func (*TinyintType) GetSlice

func (te *TinyintType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*TinyintType) GetTypeId

func (te *TinyintType) GetTypeId() *TypeId

@Override

func (*TinyintType) GetTypeParameters

func (te *TinyintType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*TinyintType) GetTypeSignature

func (te *TinyintType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*TinyintType) IsComparable

func (te *TinyintType) IsComparable() bool

@Override

func (*TinyintType) IsOrderable

func (te *TinyintType) IsOrderable() bool

@Override

func (*TinyintType) WriteBoolean

func (te *TinyintType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*TinyintType) WriteDouble

func (te *TinyintType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*TinyintType) WriteLong

func (te *TinyintType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*TinyintType) WriteObject

func (te *TinyintType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*TinyintType) WriteSlice

func (te *TinyintType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*TinyintType) WriteSlice2

func (te *TinyintType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type Type

type Type interface {

	/**
	 * Gets the name of this type which must be case insensitive globally unique.
	 */
	GetTypeSignature() *TypeSignature

	GetTypeId() *TypeId

	/**
	 * Returns the base name of this type. For simple types, it is the type name.
	 * For complex types (row, array, etc), it is the type name without any parameters.
	 */
	GetBaseName() string

	/**
	 * Returns the name of this type that should be displayed to end-users.
	 */
	GetDisplayName() string

	/**
	 * True if the type supports equalTo and hash.
	 */
	IsComparable() bool

	/**
	 * True if the type supports compareTo.
	 */
	IsOrderable() bool

	/**
	 * Gets the Java class type used to represent this value on the stack during
	 * expression execution.
	 * <p>
	 * Currently, this can be {@code boolean}, {@code long}, {@code double}, or a non-primitive type.
	 */
	GetGoKind() reflect.Kind

	/**
	 * For parameterized types returns the list of parameters.
	 */
	GetTypeParameters() *util.ArrayList[Type]

	/**
	 * Creates the preferred block builder for this type. This is the builder used to
	 * store values after an expression projection within the query.
	 */
	CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

	/**
	 * Creates the preferred block builder for this type. This is the builder used to
	 * store values after an expression projection within the query.
	 */
	CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

	/**
	 * Gets the value at the {@code block} {@code position} as a boolean.
	 */
	GetBoolean(block Block, position int32) bool

	/**
	 * Gets the value at the {@code block} {@code position} as a long.
	 */
	GetLong(block Block, position int32) int64

	/**
	 * Gets the value at the {@code block} {@code position} as a double.
	 */
	GetDouble(block Block, position int32) float64

	/**
	 * Gets the value at the {@code block} {@code position} as a Slice.
	 */
	GetSlice(block Block, position int32) *slice.Slice

	/**
	 * Gets the value at the {@code block} {@code position} as an Object.
	 */
	GetObject(block Block, position int32) basic.Object

	/**
	 * Writes the boolean value into the {@code BlockBuilder}.
	 */
	WriteBoolean(blockBuilder BlockBuilder, value bool)

	/**
	 * Writes the long value into the {@code BlockBuilder}.
	 */
	WriteLong(blockBuilder BlockBuilder, value int64)

	/**
	 * Writes the double value into the {@code BlockBuilder}.
	 */
	WriteDouble(blockBuilder BlockBuilder, value float64)

	/**
	 * Writes the Slice value into the {@code BlockBuilder}.
	 */
	WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

	/**
	 * Writes the Slice value into the {@code BlockBuilder}.
	 */
	WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

	/**
	 * Writes the Object value into the {@code BlockBuilder}.
	 */
	WriteObject(blockBuilder BlockBuilder, value basic.Object)

	/**
	 * Append the value at {@code position} in {@code block} to {@code blockBuilder}.
	 */
	AppendTo(block Block, position int32, blockBuilder BlockBuilder)

	/**
	 * 判断是否相同
	 */
	Equals(kind Type) bool
}

type TypeId

type TypeId struct {
	// contains filtered or unexported fields
}

func NewTypeId

func NewTypeId(id string) *TypeId

func OfTypeId

func OfTypeId(id string) *TypeId

@JsonCreator

func (*TypeId) GetId

func (td *TypeId) GetId() string

@JsonValue

func (*TypeId) ToString

func (td *TypeId) ToString() string

@Override

type TypeManager

type TypeManager interface {

	/**
	 * Gets the type with the specified signature.
	 *
	 * @throws TypeNotFoundException if not found
	 */
	GetType(signature *TypeSignature) Type
}

type TypeParameter

type TypeParameter struct {
	// contains filtered or unexported fields
}

func NewTypeParameter

func NewTypeParameter(kind ParameterKind, value basic.Object) *TypeParameter

func Of5

func Of5(parameter *TypeSignatureParameter, typeManager TypeManager) *TypeParameter

func OfLong

func OfLong(longLiteral int64) *TypeParameter

func OfNameType

func OfNameType(namedType *NamedType) *TypeParameter

func OfType

func OfType(ts Type) *TypeParameter

func OfVariable

func OfVariable(variable string) *TypeParameter

func (*TypeParameter) GetKind

func (tr *TypeParameter) GetKind() ParameterKind

func (*TypeParameter) GetLongLiteral

func (tr *TypeParameter) GetLongLiteral() int64

func (*TypeParameter) GetNamedType

func (tr *TypeParameter) GetNamedType() *NamedType

func (*TypeParameter) GetType

func (tr *TypeParameter) GetType() Type

func (*TypeParameter) GetVariable

func (tr *TypeParameter) GetVariable() string

func (*TypeParameter) IsLongLiteral

func (tr *TypeParameter) IsLongLiteral() bool

type TypeSignature

type TypeSignature struct {
	// contains filtered or unexported fields
}

func F_RowType

func F_RowType(fields ...*TypeSignatureParameter) *TypeSignature

func F_RowType2

func F_RowType2(fields *util.ArrayList[*TypeSignatureParameter]) *TypeSignature

func FunctionType

func FunctionType(first *TypeSignature, rest ...*TypeSignature) *TypeSignature

func GetParametrizedVarcharSignature

func GetParametrizedVarcharSignature(param string) *TypeSignature

func MapTypeValue

func MapTypeValue(keyType *TypeSignature, valueType *TypeSignature) *TypeSignature

func NewTypeSignature

func NewTypeSignature(base string, parameters ...*TypeSignatureParameter) *TypeSignature

func NewTypeSignature2

func NewTypeSignature2(base string, parameters *util.ArrayList[*TypeSignatureParameter]) *TypeSignature

func ParametricType

func ParametricType(name string, parameters ...*TypeSignature) *TypeSignature

func Sig_ArrayType

func Sig_ArrayType(elementType *TypeSignature) *TypeSignature

func Sig_ArrayType2

func Sig_ArrayType2(elementType *TypeSignatureParameter) *TypeSignature

func (*TypeSignature) GetBase

func (te *TypeSignature) GetBase() string

func (*TypeSignature) GetParameters

func (te *TypeSignature) GetParameters() *util.ArrayList[*TypeSignatureParameter]

public List<TypeSignatureParameter> getParameters()

func (*TypeSignature) GetTypeParametersAsTypeSignatures

func (te *TypeSignature) GetTypeParametersAsTypeSignatures() *util.ArrayList[*TypeSignature]

func (*TypeSignature) IsCalculated

func (te *TypeSignature) IsCalculated() bool

func (*TypeSignature) ToString

func (te *TypeSignature) ToString() string

type TypeSignatureParameter

type TypeSignatureParameter struct {
	// contains filtered or unexported fields
}

func AnonymousField

func AnonymousField(ts *TypeSignature) *TypeSignatureParameter

func NamedField

func NamedField(name string, ts *TypeSignature) *TypeSignatureParameter

func NamedTypeParameter

func NamedTypeParameter(namedTypeSignature *NamedTypeSignature) *TypeSignatureParameter

func NewTypeSignatureParameter

func NewTypeSignatureParameter(kind ParameterKind, value basic.Object) *TypeSignatureParameter

func NumericParameter

func NumericParameter(longLiteral int64) *TypeSignatureParameter

func TSP_TypeParameter

func TSP_TypeParameter(typeSignature *TypeSignature) *TypeSignatureParameter

func TypeVariable

func TypeVariable(variable string) *TypeSignatureParameter

func (*TypeSignatureParameter) GetKind

func (tr *TypeSignatureParameter) GetKind() ParameterKind

func (*TypeSignatureParameter) GetLongLiteral

func (tr *TypeSignatureParameter) GetLongLiteral() int64

func (*TypeSignatureParameter) GetNamedTypeSignature

func (tr *TypeSignatureParameter) GetNamedTypeSignature() *NamedTypeSignature

func (*TypeSignatureParameter) GetTypeSignature

func (tr *TypeSignatureParameter) GetTypeSignature() *TypeSignature

func (*TypeSignatureParameter) GetTypeSignatureOrNamedTypeSignature

func (tr *TypeSignatureParameter) GetTypeSignatureOrNamedTypeSignature() *optional.Optional[*TypeSignature]

func (*TypeSignatureParameter) GetVariable

func (tr *TypeSignatureParameter) GetVariable() string

func (*TypeSignatureParameter) IsCalculated

func (tr *TypeSignatureParameter) IsCalculated() bool

func (*TypeSignatureParameter) IsLongLiteral

func (tr *TypeSignatureParameter) IsLongLiteral() bool

func (*TypeSignatureParameter) IsNamedTypeSignature

func (tr *TypeSignatureParameter) IsNamedTypeSignature() bool

func (*TypeSignatureParameter) IsTypeSignature

func (tr *TypeSignatureParameter) IsTypeSignature() bool

func (*TypeSignatureParameter) IsVariable

func (tr *TypeSignatureParameter) IsVariable() bool

type Uint128

type Uint128 struct {
	// contains filtered or unexported fields
}

func DifferenceU128

func DifferenceU128(a, b Uint128) Uint128

DifferenceU128 subtracts the smaller of a and b from the larger.

func LargerU128

func LargerU128(a, b Uint128) Uint128

func MustU128FromBigEndian

func MustU128FromBigEndian(b []byte) Uint128

Decode 16 bytes as a big-endian Uint128. Panics if len(b) < 16.

func MustU128FromBigInt

func MustU128FromBigInt(b *big.Int) Uint128

func MustU128FromFloat32

func MustU128FromFloat32(f float32) Uint128

func MustU128FromFloat64

func MustU128FromFloat64(f float64) Uint128

func MustU128FromI64

func MustU128FromI64(v int64) (out Uint128)

func MustU128FromLittleEndian

func MustU128FromLittleEndian(b []byte) Uint128

Decode 16 bytes as a little-endian Uint128. Panics if len(b) < 16.

func MustU128FromString

func MustU128FromString(s string) Uint128

func RandU128

func RandU128(source RandSource) (out Uint128)

RandU128 generates an unsigned 128-bit random integer from an external source.

func SmallerU128

func SmallerU128(a, b Uint128) Uint128

func U128From16

func U128From16(v uint16) Uint128

func U128From32

func U128From32(v uint32) Uint128

func U128From64

func U128From64(v uint64) Uint128

func U128From8

func U128From8(v uint8) Uint128

func U128FromBigInt

func U128FromBigInt(v *big.Int) (out Uint128, inRange bool)

U128FromBigInt creates a Uint128 from a big.Int. Overflow truncates to MaxU128 and sets inRange to 'false'.

func U128FromFloat32

func U128FromFloat32(f float32) (out Uint128, inRange bool)

func U128FromFloat64

func U128FromFloat64(f float64) (out Uint128, inRange bool)

U128FromFloat64 creates a Uint128 from a float64.

Any fractional portion will be truncated towards zero.

Floats outside the bounds of a Uint128 may be discarded or clamped and inRange will be set to false.

NaN is treated as 0, inRange is set to false. This may change to a panic at some point.

func U128FromI64

func U128FromI64(v int64) (out Uint128, inRange bool)

U128FromI64 creates a Uint128 from an int64 if the conversion is possible, and sets inRange to false if not.

func U128FromRaw

func U128FromRaw(hi, lo uint64) Uint128

U128FromRaw is the complement to Uint128.Raw(); it creates an Uint128 from two uint64s representing the hi and lo bits.

func U128FromString

func U128FromString(s string) (out Uint128, inRange bool, err error)

U128FromString creates a Uint128 from a string. Overflow truncates to MaxU128 and sets inRange to 'false'. Only decimal strings are currently supported.

func U128FromUint

func U128FromUint(v uint) Uint128

func (Uint128) Add

func (u Uint128) Add(n Uint128) (v Uint128)

func (Uint128) Add64

func (u Uint128) Add64(n uint64) (v Uint128)

func (Uint128) And

func (u Uint128) And(n Uint128) Uint128

func (Uint128) And64

func (u Uint128) And64(n uint64) Uint128

func (Uint128) AndNot

func (u Uint128) AndNot(n Uint128) Uint128

func (Uint128) AsBigFloat

func (u Uint128) AsBigFloat() (b *big.Float)

func (Uint128) AsBigInt

func (u Uint128) AsBigInt() (b *big.Int)

AsBigInt returns the Uint128 as a big.Int. This will allocate memory. If performance is a concern and you are able to re-use memory, use Uint128.IntoBigInt().

func (Uint128) AsFloat64

func (u Uint128) AsFloat64() float64

func (Uint128) AsI128

func (u Uint128) AsI128() Int128

AsI128 performs a direct cast of a Uint128 to an Int128, which will interpret it as a two's complement value.

func (Uint128) AsUint64

func (u Uint128) AsUint64() uint64

AsUint64 truncates the Uint128 to fit in a uint64. Values outside the range will over/underflow. See IsUint64() if you want to check before you convert.

func (Uint128) Bit

func (u Uint128) Bit(i int) uint

Bit returns the value of the i'th bit of x. That is, it returns (x>>i)&1. The bit index i must be 0 <= i < 128

func (Uint128) BitLen

func (u Uint128) BitLen() int

BitLen returns the length of the absolute value of u in bits. The bit length of 0 is 0.

func (Uint128) Cmp

func (u Uint128) Cmp(n Uint128) int

Cmp compares 'u' to 'n' and returns:

< 0 if u <  n
  0 if u == n
> 0 if u >  n

The specific value returned by Cmp is undefined, but it is guaranteed to satisfy the above constraints.

func (Uint128) Cmp64

func (u Uint128) Cmp64(n uint64) int

func (Uint128) Dec

func (u Uint128) Dec() (v Uint128)

func (Uint128) Equal

func (u Uint128) Equal(n Uint128) bool

func (Uint128) Equal64

func (u Uint128) Equal64(n uint64) bool

func (Uint128) Format

func (u Uint128) Format(s fmt.State, c rune)

func (Uint128) GreaterOrEqualTo

func (u Uint128) GreaterOrEqualTo(n Uint128) bool

func (Uint128) GreaterOrEqualTo64

func (u Uint128) GreaterOrEqualTo64(n uint64) bool

func (Uint128) GreaterThan

func (u Uint128) GreaterThan(n Uint128) bool

func (Uint128) GreaterThan64

func (u Uint128) GreaterThan64(n uint64) bool

func (Uint128) Inc

func (u Uint128) Inc() (v Uint128)

func (Uint128) IntoBigInt

func (u Uint128) IntoBigInt(b *big.Int)

func (Uint128) IsI128

func (u Uint128) IsI128() bool

IsI128 reports whether i can be represented in an Int128.

func (Uint128) IsUint64

func (u Uint128) IsUint64() bool

IsUint64 reports whether u can be represented as a uint64.

func (Uint128) IsZero

func (u Uint128) IsZero() bool

func (Uint128) LeadingZeros

func (u Uint128) LeadingZeros() uint

func (Uint128) LessOrEqualTo

func (u Uint128) LessOrEqualTo(n Uint128) bool

func (Uint128) LessOrEqualTo64

func (u Uint128) LessOrEqualTo64(n uint64) bool

func (Uint128) LessThan

func (u Uint128) LessThan(n Uint128) bool

func (Uint128) LessThan64

func (u Uint128) LessThan64(n uint64) bool

func (Uint128) Lsh

func (u Uint128) Lsh(n uint) (v Uint128)

func (Uint128) MarshalJSON

func (u Uint128) MarshalJSON() ([]byte, error)

func (Uint128) MarshalText

func (u Uint128) MarshalText() ([]byte, error)

func (Uint128) Mul

func (u Uint128) Mul(n Uint128) Uint128

func (Uint128) Mul64

func (u Uint128) Mul64(n uint64) (dest Uint128)

func (Uint128) MustUint64

func (u Uint128) MustUint64() uint64

MustUint64 converts i to an unsigned 64-bit integer if the conversion would succeed, and panics if it would not.

func (Uint128) Not

func (u Uint128) Not() (out Uint128)

func (Uint128) OnesCount

func (u Uint128) OnesCount() int

OnesCount returns the number of one bits ("population count") in u.

func (Uint128) Or

func (u Uint128) Or(n Uint128) (out Uint128)

func (Uint128) Or64

func (u Uint128) Or64(n uint64) Uint128

func (Uint128) PutBigEndian

func (u Uint128) PutBigEndian(b []byte)

Put big-endian encoded bytes representing this Uint128 into byte slice b. len(b) must be >= 16.

func (Uint128) PutLittleEndian

func (u Uint128) PutLittleEndian(b []byte)

Put little-endian encoded bytes representing this Uint128 into byte slice b. len(b) must be >= 16.

func (Uint128) Quo

func (u Uint128) Quo(by Uint128) (q Uint128)

Quo returns the quotient x/y for y != 0. If y == 0, a division-by-zero run-time panic occurs. Quo implements truncated division (like Go); see QuoRem for more details.

func (Uint128) Quo64

func (u Uint128) Quo64(by uint64) (q Uint128)

func (Uint128) QuoRem

func (u Uint128) QuoRem(by Uint128) (q, r Uint128)

QuoRem returns the quotient q and remainder r for y != 0. If y == 0, a division-by-zero run-time panic occurs.

QuoRem implements T-division and modulus (like Go):

q = x/y      with the result truncated to zero
r = x - y*q

Uint128 does not support big.Int.DivMod()-style Euclidean division.

func (Uint128) QuoRem64

func (u Uint128) QuoRem64(by uint64) (q, r Uint128)

func (Uint128) Raw

func (u Uint128) Raw() (hi, lo uint64)

Raw returns access to the Uint128 as a pair of uint64s. See U128FromRaw() for the counterpart.

func (Uint128) Rem

func (u Uint128) Rem(by Uint128) (r Uint128)

Rem returns the remainder of x%y for y != 0. If y == 0, a division-by-zero run-time panic occurs. Rem implements truncated modulus (like Go); see QuoRem for more details.

func (Uint128) Rem64

func (u Uint128) Rem64(by uint64) (r Uint128)

func (Uint128) Reverse

func (u Uint128) Reverse() Uint128

func (Uint128) ReverseBytes

func (u Uint128) ReverseBytes() Uint128

func (Uint128) RotateLeft

func (u Uint128) RotateLeft(k int) Uint128

To rotate u right by k bits, call u.RotateLeft(-k).

func (Uint128) Rsh

func (u Uint128) Rsh(n uint) (v Uint128)

func (*Uint128) Scan

func (u *Uint128) Scan(state fmt.ScanState, verb rune) error

func (Uint128) SetBit

func (u Uint128) SetBit(i int, b uint) (out Uint128)

SetBit returns a Uint128 with u's i'th bit set to b (0 or 1). If b is not 0 or 1, SetBit will panic. If i < 0, SetBit will panic.

func (Uint128) String

func (u Uint128) String() string

func (Uint128) Sub

func (u Uint128) Sub(n Uint128) (v Uint128)

func (Uint128) Sub64

func (u Uint128) Sub64(n uint64) (v Uint128)

func (Uint128) TrailingZeros

func (u Uint128) TrailingZeros() uint

func (*Uint128) UnmarshalJSON

func (u *Uint128) UnmarshalJSON(bts []byte) (err error)

func (*Uint128) UnmarshalText

func (u *Uint128) UnmarshalText(bts []byte) (err error)

func (Uint128) Xor

func (u Uint128) Xor(v Uint128) Uint128

func (Uint128) Xor64

func (u Uint128) Xor64(v uint64) Uint128

type Utils

type Utils struct {
}

type UuidType

type UuidType struct {
	// 继承
	AbstractType
	// 继承
	FixedWidthType
}
var UuidTypeUUID *UuidType = NewUuidType()

func NewUuidType

func NewUuidType() *UuidType

func (*UuidType) AppendTo

func (ue *UuidType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*UuidType) CreateBlockBuilder

func (ue *UuidType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*UuidType) CreateBlockBuilder2

func (ue *UuidType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*UuidType) CreateFixedSizeBlockBuilder

func (ue *UuidType) CreateFixedSizeBlockBuilder(positionCount int32) BlockBuilder

@Override

func (*UuidType) GetFixedSize

func (ue *UuidType) GetFixedSize() int32

@Override

func (*UuidType) GetSlice

func (ue *UuidType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*UuidType) IsComparable

func (ue *UuidType) IsComparable() bool

@Override

func (*UuidType) IsOrderable

func (ue *UuidType) IsOrderable() bool

@Override

func (*UuidType) WriteSlice

func (ue *UuidType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*UuidType) WriteSlice2

func (ue *UuidType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type VarbinaryType

type VarbinaryType struct {
	// 继承
	AbstractVariableWidthType
}
var VARBINARY *VarbinaryType = NewVarbinaryType()

func NewVarbinaryType

func NewVarbinaryType() *VarbinaryType

func (*VarbinaryType) AppendTo

func (ve *VarbinaryType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*VarbinaryType) CreateBlockBuilder

func (te *VarbinaryType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*VarbinaryType) Equals

func (te *VarbinaryType) Equals(kind Type) bool

@Override

func (*VarbinaryType) GetBaseName

func (te *VarbinaryType) GetBaseName() string

@Override

func (*VarbinaryType) GetBoolean

func (te *VarbinaryType) GetBoolean(block Block, position int32) bool

@Override

func (*VarbinaryType) GetDisplayName

func (te *VarbinaryType) GetDisplayName() string

@Override

func (*VarbinaryType) GetDouble

func (te *VarbinaryType) GetDouble(block Block, position int32) float64

@Override

func (*VarbinaryType) GetGoKind

func (te *VarbinaryType) GetGoKind() reflect.Kind

@Override

func (*VarbinaryType) GetLong

func (te *VarbinaryType) GetLong(block Block, position int32) int64

@Override

func (*VarbinaryType) GetObject

func (te *VarbinaryType) GetObject(block Block, position int32) basic.Object

@Override

func (*VarbinaryType) GetSlice

func (ve *VarbinaryType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*VarbinaryType) GetTypeId

func (te *VarbinaryType) GetTypeId() *TypeId

@Override

func (*VarbinaryType) GetTypeParameters

func (te *VarbinaryType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*VarbinaryType) GetTypeSignature

func (te *VarbinaryType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*VarbinaryType) IsComparable

func (ve *VarbinaryType) IsComparable() bool

@Override

func (*VarbinaryType) IsOrderable

func (ve *VarbinaryType) IsOrderable() bool

@Override

func (*VarbinaryType) WriteBoolean

func (te *VarbinaryType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*VarbinaryType) WriteDouble

func (te *VarbinaryType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*VarbinaryType) WriteLong

func (te *VarbinaryType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*VarbinaryType) WriteObject

func (te *VarbinaryType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*VarbinaryType) WriteSlice

func (ve *VarbinaryType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*VarbinaryType) WriteSlice2

func (ve *VarbinaryType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

type VarcharType

type VarcharType struct {
	// 继承
	AbstractVariableWidthType
	// contains filtered or unexported fields
}

func CreateUnboundedVarcharType

func CreateUnboundedVarcharType() *VarcharType

func CreateVarcharType

func CreateVarcharType(length int32) *VarcharType

func NewVarcharType

func NewVarcharType(length int32) *VarcharType

func (*VarcharType) AppendTo

func (ve *VarcharType) AppendTo(block Block, position int32, blockBuilder BlockBuilder)

@Override

func (*VarcharType) CreateBlockBuilder

func (te *VarcharType) CreateBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytesPerEntry int32) BlockBuilder

@Override

func (*VarcharType) CreateBlockBuilder2

func (ve *VarcharType) CreateBlockBuilder2(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32) BlockBuilder

@Override

func (*VarcharType) Equals

func (te *VarcharType) Equals(kind Type) bool

@Override

func (*VarcharType) GetBaseName

func (te *VarcharType) GetBaseName() string

@Override

func (*VarcharType) GetBoolean

func (te *VarcharType) GetBoolean(block Block, position int32) bool

@Override

func (*VarcharType) GetBoundedLength

func (ve *VarcharType) GetBoundedLength() int32

func (*VarcharType) GetDisplayName

func (te *VarcharType) GetDisplayName() string

@Override

func (*VarcharType) GetDouble

func (te *VarcharType) GetDouble(block Block, position int32) float64

@Override

func (*VarcharType) GetGoKind

func (te *VarcharType) GetGoKind() reflect.Kind

@Override

func (*VarcharType) GetLength

func (ve *VarcharType) GetLength() *optional.Optional[int32]

func (*VarcharType) GetLong

func (te *VarcharType) GetLong(block Block, position int32) int64

@Override

func (*VarcharType) GetObject

func (te *VarcharType) GetObject(block Block, position int32) basic.Object

@Override

func (*VarcharType) GetSlice

func (ve *VarcharType) GetSlice(block Block, position int32) *slice.Slice

@Override

func (*VarcharType) GetTypeId

func (te *VarcharType) GetTypeId() *TypeId

@Override

func (*VarcharType) GetTypeParameters

func (te *VarcharType) GetTypeParameters() *util.ArrayList[Type]

@Override

func (*VarcharType) GetTypeSignature

func (te *VarcharType) GetTypeSignature() *TypeSignature

继承Type @Override

func (*VarcharType) IsComparable

func (ve *VarcharType) IsComparable() bool

@Override

func (*VarcharType) IsOrderable

func (ve *VarcharType) IsOrderable() bool

@Override

func (*VarcharType) IsUnbounded

func (ve *VarcharType) IsUnbounded() bool

func (*VarcharType) WriteBoolean

func (te *VarcharType) WriteBoolean(blockBuilder BlockBuilder, value bool)

@Override

func (*VarcharType) WriteDouble

func (te *VarcharType) WriteDouble(blockBuilder BlockBuilder, value float64)

@Override

func (*VarcharType) WriteLong

func (te *VarcharType) WriteLong(blockBuilder BlockBuilder, value int64)

@Override

func (*VarcharType) WriteObject

func (te *VarcharType) WriteObject(blockBuilder BlockBuilder, value basic.Object)

@Override

func (*VarcharType) WriteSlice

func (ve *VarcharType) WriteSlice(blockBuilder BlockBuilder, value *slice.Slice)

@Override

func (*VarcharType) WriteSlice2

func (ve *VarcharType) WriteSlice2(blockBuilder BlockBuilder, value *slice.Slice, offset int32, length int32)

@Override

func (*VarcharType) WriteString

func (ve *VarcharType) WriteString(blockBuilder BlockBuilder, value string)

type VariableWidthBlock

type VariableWidthBlock struct {
	// 继承
	AbstractVariableWidthBlock
	// contains filtered or unexported fields
}

func NewVariableWidthBlock

func NewVariableWidthBlock(positionCount int32, slice *slice.Slice, offsets []int32, valueIsNull *optional.Optional[[]bool]) *VariableWidthBlock

func NewVariableWidthBlock2

func NewVariableWidthBlock2(arrayOffset int32, positionCount int32, slice *slice.Slice, offsets []int32, valueIsNull []bool) *VariableWidthBlock

func (*VariableWidthBlock) BytesCompare

func (ak *VariableWidthBlock) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*VariableWidthBlock) BytesEqual

func (ak *VariableWidthBlock) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*VariableWidthBlock) CompareTo

func (ak *VariableWidthBlock) CompareTo(position int32, offset int32, length int32, otherBlock Block, otherPosition int32, otherOffset int32, otherLength int32) int32

@Override

func (*VariableWidthBlock) CopyPositions

func (vk *VariableWidthBlock) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*VariableWidthBlock) CopyRegion

func (vk *VariableWidthBlock) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*VariableWidthBlock) Equals

func (ak *VariableWidthBlock) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*VariableWidthBlock) GetByte

func (ak *VariableWidthBlock) GetByte(position int32, offset int32) byte

所有父类 @Override

func (*VariableWidthBlock) GetChildren

func (ik *VariableWidthBlock) GetChildren() *util.ArrayList[Block]

func (*VariableWidthBlock) GetEstimatedDataSizeForStats

func (ak *VariableWidthBlock) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*VariableWidthBlock) GetInt

func (ak *VariableWidthBlock) GetInt(position int32, offset int32) int32

@Override

func (*VariableWidthBlock) GetLoadedBlock

func (ak *VariableWidthBlock) GetLoadedBlock() Block

func (*VariableWidthBlock) GetLong

func (ak *VariableWidthBlock) GetLong(position int32, offset int32) int64

@Override

func (*VariableWidthBlock) GetPositionCount

func (vk *VariableWidthBlock) GetPositionCount() int32

@Override

func (*VariableWidthBlock) GetPositionsSizeInBytes

func (vk *VariableWidthBlock) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*VariableWidthBlock) GetRegion

func (vk *VariableWidthBlock) GetRegion(positionOffset int32, length int32) Block

@Override

func (*VariableWidthBlock) GetRegionSizeInBytes

func (vk *VariableWidthBlock) GetRegionSizeInBytes(position int32, length int32) int64

@Override

func (*VariableWidthBlock) GetRetainedSizeInBytes

func (vk *VariableWidthBlock) GetRetainedSizeInBytes() int64

@Override

func (*VariableWidthBlock) GetShort

func (ak *VariableWidthBlock) GetShort(position int32, offset int32) int16

@Override

func (*VariableWidthBlock) GetSingleValueBlock

func (ak *VariableWidthBlock) GetSingleValueBlock(position int32) Block

@Override

func (*VariableWidthBlock) GetSizeInBytes

func (vk *VariableWidthBlock) GetSizeInBytes() int64

@Override

func (*VariableWidthBlock) GetSlice

func (ak *VariableWidthBlock) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*VariableWidthBlock) GetSliceLength

func (vk *VariableWidthBlock) GetSliceLength(position int32) int32

@Override

func (*VariableWidthBlock) Hash

func (ak *VariableWidthBlock) Hash(position int32, offset int32, length int32) int64

@Override

func (*VariableWidthBlock) IsLoaded

func (ak *VariableWidthBlock) IsLoaded() bool

func (*VariableWidthBlock) IsNull

func (vk *VariableWidthBlock) IsNull(position int32) bool

@Override

func (*VariableWidthBlock) MayHaveNull

func (vk *VariableWidthBlock) MayHaveNull() bool

@Override

func (*VariableWidthBlock) WriteBytesTo

func (ak *VariableWidthBlock) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

type VariableWidthBlockBuilder

type VariableWidthBlockBuilder struct {
	// 继承
	AbstractVariableWidthBlock
	// 继承
	BlockBuilder
	// contains filtered or unexported fields
}

func NewVariableWidthBlockBuilder

func NewVariableWidthBlockBuilder(blockBuilderStatus *BlockBuilderStatus, expectedEntries int32, expectedBytes int32) *VariableWidthBlockBuilder

func (*VariableWidthBlockBuilder) AppendNull

func (vr *VariableWidthBlockBuilder) AppendNull() BlockBuilder

@Override

func (*VariableWidthBlockBuilder) Build

func (vr *VariableWidthBlockBuilder) Build() Block

@Override

func (*VariableWidthBlockBuilder) BytesCompare

func (ak *VariableWidthBlockBuilder) BytesCompare(position int32, offset int32, length int32, otherSlice *slice.Slice, otherOffset int32, otherLength int32) int32

@Override

func (*VariableWidthBlockBuilder) BytesEqual

func (ak *VariableWidthBlockBuilder) BytesEqual(position int32, offset int32, otherSlice *slice.Slice, otherOffset int32, length int32) bool

@Override

func (*VariableWidthBlockBuilder) CloseEntry

func (vr *VariableWidthBlockBuilder) CloseEntry() BlockBuilder

@Override

func (*VariableWidthBlockBuilder) CompareTo

func (ak *VariableWidthBlockBuilder) CompareTo(position int32, offset int32, length int32, otherBlock Block, otherPosition int32, otherOffset int32, otherLength int32) int32

@Override

func (*VariableWidthBlockBuilder) CopyPositions

func (vr *VariableWidthBlockBuilder) CopyPositions(positions []int32, offset int32, length int32) Block

@Override

func (*VariableWidthBlockBuilder) CopyRegion

func (vr *VariableWidthBlockBuilder) CopyRegion(positionOffset int32, length int32) Block

@Override

func (*VariableWidthBlockBuilder) Equals

func (ak *VariableWidthBlockBuilder) Equals(position int32, offset int32, otherBlock Block, otherPosition int32, otherOffset int32, length int32) bool

@Override

func (*VariableWidthBlockBuilder) GetByte

func (ak *VariableWidthBlockBuilder) GetByte(position int32, offset int32) byte

所有父类 @Override

func (*VariableWidthBlockBuilder) GetChildren

func (ak *VariableWidthBlockBuilder) GetChildren() *util.ArrayList[Block]

func (*VariableWidthBlockBuilder) GetEstimatedDataSizeForStats

func (ak *VariableWidthBlockBuilder) GetEstimatedDataSizeForStats(position int32) int64

@Override

func (*VariableWidthBlockBuilder) GetInt

func (ak *VariableWidthBlockBuilder) GetInt(position int32, offset int32) int32

@Override

func (*VariableWidthBlockBuilder) GetLoadedBlock

func (ak *VariableWidthBlockBuilder) GetLoadedBlock() Block

func (*VariableWidthBlockBuilder) GetLogicalSizeInBytes

func (ak *VariableWidthBlockBuilder) GetLogicalSizeInBytes() int64

继承

func (*VariableWidthBlockBuilder) GetLong

func (ak *VariableWidthBlockBuilder) GetLong(position int32, offset int32) int64

@Override

func (*VariableWidthBlockBuilder) GetPositionCount

func (vr *VariableWidthBlockBuilder) GetPositionCount() int32

@Override

func (*VariableWidthBlockBuilder) GetPositions

func (ak *VariableWidthBlockBuilder) GetPositions(positions []int32, offset int32, length int32) Block

继承

func (*VariableWidthBlockBuilder) GetPositionsSizeInBytes

func (vr *VariableWidthBlockBuilder) GetPositionsSizeInBytes(positions []bool) int64

@Override

func (*VariableWidthBlockBuilder) GetRegion

func (vr *VariableWidthBlockBuilder) GetRegion(positionOffset int32, length int32) Block

@Override

func (*VariableWidthBlockBuilder) GetRegionSizeInBytes

func (vr *VariableWidthBlockBuilder) GetRegionSizeInBytes(positionOffset int32, length int32) int64

@Override

func (*VariableWidthBlockBuilder) GetRetainedSizeInBytes

func (vr *VariableWidthBlockBuilder) GetRetainedSizeInBytes() int64

@Override

func (*VariableWidthBlockBuilder) GetShort

func (ak *VariableWidthBlockBuilder) GetShort(position int32, offset int32) int16

@Override

func (*VariableWidthBlockBuilder) GetSingleValueBlock

func (ak *VariableWidthBlockBuilder) GetSingleValueBlock(position int32) Block

@Override

func (*VariableWidthBlockBuilder) GetSizeInBytes

func (vr *VariableWidthBlockBuilder) GetSizeInBytes() int64

@Override

func (*VariableWidthBlockBuilder) GetSlice

func (ak *VariableWidthBlockBuilder) GetSlice(position int32, offset int32, length int32) *slice.Slice

@Override

func (*VariableWidthBlockBuilder) GetSliceLength

func (vr *VariableWidthBlockBuilder) GetSliceLength(position int32) int32

@Override

func (*VariableWidthBlockBuilder) Hash

func (ak *VariableWidthBlockBuilder) Hash(position int32, offset int32, length int32) int64

@Override

func (*VariableWidthBlockBuilder) IsLoaded

func (ak *VariableWidthBlockBuilder) IsLoaded() bool

func (*VariableWidthBlockBuilder) IsNull

func (ak *VariableWidthBlockBuilder) IsNull(position int32) bool

@Override

func (*VariableWidthBlockBuilder) MayHaveNull

func (vr *VariableWidthBlockBuilder) MayHaveNull() bool

@Override

func (*VariableWidthBlockBuilder) NewBlockBuilderLike

func (vr *VariableWidthBlockBuilder) NewBlockBuilderLike(blockBuilderStatus *BlockBuilderStatus) BlockBuilder

@Override

func (*VariableWidthBlockBuilder) WriteByte

func (vr *VariableWidthBlockBuilder) WriteByte(value byte) BlockBuilder

@Override

func (*VariableWidthBlockBuilder) WriteBytes

func (vr *VariableWidthBlockBuilder) WriteBytes(source *slice.Slice, sourceIndex int32, length int32) BlockBuilder

@Override

func (*VariableWidthBlockBuilder) WriteBytesTo

func (ak *VariableWidthBlockBuilder) WriteBytesTo(position int32, offset int32, length int32, blockBuilder BlockBuilder)

@Override

func (*VariableWidthBlockBuilder) WriteInt

func (vr *VariableWidthBlockBuilder) WriteInt(value int32) BlockBuilder

@Override

func (*VariableWidthBlockBuilder) WriteLong

func (vr *VariableWidthBlockBuilder) WriteLong(value int64) BlockBuilder

@Override

func (*VariableWidthBlockBuilder) WriteShort

func (vr *VariableWidthBlockBuilder) WriteShort(value int16) BlockBuilder

@Override

type VariableWidthType

type VariableWidthType interface {
	// 继承Type
	Type
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL