public class AvroNode extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroNode.Builder
RecordBuilder for AvroNode instances.
|
Modifier and Type | Field and Description |
---|---|
List<AvroNode> |
children
Deprecated.
|
AvroClassNode |
classNode
Deprecated.
|
CharSequence |
fullName
Deprecated.
|
CharSequence |
name
Deprecated.
|
AvroNamedParameterNode |
namedParameterNode
Deprecated.
|
AvroPackageNode |
packageNode
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
AvroNode()
Default constructor.
|
AvroNode(CharSequence name,
CharSequence fullName,
AvroClassNode classNode,
AvroNamedParameterNode namedParameterNode,
AvroPackageNode packageNode,
List<AvroNode> children)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
List<AvroNode> |
getChildren()
Gets the value of the 'children' field.
|
AvroClassNode |
getClassNode()
Gets the value of the 'classNode' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getFullName()
Gets the value of the 'fullName' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
AvroNamedParameterNode |
getNamedParameterNode()
Gets the value of the 'namedParameterNode' field.
|
AvroPackageNode |
getPackageNode()
Gets the value of the 'packageNode' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroNode.Builder |
newBuilder()
Creates a new AvroNode RecordBuilder
|
static AvroNode.Builder |
newBuilder(AvroNode.Builder other)
Creates a new AvroNode RecordBuilder by copying an existing Builder
|
static AvroNode.Builder |
newBuilder(AvroNode other)
Creates a new AvroNode RecordBuilder by copying an existing AvroNode instance
|
void |
put(int field$,
Object value$) |
void |
setChildren(List<AvroNode> value)
Sets the value of the 'children' field.
|
void |
setClassNode(AvroClassNode value)
Sets the value of the 'classNode' field.
|
void |
setFullName(CharSequence value)
Sets the value of the 'fullName' field.
|
void |
setName(CharSequence value)
Sets the value of the 'name' field.
|
void |
setNamedParameterNode(AvroNamedParameterNode value)
Sets the value of the 'namedParameterNode' field.
|
void |
setPackageNode(AvroPackageNode value)
Sets the value of the 'packageNode' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence name
@Deprecated public CharSequence fullName
@Deprecated public AvroClassNode classNode
@Deprecated public AvroNamedParameterNode namedParameterNode
@Deprecated public AvroPackageNode packageNode
@Deprecated public List<AvroNode> children
public AvroNode()
newBuilder()
.public AvroNode(CharSequence name, CharSequence fullName, AvroClassNode classNode, AvroNamedParameterNode namedParameterNode, AvroPackageNode packageNode, List<AvroNode> children)
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 CharSequence getFullName()
public void setFullName(CharSequence value)
value
- the value to set.public AvroClassNode getClassNode()
public void setClassNode(AvroClassNode value)
value
- the value to set.public AvroNamedParameterNode getNamedParameterNode()
public void setNamedParameterNode(AvroNamedParameterNode value)
value
- the value to set.public AvroPackageNode getPackageNode()
public void setPackageNode(AvroPackageNode value)
value
- the value to set.public List<AvroNode> getChildren()
public void setChildren(List<AvroNode> value)
value
- the value to set.public static AvroNode.Builder newBuilder()
public static AvroNode.Builder newBuilder(AvroNode.Builder other)
public static AvroNode.Builder newBuilder(AvroNode other)
Copyright © 2015 The Apache Software Foundation. All rights reserved.