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.MutableTypeSetadd(ColumnType type)FieldTypeInfo.MutableTypeSetaddUntypedArray()Set a flag when we encounter an empty array or array with only null elementsbooleanequals(Object o)bytegetByteValue()ColumnTypegetSingleType()inthashCode()booleanhasUntypedArray()booleanisEmpty()FieldTypeInfo.MutableTypeSetmerge(byte other, boolean hasEmptyArray)StringtoString()
-
-
-
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()
-
-