OmniSciDB  72c90bc290
 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 4925 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 4934 of file ttypes.py.

4935  def __init__(self, data_buffer=None, index_buffer=None,):
4936  self.data_buffer = data_buffer
4937  self.index_buffer = index_buffer

Member Function Documentation

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

Definition at line 4986 of file ttypes.py.

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

Definition at line 4989 of file ttypes.py.

4990  def __ne__(self, other):
4991  return not (self == other)
4992 
def heavydb.thrift.ttypes.TChunkData.__repr__ (   self)

Definition at line 4981 of file ttypes.py.

4982  def __repr__(self):
4983  L = ['%s=%r' % (key, value)
4984  for key, value in self.__dict__.items()]
4985  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 4938 of file ttypes.py.

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

4939  def read(self, iprot):
4940  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
4941  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
4942  return
4943  iprot.readStructBegin()
4944  while True:
4945  (fname, ftype, fid) = iprot.readFieldBegin()
4946  if ftype == TType.STOP:
4947  break
4948  if fid == 1:
4949  if ftype == TType.STRING:
4950  self.data_buffer = iprot.readBinary()
4951  else:
4952  iprot.skip(ftype)
4953  elif fid == 2:
4954  if ftype == TType.STRING:
4955  self.index_buffer = iprot.readBinary()
4956  else:
4957  iprot.skip(ftype)
4958  else:
4959  iprot.skip(ftype)
4960  iprot.readFieldEnd()
4961  iprot.readStructEnd()
def heavydb.thrift.ttypes.TChunkData.validate (   self)

Definition at line 4978 of file ttypes.py.

4979  def validate(self):
4980  return
def heavydb.thrift.ttypes.TChunkData.write (   self,
  oprot 
)

Definition at line 4962 of file ttypes.py.

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

4963  def write(self, oprot):
4964  if oprot._fast_encode is not None and self.thrift_spec is not None:
4965  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
4966  return
4967  oprot.writeStructBegin('TChunkData')
4968  if self.data_buffer is not None:
4969  oprot.writeFieldBegin('data_buffer', TType.STRING, 1)
4970  oprot.writeBinary(self.data_buffer)
4971  oprot.writeFieldEnd()
4972  if self.index_buffer is not None:
4973  oprot.writeFieldBegin('index_buffer', TType.STRING, 2)
4974  oprot.writeBinary(self.index_buffer)
4975  oprot.writeFieldEnd()
4976  oprot.writeFieldStop()
4977  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TChunkData.__dict__
private

Definition at line 4987 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TChunkData.data_buffer

Definition at line 4935 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 4936 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: