Package org.apache.parquet.format
Class NullType
- java.lang.Object
-
- org.apache.parquet.format.NullType
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NullType>,org.apache.thrift.TBase<NullType,NullType._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.22.0)", date="2025-12-22") public class NullType extends Object implements org.apache.thrift.TBase<NullType,NullType._Fields>, Serializable, Cloneable, Comparable<NullType>Logical type to annotate a column that is always null. Sometimes when discovering the schema of existing data, values are always null and the physical type can't be determined. This annotation signals the case where the physical type was guessed from all null values.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNullType._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<NullType._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(NullType other)NullTypedeepCopy()booleanequals(Object that)booleanequals(NullType that)NullType._FieldsfieldForId(int fieldId)ObjectgetFieldValue(NullType._Fields field)inthashCode()booleanisSet(NullType._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(NullType._Fields field, Object value)StringtoString()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<NullType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
NullType
public NullType()
-
NullType
public NullType(NullType other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public NullType deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
setFieldValue
public void setFieldValue(NullType._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
getFieldValue
public Object getFieldValue(NullType._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
isSet
public boolean isSet(NullType._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
equals
public boolean equals(NullType that)
-
compareTo
public int compareTo(NullType other)
- Specified by:
compareToin interfaceComparable<NullType>
-
fieldForId
public NullType._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NullType,NullType._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-