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

Public Member Functions

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

Public Attributes

 leaf_id
 
 num_leaves
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - leaf_id
 - num_leaves

Definition at line 7272 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TLeafInfo.__init__ (   self,
  leaf_id = None,
  num_leaves = None 
)

Definition at line 7281 of file ttypes.py.

7282  def __init__(self, leaf_id=None, num_leaves=None,):
7283  self.leaf_id = leaf_id
7284  self.num_leaves = num_leaves

Member Function Documentation

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

Definition at line 7333 of file ttypes.py.

7334  def __eq__(self, other):
7335  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TLeafInfo.__ne__ (   self,
  other 
)

Definition at line 7336 of file ttypes.py.

7337  def __ne__(self, other):
7338  return not (self == other)
7339 all_structs.append(TDatumVal)
TDatumVal.thrift_spec = (
def heavydb.thrift.ttypes.TLeafInfo.__repr__ (   self)

Definition at line 7328 of file ttypes.py.

7329  def __repr__(self):
7330  L = ['%s=%r' % (key, value)
7331  for key, value in self.__dict__.items()]
7332  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.TLeafInfo.read (   self,
  iprot 
)

Definition at line 7285 of file ttypes.py.

References heavydb.thrift.ttypes.TLeafInfo.leaf_id, and heavydb.thrift.ttypes.TLeafInfo.num_leaves.

7286  def read(self, iprot):
7287  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
7288  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
7289  return
7290  iprot.readStructBegin()
7291  while True:
7292  (fname, ftype, fid) = iprot.readFieldBegin()
7293  if ftype == TType.STOP:
7294  break
7295  if fid == 1:
7296  if ftype == TType.I32:
7297  self.leaf_id = iprot.readI32()
7298  else:
7299  iprot.skip(ftype)
7300  elif fid == 2:
7301  if ftype == TType.I32:
7302  self.num_leaves = iprot.readI32()
7303  else:
7304  iprot.skip(ftype)
7305  else:
7306  iprot.skip(ftype)
7307  iprot.readFieldEnd()
7308  iprot.readStructEnd()
def heavydb.thrift.ttypes.TLeafInfo.validate (   self)

Definition at line 7325 of file ttypes.py.

7326  def validate(self):
7327  return
def heavydb.thrift.ttypes.TLeafInfo.write (   self,
  oprot 
)

Definition at line 7309 of file ttypes.py.

References heavydb.thrift.ttypes.TLeafInfo.leaf_id, and heavydb.thrift.ttypes.TLeafInfo.num_leaves.

7310  def write(self, oprot):
7311  if oprot._fast_encode is not None and self.thrift_spec is not None:
7312  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7313  return
7314  oprot.writeStructBegin('TLeafInfo')
7315  if self.leaf_id is not None:
7316  oprot.writeFieldBegin('leaf_id', TType.I32, 1)
7317  oprot.writeI32(self.leaf_id)
7318  oprot.writeFieldEnd()
7319  if self.num_leaves is not None:
7320  oprot.writeFieldBegin('num_leaves', TType.I32, 2)
7321  oprot.writeI32(self.num_leaves)
7322  oprot.writeFieldEnd()
7323  oprot.writeFieldStop()
7324  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TLeafInfo.__dict__
private

Definition at line 7334 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TLeafInfo.leaf_id

Definition at line 7282 of file ttypes.py.

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

heavydb.thrift.ttypes.TLeafInfo.num_leaves

Definition at line 7283 of file ttypes.py.

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


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