Package org.apache.druid.segment.nested
Class FieldTypeInfo
- java.lang.Object
-
- org.apache.druid.segment.nested.FieldTypeInfo
-
public class FieldTypeInfo extends Object
Binary serialization for nested field type info, translated into this compact format for storage in segments. The index of the type info here is the same as the field index inCompressedNestedDataComplexColumn.fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldTypeInfo.MutableTypeSet
static class
FieldTypeInfo.TypeSet
static class
FieldTypeInfo.Writer
-
Constructor Summary
Constructors Constructor Description FieldTypeInfo(ByteBuffer buffer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte
add(byte types, ColumnType type)
static Set<ColumnType>
convertToSet(byte types)
FieldTypeInfo.TypeSet
getTypes(int fieldIndex)
static FieldTypeInfo
read(ByteBuffer buffer, int length)
-
-
-
Constructor Detail
-
FieldTypeInfo
public FieldTypeInfo(ByteBuffer buffer)
-
-
Method Detail
-
read
public static FieldTypeInfo read(ByteBuffer buffer, int length)
-
getTypes
public FieldTypeInfo.TypeSet getTypes(int fieldIndex)
-
add
public static byte add(byte types, ColumnType type)
-
convertToSet
public static Set<ColumnType> convertToSet(byte types)
-
-