Package org.apache.druid.segment.nested
Class FieldTypeInfo.MutableTypeSet
- java.lang.Object
-
- org.apache.druid.segment.nested.FieldTypeInfo.MutableTypeSet
-
- Enclosing class:
- FieldTypeInfo
public static class FieldTypeInfo.MutableTypeSet extends Object
-
-
Constructor Summary
Constructors Constructor Description MutableTypeSet()
MutableTypeSet(byte types)
MutableTypeSet(byte types, boolean hasEmptyArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldTypeInfo.MutableTypeSet
add(ColumnType type)
FieldTypeInfo.MutableTypeSet
addUntypedArray()
Set a flag when we encounter an empty array or array with only null elementsboolean
equals(Object o)
byte
getByteValue()
ColumnType
getSingleType()
int
hashCode()
boolean
hasUntypedArray()
boolean
isEmpty()
FieldTypeInfo.MutableTypeSet
merge(byte other, boolean hasEmptyArray)
String
toString()
-
-
-
Method Detail
-
add
public FieldTypeInfo.MutableTypeSet add(ColumnType type)
-
addUntypedArray
public FieldTypeInfo.MutableTypeSet addUntypedArray()
Set a flag when we encounter an empty array or array with only null elements
-
hasUntypedArray
public boolean hasUntypedArray()
-
merge
public FieldTypeInfo.MutableTypeSet merge(byte other, boolean hasEmptyArray)
-
getSingleType
@Nullable public ColumnType getSingleType()
-
isEmpty
public boolean isEmpty()
-
getByteValue
public byte getByteValue()
-
-