public class Container
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Container.Builder
RecordBuilder for Container instances.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.Double |
aggregate
Deprecated.
|
java.lang.Double |
aggregate_secondary
Deprecated.
|
java.lang.Integer |
counter
Deprecated.
|
java.lang.Integer |
counter_secondary
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
java.lang.CharSequence |
str
Deprecated.
|
java.lang.Object |
udf1
Deprecated.
|
java.lang.Object |
udf2
Deprecated.
|
java.lang.Object |
udf3
Deprecated.
|
java.lang.Object |
udf4
Deprecated.
|
java.lang.Object |
udf5
Deprecated.
|
| Constructor and Description |
|---|
Container()
Default constructor.
|
Container(java.lang.Integer counter,
java.lang.Double aggregate,
java.lang.Integer counter_secondary,
java.lang.Double aggregate_secondary,
java.lang.CharSequence str,
java.lang.Object udf1,
java.lang.Object udf2,
java.lang.Object udf3,
java.lang.Object udf4,
java.lang.Object udf5)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
java.lang.Double |
getAggregate()
Gets the value of the 'aggregate' field.
|
java.lang.Double |
getAggregateSecondary()
Gets the value of the 'aggregate_secondary' field.
|
static org.apache.avro.Schema |
getClassSchema() |
java.lang.Integer |
getCounter()
Gets the value of the 'counter' field.
|
java.lang.Integer |
getCounterSecondary()
Gets the value of the 'counter_secondary' field.
|
org.apache.avro.Schema |
getSchema() |
java.lang.CharSequence |
getStr()
Gets the value of the 'str' field.
|
java.lang.Object |
getUdf1()
Gets the value of the 'udf1' field.
|
java.lang.Object |
getUdf2()
Gets the value of the 'udf2' field.
|
java.lang.Object |
getUdf3()
Gets the value of the 'udf3' field.
|
java.lang.Object |
getUdf4()
Gets the value of the 'udf4' field.
|
java.lang.Object |
getUdf5()
Gets the value of the 'udf5' field.
|
static Container.Builder |
newBuilder()
Creates a new Container RecordBuilder
|
static Container.Builder |
newBuilder(Container.Builder other)
Creates a new Container RecordBuilder by copying an existing Builder
|
static Container.Builder |
newBuilder(Container other)
Creates a new Container RecordBuilder by copying an existing Container instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setAggregate(java.lang.Double value)
Sets the value of the 'aggregate' field.
|
void |
setAggregateSecondary(java.lang.Double value)
Sets the value of the 'aggregate_secondary' field.
|
void |
setCounter(java.lang.Integer value)
Sets the value of the 'counter' field.
|
void |
setCounterSecondary(java.lang.Integer value)
Sets the value of the 'counter_secondary' field.
|
void |
setStr(java.lang.CharSequence value)
Sets the value of the 'str' field.
|
void |
setUdf1(java.lang.Object value)
Sets the value of the 'udf1' field.
|
void |
setUdf2(java.lang.Object value)
Sets the value of the 'udf2' field.
|
void |
setUdf3(java.lang.Object value)
Sets the value of the 'udf3' field.
|
void |
setUdf4(java.lang.Object value)
Sets the value of the 'udf4' field.
|
void |
setUdf5(java.lang.Object value)
Sets the value of the 'udf5' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public java.lang.Integer counter
@Deprecated public java.lang.Double aggregate
@Deprecated public java.lang.Integer counter_secondary
@Deprecated public java.lang.Double aggregate_secondary
@Deprecated public java.lang.CharSequence str
@Deprecated public java.lang.Object udf1
@Deprecated public java.lang.Object udf2
@Deprecated public java.lang.Object udf3
@Deprecated public java.lang.Object udf4
@Deprecated public java.lang.Object udf5
public Container()
newBuilder().public Container(java.lang.Integer counter,
java.lang.Double aggregate,
java.lang.Integer counter_secondary,
java.lang.Double aggregate_secondary,
java.lang.CharSequence str,
java.lang.Object udf1,
java.lang.Object udf2,
java.lang.Object udf3,
java.lang.Object udf4,
java.lang.Object udf5)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
java.lang.Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Integer getCounter()
public void setCounter(java.lang.Integer value)
value - the value to set.public java.lang.Double getAggregate()
public void setAggregate(java.lang.Double value)
value - the value to set.public java.lang.Integer getCounterSecondary()
public void setCounterSecondary(java.lang.Integer value)
value - the value to set.public java.lang.Double getAggregateSecondary()
public void setAggregateSecondary(java.lang.Double value)
value - the value to set.public java.lang.CharSequence getStr()
public void setStr(java.lang.CharSequence value)
value - the value to set.public java.lang.Object getUdf1()
public void setUdf1(java.lang.Object value)
value - the value to set.public java.lang.Object getUdf2()
public void setUdf2(java.lang.Object value)
value - the value to set.public java.lang.Object getUdf3()
public void setUdf3(java.lang.Object value)
value - the value to set.public java.lang.Object getUdf4()
public void setUdf4(java.lang.Object value)
value - the value to set.public java.lang.Object getUdf5()
public void setUdf5(java.lang.Object value)
value - the value to set.public static Container.Builder newBuilder()
public static Container.Builder newBuilder(Container.Builder other)
public static Container.Builder newBuilder(Container other)
Copyright © 2022. All rights reserved.