public class AvroYarnAppSubmissionParameters extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroYarnAppSubmissionParameters.Builder
RecordBuilder for AvroYarnAppSubmissionParameters instances.
|
| Modifier and Type | Field and Description |
|---|---|
int |
driverRecoveryTimeout
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
AvroAppSubmissionParameters |
sharedAppSubmissionParameters
Deprecated.
|
| Constructor and Description |
|---|
AvroYarnAppSubmissionParameters()
Default constructor.
|
AvroYarnAppSubmissionParameters(AvroAppSubmissionParameters sharedAppSubmissionParameters,
Integer driverRecoveryTimeout)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getDriverRecoveryTimeout()
Gets the value of the 'driverRecoveryTimeout' field.
|
org.apache.avro.Schema |
getSchema() |
AvroAppSubmissionParameters |
getSharedAppSubmissionParameters()
Gets the value of the 'sharedAppSubmissionParameters' field.
|
static AvroYarnAppSubmissionParameters.Builder |
newBuilder()
Creates a new AvroYarnAppSubmissionParameters RecordBuilder.
|
static AvroYarnAppSubmissionParameters.Builder |
newBuilder(AvroYarnAppSubmissionParameters.Builder other)
Creates a new AvroYarnAppSubmissionParameters RecordBuilder by copying an existing Builder.
|
static AvroYarnAppSubmissionParameters.Builder |
newBuilder(AvroYarnAppSubmissionParameters other)
Creates a new AvroYarnAppSubmissionParameters RecordBuilder by copying an existing AvroYarnAppSubmissionParameters instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setDriverRecoveryTimeout(Integer value)
Sets the value of the 'driverRecoveryTimeout' field.
|
void |
setSharedAppSubmissionParameters(AvroAppSubmissionParameters value)
Sets the value of the 'sharedAppSubmissionParameters' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroAppSubmissionParameters sharedAppSubmissionParameters
@Deprecated public int driverRecoveryTimeout
public AvroYarnAppSubmissionParameters()
newBuilder().public AvroYarnAppSubmissionParameters(AvroAppSubmissionParameters sharedAppSubmissionParameters, Integer driverRecoveryTimeout)
sharedAppSubmissionParameters - The new value for sharedAppSubmissionParametersdriverRecoveryTimeout - The new value for driverRecoveryTimeoutpublic 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 AvroAppSubmissionParameters getSharedAppSubmissionParameters()
public void setSharedAppSubmissionParameters(AvroAppSubmissionParameters value)
value - the value to set.public Integer getDriverRecoveryTimeout()
public void setDriverRecoveryTimeout(Integer value)
value - the value to set.public static AvroYarnAppSubmissionParameters.Builder newBuilder()
public static AvroYarnAppSubmissionParameters.Builder newBuilder(AvroYarnAppSubmissionParameters.Builder other)
other - The existing builder to copy.public static AvroYarnAppSubmissionParameters.Builder newBuilder(AvroYarnAppSubmissionParameters 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.