public class ColumnDef
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Field and Description |
---|---|
java.lang.CharSequence |
index_name |
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
index_options |
IndexType |
index_type |
java.nio.ByteBuffer |
name |
static org.apache.avro.Schema |
SCHEMA$ |
java.lang.CharSequence |
validation_class |
Constructor and Description |
---|
ColumnDef() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int field$)
Return the value of a field given its position in the schema.
|
org.apache.avro.Schema |
getSchema()
The schema of this instance.
|
void |
put(int field$,
java.lang.Object value$)
Set the value of a field given its position in the schema.
|
public static final org.apache.avro.Schema SCHEMA$
public java.nio.ByteBuffer name
public java.lang.CharSequence validation_class
public IndexType index_type
public java.lang.CharSequence index_name
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> index_options
public org.apache.avro.Schema getSchema()
org.apache.avro.generic.GenericContainer
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public java.lang.Object get(int field$)
org.apache.avro.generic.IndexedRecord
This method is not meant to be called by user code, but only by DatumWriter
implementations.
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, java.lang.Object value$)
org.apache.avro.generic.IndexedRecord
This method is not meant to be called by user code, but only by DatumReader
implementations.
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
Copyright © 2013 The Apache Software Foundation