public class ColumnChunk extends Object implements org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>, Serializable, Cloneable, Comparable<ColumnChunk>
Modifier and Type | Class and Description |
---|---|
static class |
ColumnChunk._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
file_offset
Byte offset in file_path to the ColumnMetaData *
|
String |
file_path
File where column data is stored.
|
ColumnMetaData |
meta_data
Column metadata for this chunk.
|
static Map<ColumnChunk._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ColumnChunk() |
ColumnChunk(ColumnChunk other)
Performs a deep copy on other.
|
ColumnChunk(long file_offset) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ColumnChunk other) |
ColumnChunk |
deepCopy() |
boolean |
equals(ColumnChunk that) |
boolean |
equals(Object that) |
ColumnChunk._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ColumnChunk._Fields field) |
long |
getFile_offset()
Byte offset in file_path to the ColumnMetaData *
|
String |
getFile_path()
File where column data is stored.
|
ColumnMetaData |
getMeta_data()
Column metadata for this chunk.
|
int |
hashCode() |
boolean |
isSet(ColumnChunk._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFile_offset()
Returns true if field file_offset is set (has been assigned a value) and false otherwise
|
boolean |
isSetFile_path()
Returns true if field file_path is set (has been assigned a value) and false otherwise
|
boolean |
isSetMeta_data()
Returns true if field meta_data is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ColumnChunk._Fields field,
Object value) |
ColumnChunk |
setFile_offset(long file_offset)
Byte offset in file_path to the ColumnMetaData *
|
void |
setFile_offsetIsSet(boolean value) |
ColumnChunk |
setFile_path(String file_path)
File where column data is stored.
|
void |
setFile_pathIsSet(boolean value) |
ColumnChunk |
setMeta_data(ColumnMetaData meta_data)
Column metadata for this chunk.
|
void |
setMeta_dataIsSet(boolean value) |
String |
toString() |
void |
unsetFile_offset() |
void |
unsetFile_path() |
void |
unsetMeta_data() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String file_path
public long file_offset
public ColumnMetaData meta_data
public static final Map<ColumnChunk._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ColumnChunk()
public ColumnChunk(long file_offset)
public ColumnChunk(ColumnChunk other)
public ColumnChunk deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public String getFile_path()
public ColumnChunk setFile_path(String file_path)
public void unsetFile_path()
public boolean isSetFile_path()
public void setFile_pathIsSet(boolean value)
public long getFile_offset()
public ColumnChunk setFile_offset(long file_offset)
public void unsetFile_offset()
public boolean isSetFile_offset()
public void setFile_offsetIsSet(boolean value)
public ColumnMetaData getMeta_data()
public ColumnChunk setMeta_data(ColumnMetaData meta_data)
public void unsetMeta_data()
public boolean isSetMeta_data()
public void setMeta_dataIsSet(boolean value)
public void setFieldValue(ColumnChunk._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public Object getFieldValue(ColumnChunk._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public boolean isSet(ColumnChunk._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public boolean equals(ColumnChunk that)
public int compareTo(ColumnChunk other)
compareTo
in interface Comparable<ColumnChunk>
public ColumnChunk._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ColumnChunk,ColumnChunk._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All rights reserved.