public class AvroClassNode extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroClassNode.Builder
RecordBuilder for AvroClassNode instances.
|
| Modifier and Type | Field and Description |
|---|---|
CharSequence |
defaultImplementation
Deprecated.
|
List<CharSequence> |
implFullNames
Deprecated.
|
List<AvroConstructorDef> |
injectableConstructors
Deprecated.
|
boolean |
isExternalConstructor
Deprecated.
|
boolean |
isInjectionCandidate
Deprecated.
|
boolean |
isUnit
Deprecated.
|
List<AvroConstructorDef> |
otherConstructors
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AvroClassNode()
Default constructor.
|
AvroClassNode(Boolean isInjectionCandidate,
Boolean isExternalConstructor,
Boolean isUnit,
List<AvroConstructorDef> injectableConstructors,
List<AvroConstructorDef> otherConstructors,
List<CharSequence> implFullNames,
CharSequence defaultImplementation)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getDefaultImplementation()
Gets the value of the 'defaultImplementation' field.
|
List<CharSequence> |
getImplFullNames()
Gets the value of the 'implFullNames' field.
|
List<AvroConstructorDef> |
getInjectableConstructors()
Gets the value of the 'injectableConstructors' field.
|
Boolean |
getIsExternalConstructor()
Gets the value of the 'isExternalConstructor' field.
|
Boolean |
getIsInjectionCandidate()
Gets the value of the 'isInjectionCandidate' field.
|
Boolean |
getIsUnit()
Gets the value of the 'isUnit' field.
|
List<AvroConstructorDef> |
getOtherConstructors()
Gets the value of the 'otherConstructors' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroClassNode.Builder |
newBuilder()
Creates a new AvroClassNode RecordBuilder.
|
static AvroClassNode.Builder |
newBuilder(AvroClassNode.Builder other)
Creates a new AvroClassNode RecordBuilder by copying an existing Builder.
|
static AvroClassNode.Builder |
newBuilder(AvroClassNode other)
Creates a new AvroClassNode RecordBuilder by copying an existing AvroClassNode instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setDefaultImplementation(CharSequence value)
Sets the value of the 'defaultImplementation' field.
|
void |
setImplFullNames(List<CharSequence> value)
Sets the value of the 'implFullNames' field.
|
void |
setInjectableConstructors(List<AvroConstructorDef> value)
Sets the value of the 'injectableConstructors' field.
|
void |
setIsExternalConstructor(Boolean value)
Sets the value of the 'isExternalConstructor' field.
|
void |
setIsInjectionCandidate(Boolean value)
Sets the value of the 'isInjectionCandidate' field.
|
void |
setIsUnit(Boolean value)
Sets the value of the 'isUnit' field.
|
void |
setOtherConstructors(List<AvroConstructorDef> value)
Sets the value of the 'otherConstructors' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public boolean isInjectionCandidate
@Deprecated public boolean isExternalConstructor
@Deprecated public boolean isUnit
@Deprecated public List<AvroConstructorDef> injectableConstructors
@Deprecated public List<AvroConstructorDef> otherConstructors
@Deprecated public List<CharSequence> implFullNames
@Deprecated public CharSequence defaultImplementation
public AvroClassNode()
newBuilder().public AvroClassNode(Boolean isInjectionCandidate, Boolean isExternalConstructor, Boolean isUnit, List<AvroConstructorDef> injectableConstructors, List<AvroConstructorDef> otherConstructors, List<CharSequence> implFullNames, CharSequence defaultImplementation)
isInjectionCandidate - The new value for isInjectionCandidateisExternalConstructor - The new value for isExternalConstructorisUnit - The new value for isUnitinjectableConstructors - The new value for injectableConstructorsotherConstructors - The new value for otherConstructorsimplFullNames - The new value for implFullNamesdefaultImplementation - The new value for defaultImplementationpublic 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 Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$, Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Boolean getIsInjectionCandidate()
public void setIsInjectionCandidate(Boolean value)
value - the value to set.public Boolean getIsExternalConstructor()
public void setIsExternalConstructor(Boolean value)
value - the value to set.public Boolean getIsUnit()
public void setIsUnit(Boolean value)
value - the value to set.public List<AvroConstructorDef> getInjectableConstructors()
public void setInjectableConstructors(List<AvroConstructorDef> value)
value - the value to set.public List<AvroConstructorDef> getOtherConstructors()
public void setOtherConstructors(List<AvroConstructorDef> value)
value - the value to set.public List<CharSequence> getImplFullNames()
public void setImplFullNames(List<CharSequence> value)
value - the value to set.public CharSequence getDefaultImplementation()
public void setDefaultImplementation(CharSequence value)
value - the value to set.public static AvroClassNode.Builder newBuilder()
public static AvroClassNode.Builder newBuilder(AvroClassNode.Builder other)
other - The existing builder to copy.public static AvroClassNode.Builder newBuilder(AvroClassNode other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.