public class ConditionDefinition
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ConditionDefinition.Builder
RecordBuilder for ConditionDefinition instances.
|
Modifier and Type | Field and Description |
---|---|
List<CharSequence> |
args
Deprecated.
|
CharSequence |
name
Deprecated.
|
boolean |
negate
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
ConditionDefinition()
Default constructor.
|
ConditionDefinition(CharSequence name,
List<CharSequence> args,
Boolean negate)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
List<CharSequence> |
getArgs()
Gets the value of the 'args' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getName()
Gets the value of the 'name' field.
|
Boolean |
getNegate()
Gets the value of the 'negate' field.
|
org.apache.avro.Schema |
getSchema() |
static ConditionDefinition.Builder |
newBuilder()
Creates a new ConditionDefinition RecordBuilder
|
static ConditionDefinition.Builder |
newBuilder(ConditionDefinition.Builder other)
Creates a new ConditionDefinition RecordBuilder by copying an existing Builder
|
static ConditionDefinition.Builder |
newBuilder(ConditionDefinition other)
Creates a new ConditionDefinition RecordBuilder by copying an existing ConditionDefinition instance
|
void |
put(int field$,
Object value$) |
void |
setArgs(List<CharSequence> value)
Sets the value of the 'args' field.
|
void |
setName(CharSequence value)
Sets the value of the 'name' field.
|
void |
setNegate(Boolean value)
Sets the value of the 'negate' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public List<CharSequence> args
@Deprecated public boolean negate
public ConditionDefinition()
\#newBuilder()
.public ConditionDefinition(CharSequence name, List<CharSequence> args, Boolean negate)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getName()
public void setName(CharSequence value)
value
- the value to set.public List<CharSequence> getArgs()
public void setArgs(List<CharSequence> value)
value
- the value to set.public Boolean getNegate()
public void setNegate(Boolean value)
value
- the value to set.public static ConditionDefinition.Builder newBuilder()
public static ConditionDefinition.Builder newBuilder(ConditionDefinition.Builder other)
public static ConditionDefinition.Builder newBuilder(ConditionDefinition other)
Copyright © 2013. All rights reserved.