public class AlterSchemaItem extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AlterSchemaItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterSchemaItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
AlterSchemaOp |
op |
static int |
OP |
Schema |
schema |
static int |
SCHEMA |
| Constructor and Description |
|---|
AlterSchemaItem() |
AlterSchemaItem(AlterSchemaItem other)
Performs a deep copy on other.
|
AlterSchemaItem(AlterSchemaOp op,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
static AlterSchemaItem.Builder |
builder() |
int |
compareTo(AlterSchemaItem other) |
AlterSchemaItem |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
AlterSchemaOp |
getOp() |
Schema |
getSchema() |
int |
hashCode() |
boolean |
isSetOp() |
boolean |
isSetSchema() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
AlterSchemaItem |
setOp(AlterSchemaOp op) |
void |
setOpIsSet(boolean __value) |
AlterSchemaItem |
setSchema(Schema schema) |
void |
setSchemaIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetOp() |
void |
unsetSchema() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public AlterSchemaOp op
AlterSchemaOppublic Schema schema
public static final int OP
public static final int SCHEMA
public AlterSchemaItem()
public AlterSchemaItem(AlterSchemaOp op, Schema schema)
public AlterSchemaItem(AlterSchemaItem other)
public static AlterSchemaItem.Builder builder()
public AlterSchemaItem deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic AlterSchemaOp getOp()
AlterSchemaOppublic AlterSchemaItem setOp(AlterSchemaOp op)
AlterSchemaOppublic void unsetOp()
public boolean isSetOp()
public void setOpIsSet(boolean __value)
public Schema getSchema()
public AlterSchemaItem setSchema(Schema schema)
public void unsetSchema()
public boolean isSetSchema()
public void setSchemaIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AlterSchemaItem other)
compareTo in interface Comparable<AlterSchemaItem>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.