public class SpaceDesc extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<SpaceDesc>
| Modifier and Type | Class and Description |
|---|---|
static class |
SpaceDesc.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
charset_name |
static int |
CHARSET_NAME |
byte[] |
collate_name |
static int |
COLLATE_NAME |
byte[] |
comment |
static int |
COMMENT |
IsolationLevel |
isolation_level |
static int |
ISOLATION_LEVEL |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
partition_num |
static int |
PARTITION_NUM |
int |
replica_factor |
static int |
REPLICA_FACTOR |
byte[] |
space_name |
static int |
SPACE_NAME |
ColumnTypeDef |
vid_type |
static int |
VID_TYPE |
List<byte[]> |
zone_names |
static int |
ZONE_NAMES |
| Constructor and Description |
|---|
SpaceDesc() |
SpaceDesc(byte[] space_name,
int partition_num,
int replica_factor,
byte[] charset_name,
byte[] collate_name,
ColumnTypeDef vid_type,
List<byte[]> zone_names) |
SpaceDesc(byte[] space_name,
int partition_num,
int replica_factor,
byte[] charset_name,
byte[] collate_name,
ColumnTypeDef vid_type,
List<byte[]> zone_names,
IsolationLevel isolation_level,
byte[] comment) |
SpaceDesc(SpaceDesc other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static SpaceDesc.Builder |
builder() |
int |
compareTo(SpaceDesc other) |
SpaceDesc |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getCharset_name() |
byte[] |
getCollate_name() |
byte[] |
getComment() |
Object |
getFieldValue(int fieldID) |
IsolationLevel |
getIsolation_level() |
int |
getPartition_num() |
int |
getReplica_factor() |
byte[] |
getSpace_name() |
ColumnTypeDef |
getVid_type() |
List<byte[]> |
getZone_names() |
int |
hashCode() |
boolean |
isSetCharset_name() |
boolean |
isSetCollate_name() |
boolean |
isSetComment() |
boolean |
isSetIsolation_level() |
boolean |
isSetPartition_num() |
boolean |
isSetReplica_factor() |
boolean |
isSetSpace_name() |
boolean |
isSetVid_type() |
boolean |
isSetZone_names() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
SpaceDesc |
setCharset_name(byte[] charset_name) |
void |
setCharset_nameIsSet(boolean __value) |
SpaceDesc |
setCollate_name(byte[] collate_name) |
void |
setCollate_nameIsSet(boolean __value) |
SpaceDesc |
setComment(byte[] comment) |
void |
setCommentIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
SpaceDesc |
setIsolation_level(IsolationLevel isolation_level) |
void |
setIsolation_levelIsSet(boolean __value) |
SpaceDesc |
setPartition_num(int partition_num) |
void |
setPartition_numIsSet(boolean __value) |
SpaceDesc |
setReplica_factor(int replica_factor) |
void |
setReplica_factorIsSet(boolean __value) |
SpaceDesc |
setSpace_name(byte[] space_name) |
void |
setSpace_nameIsSet(boolean __value) |
SpaceDesc |
setVid_type(ColumnTypeDef vid_type) |
void |
setVid_typeIsSet(boolean __value) |
SpaceDesc |
setZone_names(List<byte[]> zone_names) |
void |
setZone_namesIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCharset_name() |
void |
unsetCollate_name() |
void |
unsetComment() |
void |
unsetIsolation_level() |
void |
unsetPartition_num() |
void |
unsetReplica_factor() |
void |
unsetSpace_name() |
void |
unsetVid_type() |
void |
unsetZone_names() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] space_name
public int partition_num
public int replica_factor
public byte[] charset_name
public byte[] collate_name
public ColumnTypeDef vid_type
public List<byte[]> zone_names
public IsolationLevel isolation_level
IsolationLevelpublic byte[] comment
public static final int SPACE_NAME
public static final int PARTITION_NUM
public static final int REPLICA_FACTOR
public static final int CHARSET_NAME
public static final int COLLATE_NAME
public static final int VID_TYPE
public static final int ZONE_NAMES
public static final int ISOLATION_LEVEL
public static final int COMMENT
public SpaceDesc()
public SpaceDesc(byte[] space_name,
int partition_num,
int replica_factor,
byte[] charset_name,
byte[] collate_name,
ColumnTypeDef vid_type,
List<byte[]> zone_names)
public SpaceDesc(byte[] space_name,
int partition_num,
int replica_factor,
byte[] charset_name,
byte[] collate_name,
ColumnTypeDef vid_type,
List<byte[]> zone_names,
IsolationLevel isolation_level,
byte[] comment)
public SpaceDesc(SpaceDesc other)
public static SpaceDesc.Builder builder()
public SpaceDesc deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getSpace_name()
public SpaceDesc setSpace_name(byte[] space_name)
public void unsetSpace_name()
public boolean isSetSpace_name()
public void setSpace_nameIsSet(boolean __value)
public int getPartition_num()
public SpaceDesc setPartition_num(int partition_num)
public void unsetPartition_num()
public boolean isSetPartition_num()
public void setPartition_numIsSet(boolean __value)
public int getReplica_factor()
public SpaceDesc setReplica_factor(int replica_factor)
public void unsetReplica_factor()
public boolean isSetReplica_factor()
public void setReplica_factorIsSet(boolean __value)
public byte[] getCharset_name()
public SpaceDesc setCharset_name(byte[] charset_name)
public void unsetCharset_name()
public boolean isSetCharset_name()
public void setCharset_nameIsSet(boolean __value)
public byte[] getCollate_name()
public SpaceDesc setCollate_name(byte[] collate_name)
public void unsetCollate_name()
public boolean isSetCollate_name()
public void setCollate_nameIsSet(boolean __value)
public ColumnTypeDef getVid_type()
public SpaceDesc setVid_type(ColumnTypeDef vid_type)
public void unsetVid_type()
public boolean isSetVid_type()
public void setVid_typeIsSet(boolean __value)
public List<byte[]> getZone_names()
public void unsetZone_names()
public boolean isSetZone_names()
public void setZone_namesIsSet(boolean __value)
public IsolationLevel getIsolation_level()
IsolationLevelpublic SpaceDesc setIsolation_level(IsolationLevel isolation_level)
IsolationLevelpublic void unsetIsolation_level()
public boolean isSetIsolation_level()
public void setIsolation_levelIsSet(boolean __value)
public byte[] getComment()
public SpaceDesc setComment(byte[] comment)
public void unsetComment()
public boolean isSetComment()
public void setCommentIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(SpaceDesc other)
compareTo in interface Comparable<SpaceDesc>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.