OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.thrift.ttypes.TChunkData Class Reference
+ Inheritance diagram for heavydb.thrift.ttypes.TChunkData:
+ Collaboration diagram for heavydb.thrift.ttypes.TChunkData:

Public Member Functions

def __init__
 
def read
 
def write
 
def validate
 
def __repr__
 
def __eq__
 
def __ne__
 

Public Attributes

 data_buffer
 
 index_buffer
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - data_buffer
 - index_buffer

Definition at line 4738 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TChunkData.__init__ (   self,
  data_buffer = None,
  index_buffer = None 
)

Definition at line 4747 of file ttypes.py.

4748  def __init__(self, data_buffer=None, index_buffer=None,):
4749  self.data_buffer = data_buffer
4750  self.index_buffer = index_buffer

Member Function Documentation

def heavydb.thrift.ttypes.TChunkData.__eq__ (   self,
  other 
)

Definition at line 4799 of file ttypes.py.

4800  def __eq__(self, other):
4801  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TChunkData.__ne__ (   self,
  other 
)

Definition at line 4802 of file ttypes.py.

4803  def __ne__(self, other):
4804  return not (self == other)
4805 
def heavydb.thrift.ttypes.TChunkData.__repr__ (   self)

Definition at line 4794 of file ttypes.py.

4795  def __repr__(self):
4796  L = ['%s=%r' % (key, value)
4797  for key, value in self.__dict__.items()]
4798  return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
std::string join(T const &container, std::string const &delim)

+ Here is the call graph for this function:

def heavydb.thrift.ttypes.TChunkData.read (   self,
  iprot 
)

Definition at line 4751 of file ttypes.py.

References heavydb.thrift.ttypes.TChunkData.data_buffer, and heavydb.thrift.ttypes.TChunkData.index_buffer.

4752  def read(self, iprot):
4753  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4754  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4755  return
4756  iprot.readStructBegin()
4757  while True:
4758  (fname, ftype, fid) = iprot.readFieldBegin()
4759  if ftype == TType.STOP:
4760  break
4761  if fid == 1:
4762  if ftype == TType.STRING:
4763  self.data_buffer = iprot.readBinary()
4764  else:
4765  iprot.skip(ftype)
4766  elif fid == 2:
4767  if ftype == TType.STRING:
4768  self.index_buffer = iprot.readBinary()
4769  else:
4770  iprot.skip(ftype)
4771  else:
4772  iprot.skip(ftype)
4773  iprot.readFieldEnd()
4774  iprot.readStructEnd()
def heavydb.thrift.ttypes.TChunkData.validate (   self)

Definition at line 4791 of file ttypes.py.

4792  def validate(self):
4793  return
def heavydb.thrift.ttypes.TChunkData.write (   self,
  oprot 
)

Definition at line 4775 of file ttypes.py.

References heavydb.thrift.ttypes.TChunkData.data_buffer, and heavydb.thrift.ttypes.TChunkData.index_buffer.

4776  def write(self, oprot):
4777  if oprot._fast_encode is not None and self.thrift_spec is not None:
4778  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4779  return
4780  oprot.writeStructBegin('TChunkData')
4781  if self.data_buffer is not None:
4782  oprot.writeFieldBegin('data_buffer', TType.STRING, 1)
4783  oprot.writeBinary(self.data_buffer)
4784  oprot.writeFieldEnd()
4785  if self.index_buffer is not None:
4786  oprot.writeFieldBegin('index_buffer', TType.STRING, 2)
4787  oprot.writeBinary(self.index_buffer)
4788  oprot.writeFieldEnd()
4789  oprot.writeFieldStop()
4790  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TChunkData.__dict__
private

Definition at line 4800 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TChunkData.data_buffer

Definition at line 4748 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TChunkData.read(), and heavydb.thrift.ttypes.TChunkData.write().

heavydb.thrift.ttypes.TChunkData.index_buffer

Definition at line 4749 of file ttypes.py.

Referenced by heavydb.thrift.ttypes.TChunkData.read(), and heavydb.thrift.ttypes.TChunkData.write().


The documentation for this class was generated from the following file: