Package org.apache.iceberg
Class PartitionData
- java.lang.Object
-
- org.apache.iceberg.PartitionData
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.avro.generic.GenericContainer
,org.apache.avro.generic.IndexedRecord
,org.apache.avro.specific.SpecificData.SchemaConstructable
,StructLike
public class PartitionData extends java.lang.Object implements org.apache.avro.generic.IndexedRecord, StructLike, org.apache.avro.specific.SpecificData.SchemaConstructable, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionData(Types.StructType partitionType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
PartitionData
copy()
static java.lang.Object[]
copyData(Types.StructType type, java.lang.Object[] data)
PartitionData
copyFor(StructLike partition)
boolean
equals(java.lang.Object o)
java.lang.Object
get(int pos)
<T> T
get(int pos, java.lang.Class<T> javaClass)
Types.StructType
getPartitionType()
org.apache.avro.Schema
getSchema()
Type
getType(int pos)
int
hashCode()
void
put(int i, java.lang.Object v)
<T> void
set(int pos, T value)
int
size()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PartitionData
public PartitionData(Types.StructType partitionType)
-
-
Method Detail
-
getPartitionType
public Types.StructType getPartitionType()
-
getSchema
public org.apache.avro.Schema getSchema()
- Specified by:
getSchema
in interfaceorg.apache.avro.generic.GenericContainer
-
getType
public Type getType(int pos)
-
clear
public void clear()
-
size
public int size()
- Specified by:
size
in interfaceStructLike
-
get
public <T> T get(int pos, java.lang.Class<T> javaClass)
- Specified by:
get
in interfaceStructLike
-
get
public java.lang.Object get(int pos)
- Specified by:
get
in interfaceorg.apache.avro.generic.IndexedRecord
-
set
public <T> void set(int pos, T value)
- Specified by:
set
in interfaceStructLike
-
put
public void put(int i, java.lang.Object v)
- Specified by:
put
in interfaceorg.apache.avro.generic.IndexedRecord
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
copy
public PartitionData copy()
-
copyFor
public PartitionData copyFor(StructLike partition)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
copyData
public static java.lang.Object[] copyData(Types.StructType type, java.lang.Object[] data)
-
-