public class GenericPartitionFieldSummary extends java.lang.Object implements ManifestFile.PartitionFieldSummary, StructLike, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificData.SchemaConstructable, java.io.Serializable
| Constructor and Description |
|---|
GenericPartitionFieldSummary(boolean containsNull,
java.nio.ByteBuffer lowerBound,
java.nio.ByteBuffer upperBound) |
GenericPartitionFieldSummary(org.apache.avro.Schema avroSchema)
Used by Avro reflection to instantiate this class when reading manifest files.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNull() |
ManifestFile.PartitionFieldSummary |
copy()
Copies this
summary. |
java.lang.Object |
get(int i) |
<T> T |
get(int pos,
java.lang.Class<T> javaClass) |
org.apache.avro.Schema |
getSchema() |
java.nio.ByteBuffer |
lowerBound() |
void |
put(int i,
java.lang.Object v) |
<T> void |
set(int i,
T value) |
int |
size() |
java.lang.String |
toString() |
java.nio.ByteBuffer |
upperBound() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypepublic GenericPartitionFieldSummary(org.apache.avro.Schema avroSchema)
public GenericPartitionFieldSummary(boolean containsNull,
java.nio.ByteBuffer lowerBound,
java.nio.ByteBuffer upperBound)
public boolean containsNull()
containsNull in interface ManifestFile.PartitionFieldSummarypublic java.nio.ByteBuffer lowerBound()
lowerBound in interface ManifestFile.PartitionFieldSummarypublic java.nio.ByteBuffer upperBound()
upperBound in interface ManifestFile.PartitionFieldSummarypublic int size()
size in interface StructLikepublic <T> T get(int pos,
java.lang.Class<T> javaClass)
get in interface StructLikepublic java.lang.Object get(int i)
get in interface org.apache.avro.generic.IndexedRecordpublic <T> void set(int i,
T value)
set in interface StructLikepublic void put(int i,
java.lang.Object v)
put in interface org.apache.avro.generic.IndexedRecordpublic ManifestFile.PartitionFieldSummary copy()
ManifestFile.PartitionFieldSummarysummary. Readers can reuse instances; use this
method to make defensive copies.copy in interface ManifestFile.PartitionFieldSummarypublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic java.lang.String toString()
toString in class java.lang.Object