public class KsDef
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Field and Description |
---|---|
java.util.List<CfDef> |
cf_defs |
boolean |
durable_writes |
java.lang.CharSequence |
name |
java.lang.Integer |
replication_factor |
static org.apache.avro.Schema |
SCHEMA$ |
java.lang.CharSequence |
strategy_class |
java.util.Map<java.lang.CharSequence,java.lang.CharSequence> |
strategy_options |
Constructor and Description |
---|
KsDef() |
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.lang.CharSequence name
public java.lang.CharSequence strategy_class
public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> strategy_options
public java.lang.Integer replication_factor
public java.util.List<CfDef> cf_defs
public boolean durable_writes
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