Package com.mapd.thrift.server
Class TCopyParams
- java.lang.Object
-
- com.mapd.thrift.server.TCopyParams
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCopyParams>,org.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>,org.apache.thrift.TSerializable
public class TCopyParams extends Object implements org.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>, Serializable, Cloneable, Comparable<TCopyParams>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCopyParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringarray_beginStringarray_delimStringarray_endStringdelimiterStringescapeTFileTypefile_typebooleangeo_assign_render_groupsintgeo_coords_comp_paramTEncodingTypegeo_coords_encodingintgeo_coords_sridTDatumTypegeo_coords_typebooleangeo_explode_collectionsStringgeo_layer_nameTImportHeaderRowhas_headerStringline_delimstatic Map<TCopyParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnull_strStringquotebooleanquotedStrings3_access_keyStrings3_endpointStrings3_regionStrings3_secret_keybooleansanitize_column_namesintthreads
-
Constructor Summary
Constructors Constructor Description TCopyParams()TCopyParams(TCopyParams other)Performs a deep copy on other.TCopyParams(String delimiter, String null_str, TImportHeaderRow has_header, boolean quoted, String quote, String escape, String line_delim, String array_delim, String array_begin, String array_end, int threads, TFileType file_type, String s3_access_key, String s3_secret_key, String s3_region, TEncodingType geo_coords_encoding, int geo_coords_comp_param, TDatumType geo_coords_type, int geo_coords_srid, boolean sanitize_column_names, String geo_layer_name, String s3_endpoint, boolean geo_assign_render_groups, boolean geo_explode_collections)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCopyParams other)TCopyParamsdeepCopy()booleanequals(TCopyParams that)booleanequals(Object that)TCopyParams._FieldsfieldForId(int fieldId)StringgetArray_begin()StringgetArray_delim()StringgetArray_end()StringgetDelimiter()StringgetEscape()ObjectgetFieldValue(TCopyParams._Fields field)TFileTypegetFile_type()intgetGeo_coords_comp_param()TEncodingTypegetGeo_coords_encoding()intgetGeo_coords_srid()TDatumTypegetGeo_coords_type()StringgetGeo_layer_name()TImportHeaderRowgetHas_header()StringgetLine_delim()StringgetNull_str()StringgetQuote()StringgetS3_access_key()StringgetS3_endpoint()StringgetS3_region()StringgetS3_secret_key()intgetThreads()inthashCode()booleanisGeo_assign_render_groups()booleanisGeo_explode_collections()booleanisQuoted()booleanisSanitize_column_names()booleanisSet(TCopyParams._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetArray_begin()Returns true if field array_begin is set (has been assigned a value) and false otherwisebooleanisSetArray_delim()Returns true if field array_delim is set (has been assigned a value) and false otherwisebooleanisSetArray_end()Returns true if field array_end is set (has been assigned a value) and false otherwisebooleanisSetDelimiter()Returns true if field delimiter is set (has been assigned a value) and false otherwisebooleanisSetEscape()Returns true if field escape is set (has been assigned a value) and false otherwisebooleanisSetFile_type()Returns true if field file_type is set (has been assigned a value) and false otherwisebooleanisSetGeo_assign_render_groups()Returns true if field geo_assign_render_groups is set (has been assigned a value) and false otherwisebooleanisSetGeo_coords_comp_param()Returns true if field geo_coords_comp_param is set (has been assigned a value) and false otherwisebooleanisSetGeo_coords_encoding()Returns true if field geo_coords_encoding is set (has been assigned a value) and false otherwisebooleanisSetGeo_coords_srid()Returns true if field geo_coords_srid is set (has been assigned a value) and false otherwisebooleanisSetGeo_coords_type()Returns true if field geo_coords_type is set (has been assigned a value) and false otherwisebooleanisSetGeo_explode_collections()Returns true if field geo_explode_collections is set (has been assigned a value) and false otherwisebooleanisSetGeo_layer_name()Returns true if field geo_layer_name is set (has been assigned a value) and false otherwisebooleanisSetHas_header()Returns true if field has_header is set (has been assigned a value) and false otherwisebooleanisSetLine_delim()Returns true if field line_delim is set (has been assigned a value) and false otherwisebooleanisSetNull_str()Returns true if field null_str is set (has been assigned a value) and false otherwisebooleanisSetQuote()Returns true if field quote is set (has been assigned a value) and false otherwisebooleanisSetQuoted()Returns true if field quoted is set (has been assigned a value) and false otherwisebooleanisSetS3_access_key()Returns true if field s3_access_key is set (has been assigned a value) and false otherwisebooleanisSetS3_endpoint()Returns true if field s3_endpoint is set (has been assigned a value) and false otherwisebooleanisSetS3_region()Returns true if field s3_region is set (has been assigned a value) and false otherwisebooleanisSetS3_secret_key()Returns true if field s3_secret_key is set (has been assigned a value) and false otherwisebooleanisSetSanitize_column_names()Returns true if field sanitize_column_names is set (has been assigned a value) and false otherwisebooleanisSetThreads()Returns true if field threads is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TCopyParamssetArray_begin(String array_begin)voidsetArray_beginIsSet(boolean value)TCopyParamssetArray_delim(String array_delim)voidsetArray_delimIsSet(boolean value)TCopyParamssetArray_end(String array_end)voidsetArray_endIsSet(boolean value)TCopyParamssetDelimiter(String delimiter)voidsetDelimiterIsSet(boolean value)TCopyParamssetEscape(String escape)voidsetEscapeIsSet(boolean value)voidsetFieldValue(TCopyParams._Fields field, Object value)TCopyParamssetFile_type(TFileType file_type)voidsetFile_typeIsSet(boolean value)TCopyParamssetGeo_assign_render_groups(boolean geo_assign_render_groups)voidsetGeo_assign_render_groupsIsSet(boolean value)TCopyParamssetGeo_coords_comp_param(int geo_coords_comp_param)voidsetGeo_coords_comp_paramIsSet(boolean value)TCopyParamssetGeo_coords_encoding(TEncodingType geo_coords_encoding)voidsetGeo_coords_encodingIsSet(boolean value)TCopyParamssetGeo_coords_srid(int geo_coords_srid)voidsetGeo_coords_sridIsSet(boolean value)TCopyParamssetGeo_coords_type(TDatumType geo_coords_type)voidsetGeo_coords_typeIsSet(boolean value)TCopyParamssetGeo_explode_collections(boolean geo_explode_collections)voidsetGeo_explode_collectionsIsSet(boolean value)TCopyParamssetGeo_layer_name(String geo_layer_name)voidsetGeo_layer_nameIsSet(boolean value)TCopyParamssetHas_header(TImportHeaderRow has_header)voidsetHas_headerIsSet(boolean value)TCopyParamssetLine_delim(String line_delim)voidsetLine_delimIsSet(boolean value)TCopyParamssetNull_str(String null_str)voidsetNull_strIsSet(boolean value)TCopyParamssetQuote(String quote)TCopyParamssetQuoted(boolean quoted)voidsetQuotedIsSet(boolean value)voidsetQuoteIsSet(boolean value)TCopyParamssetS3_access_key(String s3_access_key)voidsetS3_access_keyIsSet(boolean value)TCopyParamssetS3_endpoint(String s3_endpoint)voidsetS3_endpointIsSet(boolean value)TCopyParamssetS3_region(String s3_region)voidsetS3_regionIsSet(boolean value)TCopyParamssetS3_secret_key(String s3_secret_key)voidsetS3_secret_keyIsSet(boolean value)TCopyParamssetSanitize_column_names(boolean sanitize_column_names)voidsetSanitize_column_namesIsSet(boolean value)TCopyParamssetThreads(int threads)voidsetThreadsIsSet(boolean value)StringtoString()voidunsetArray_begin()voidunsetArray_delim()voidunsetArray_end()voidunsetDelimiter()voidunsetEscape()voidunsetFile_type()voidunsetGeo_assign_render_groups()voidunsetGeo_coords_comp_param()voidunsetGeo_coords_encoding()voidunsetGeo_coords_srid()voidunsetGeo_coords_type()voidunsetGeo_explode_collections()voidunsetGeo_layer_name()voidunsetHas_header()voidunsetLine_delim()voidunsetNull_str()voidunsetQuote()voidunsetQuoted()voidunsetS3_access_key()voidunsetS3_endpoint()voidunsetS3_region()voidunsetS3_secret_key()voidunsetSanitize_column_names()voidunsetThreads()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
delimiter
public String delimiter
-
null_str
public String null_str
-
has_header
public TImportHeaderRow has_header
- See Also:
TImportHeaderRow
-
quoted
public boolean quoted
-
quote
public String quote
-
escape
public String escape
-
line_delim
public String line_delim
-
array_delim
public String array_delim
-
array_begin
public String array_begin
-
array_end
public String array_end
-
threads
public int threads
-
s3_access_key
public String s3_access_key
-
s3_secret_key
public String s3_secret_key
-
s3_region
public String s3_region
-
geo_coords_encoding
public TEncodingType geo_coords_encoding
- See Also:
TEncodingType
-
geo_coords_comp_param
public int geo_coords_comp_param
-
geo_coords_type
public TDatumType geo_coords_type
- See Also:
TDatumType
-
geo_coords_srid
public int geo_coords_srid
-
sanitize_column_names
public boolean sanitize_column_names
-
geo_layer_name
public String geo_layer_name
-
s3_endpoint
public String s3_endpoint
-
geo_assign_render_groups
public boolean geo_assign_render_groups
-
geo_explode_collections
public boolean geo_explode_collections
-
metaDataMap
public static final Map<TCopyParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCopyParams
public TCopyParams()
-
TCopyParams
public TCopyParams(String delimiter, String null_str, TImportHeaderRow has_header, boolean quoted, String quote, String escape, String line_delim, String array_delim, String array_begin, String array_end, int threads, TFileType file_type, String s3_access_key, String s3_secret_key, String s3_region, TEncodingType geo_coords_encoding, int geo_coords_comp_param, TDatumType geo_coords_type, int geo_coords_srid, boolean sanitize_column_names, String geo_layer_name, String s3_endpoint, boolean geo_assign_render_groups, boolean geo_explode_collections)
-
TCopyParams
public TCopyParams(TCopyParams other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCopyParams deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
getDelimiter
public String getDelimiter()
-
setDelimiter
public TCopyParams setDelimiter(String delimiter)
-
unsetDelimiter
public void unsetDelimiter()
-
isSetDelimiter
public boolean isSetDelimiter()
Returns true if field delimiter is set (has been assigned a value) and false otherwise
-
setDelimiterIsSet
public void setDelimiterIsSet(boolean value)
-
getNull_str
public String getNull_str()
-
setNull_str
public TCopyParams setNull_str(String null_str)
-
unsetNull_str
public void unsetNull_str()
-
isSetNull_str
public boolean isSetNull_str()
Returns true if field null_str is set (has been assigned a value) and false otherwise
-
setNull_strIsSet
public void setNull_strIsSet(boolean value)
-
getHas_header
public TImportHeaderRow getHas_header()
- See Also:
TImportHeaderRow
-
setHas_header
public TCopyParams setHas_header(TImportHeaderRow has_header)
- See Also:
TImportHeaderRow
-
unsetHas_header
public void unsetHas_header()
-
isSetHas_header
public boolean isSetHas_header()
Returns true if field has_header is set (has been assigned a value) and false otherwise
-
setHas_headerIsSet
public void setHas_headerIsSet(boolean value)
-
isQuoted
public boolean isQuoted()
-
setQuoted
public TCopyParams setQuoted(boolean quoted)
-
unsetQuoted
public void unsetQuoted()
-
isSetQuoted
public boolean isSetQuoted()
Returns true if field quoted is set (has been assigned a value) and false otherwise
-
setQuotedIsSet
public void setQuotedIsSet(boolean value)
-
getQuote
public String getQuote()
-
setQuote
public TCopyParams setQuote(String quote)
-
unsetQuote
public void unsetQuote()
-
isSetQuote
public boolean isSetQuote()
Returns true if field quote is set (has been assigned a value) and false otherwise
-
setQuoteIsSet
public void setQuoteIsSet(boolean value)
-
getEscape
public String getEscape()
-
setEscape
public TCopyParams setEscape(String escape)
-
unsetEscape
public void unsetEscape()
-
isSetEscape
public boolean isSetEscape()
Returns true if field escape is set (has been assigned a value) and false otherwise
-
setEscapeIsSet
public void setEscapeIsSet(boolean value)
-
getLine_delim
public String getLine_delim()
-
setLine_delim
public TCopyParams setLine_delim(String line_delim)
-
unsetLine_delim
public void unsetLine_delim()
-
isSetLine_delim
public boolean isSetLine_delim()
Returns true if field line_delim is set (has been assigned a value) and false otherwise
-
setLine_delimIsSet
public void setLine_delimIsSet(boolean value)
-
getArray_delim
public String getArray_delim()
-
setArray_delim
public TCopyParams setArray_delim(String array_delim)
-
unsetArray_delim
public void unsetArray_delim()
-
isSetArray_delim
public boolean isSetArray_delim()
Returns true if field array_delim is set (has been assigned a value) and false otherwise
-
setArray_delimIsSet
public void setArray_delimIsSet(boolean value)
-
getArray_begin
public String getArray_begin()
-
setArray_begin
public TCopyParams setArray_begin(String array_begin)
-
unsetArray_begin
public void unsetArray_begin()
-
isSetArray_begin
public boolean isSetArray_begin()
Returns true if field array_begin is set (has been assigned a value) and false otherwise
-
setArray_beginIsSet
public void setArray_beginIsSet(boolean value)
-
getArray_end
public String getArray_end()
-
setArray_end
public TCopyParams setArray_end(String array_end)
-
unsetArray_end
public void unsetArray_end()
-
isSetArray_end
public boolean isSetArray_end()
Returns true if field array_end is set (has been assigned a value) and false otherwise
-
setArray_endIsSet
public void setArray_endIsSet(boolean value)
-
getThreads
public int getThreads()
-
setThreads
public TCopyParams setThreads(int threads)
-
unsetThreads
public void unsetThreads()
-
isSetThreads
public boolean isSetThreads()
Returns true if field threads is set (has been assigned a value) and false otherwise
-
setThreadsIsSet
public void setThreadsIsSet(boolean value)
-
setFile_type
public TCopyParams setFile_type(TFileType file_type)
- See Also:
TFileType
-
unsetFile_type
public void unsetFile_type()
-
isSetFile_type
public boolean isSetFile_type()
Returns true if field file_type is set (has been assigned a value) and false otherwise
-
setFile_typeIsSet
public void setFile_typeIsSet(boolean value)
-
getS3_access_key
public String getS3_access_key()
-
setS3_access_key
public TCopyParams setS3_access_key(String s3_access_key)
-
unsetS3_access_key
public void unsetS3_access_key()
-
isSetS3_access_key
public boolean isSetS3_access_key()
Returns true if field s3_access_key is set (has been assigned a value) and false otherwise
-
setS3_access_keyIsSet
public void setS3_access_keyIsSet(boolean value)
-
getS3_secret_key
public String getS3_secret_key()
-
setS3_secret_key
public TCopyParams setS3_secret_key(String s3_secret_key)
-
unsetS3_secret_key
public void unsetS3_secret_key()
-
isSetS3_secret_key
public boolean isSetS3_secret_key()
Returns true if field s3_secret_key is set (has been assigned a value) and false otherwise
-
setS3_secret_keyIsSet
public void setS3_secret_keyIsSet(boolean value)
-
getS3_region
public String getS3_region()
-
setS3_region
public TCopyParams setS3_region(String s3_region)
-
unsetS3_region
public void unsetS3_region()
-
isSetS3_region
public boolean isSetS3_region()
Returns true if field s3_region is set (has been assigned a value) and false otherwise
-
setS3_regionIsSet
public void setS3_regionIsSet(boolean value)
-
getGeo_coords_encoding
public TEncodingType getGeo_coords_encoding()
- See Also:
TEncodingType
-
setGeo_coords_encoding
public TCopyParams setGeo_coords_encoding(TEncodingType geo_coords_encoding)
- See Also:
TEncodingType
-
unsetGeo_coords_encoding
public void unsetGeo_coords_encoding()
-
isSetGeo_coords_encoding
public boolean isSetGeo_coords_encoding()
Returns true if field geo_coords_encoding is set (has been assigned a value) and false otherwise
-
setGeo_coords_encodingIsSet
public void setGeo_coords_encodingIsSet(boolean value)
-
getGeo_coords_comp_param
public int getGeo_coords_comp_param()
-
setGeo_coords_comp_param
public TCopyParams setGeo_coords_comp_param(int geo_coords_comp_param)
-
unsetGeo_coords_comp_param
public void unsetGeo_coords_comp_param()
-
isSetGeo_coords_comp_param
public boolean isSetGeo_coords_comp_param()
Returns true if field geo_coords_comp_param is set (has been assigned a value) and false otherwise
-
setGeo_coords_comp_paramIsSet
public void setGeo_coords_comp_paramIsSet(boolean value)
-
getGeo_coords_type
public TDatumType getGeo_coords_type()
- See Also:
TDatumType
-
setGeo_coords_type
public TCopyParams setGeo_coords_type(TDatumType geo_coords_type)
- See Also:
TDatumType
-
unsetGeo_coords_type
public void unsetGeo_coords_type()
-
isSetGeo_coords_type
public boolean isSetGeo_coords_type()
Returns true if field geo_coords_type is set (has been assigned a value) and false otherwise
-
setGeo_coords_typeIsSet
public void setGeo_coords_typeIsSet(boolean value)
-
getGeo_coords_srid
public int getGeo_coords_srid()
-
setGeo_coords_srid
public TCopyParams setGeo_coords_srid(int geo_coords_srid)
-
unsetGeo_coords_srid
public void unsetGeo_coords_srid()
-
isSetGeo_coords_srid
public boolean isSetGeo_coords_srid()
Returns true if field geo_coords_srid is set (has been assigned a value) and false otherwise
-
setGeo_coords_sridIsSet
public void setGeo_coords_sridIsSet(boolean value)
-
isSanitize_column_names
public boolean isSanitize_column_names()
-
setSanitize_column_names
public TCopyParams setSanitize_column_names(boolean sanitize_column_names)
-
unsetSanitize_column_names
public void unsetSanitize_column_names()
-
isSetSanitize_column_names
public boolean isSetSanitize_column_names()
Returns true if field sanitize_column_names is set (has been assigned a value) and false otherwise
-
setSanitize_column_namesIsSet
public void setSanitize_column_namesIsSet(boolean value)
-
getGeo_layer_name
public String getGeo_layer_name()
-
setGeo_layer_name
public TCopyParams setGeo_layer_name(String geo_layer_name)
-
unsetGeo_layer_name
public void unsetGeo_layer_name()
-
isSetGeo_layer_name
public boolean isSetGeo_layer_name()
Returns true if field geo_layer_name is set (has been assigned a value) and false otherwise
-
setGeo_layer_nameIsSet
public void setGeo_layer_nameIsSet(boolean value)
-
getS3_endpoint
public String getS3_endpoint()
-
setS3_endpoint
public TCopyParams setS3_endpoint(String s3_endpoint)
-
unsetS3_endpoint
public void unsetS3_endpoint()
-
isSetS3_endpoint
public boolean isSetS3_endpoint()
Returns true if field s3_endpoint is set (has been assigned a value) and false otherwise
-
setS3_endpointIsSet
public void setS3_endpointIsSet(boolean value)
-
isGeo_assign_render_groups
public boolean isGeo_assign_render_groups()
-
setGeo_assign_render_groups
public TCopyParams setGeo_assign_render_groups(boolean geo_assign_render_groups)
-
unsetGeo_assign_render_groups
public void unsetGeo_assign_render_groups()
-
isSetGeo_assign_render_groups
public boolean isSetGeo_assign_render_groups()
Returns true if field geo_assign_render_groups is set (has been assigned a value) and false otherwise
-
setGeo_assign_render_groupsIsSet
public void setGeo_assign_render_groupsIsSet(boolean value)
-
isGeo_explode_collections
public boolean isGeo_explode_collections()
-
setGeo_explode_collections
public TCopyParams setGeo_explode_collections(boolean geo_explode_collections)
-
unsetGeo_explode_collections
public void unsetGeo_explode_collections()
-
isSetGeo_explode_collections
public boolean isSetGeo_explode_collections()
Returns true if field geo_explode_collections is set (has been assigned a value) and false otherwise
-
setGeo_explode_collectionsIsSet
public void setGeo_explode_collectionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCopyParams._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
getFieldValue
public Object getFieldValue(TCopyParams._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
isSet
public boolean isSet(TCopyParams._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
equals
public boolean equals(TCopyParams that)
-
compareTo
public int compareTo(TCopyParams other)
- Specified by:
compareToin interfaceComparable<TCopyParams>
-
fieldForId
public TCopyParams._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCopyParams,TCopyParams._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-