OmniSciDB  cde582ebc3
 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 7085 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 7094 of file ttypes.py.

7095  def __init__(self, leaf_id=None, num_leaves=None,):
7096  self.leaf_id = leaf_id
7097  self.num_leaves = num_leaves

Member Function Documentation

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

Definition at line 7146 of file ttypes.py.

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

Definition at line 7149 of file ttypes.py.

7150  def __ne__(self, other):
7151  return not (self == other)
7152 all_structs.append(TDatumVal)
TDatumVal.thrift_spec = (
def heavydb.thrift.ttypes.TLeafInfo.__repr__ (   self)

Definition at line 7141 of file ttypes.py.

7142  def __repr__(self):
7143  L = ['%s=%r' % (key, value)
7144  for key, value in self.__dict__.items()]
7145  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 7098 of file ttypes.py.

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

7099  def read(self, iprot):
7100  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
7101  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
7102  return
7103  iprot.readStructBegin()
7104  while True:
7105  (fname, ftype, fid) = iprot.readFieldBegin()
7106  if ftype == TType.STOP:
7107  break
7108  if fid == 1:
7109  if ftype == TType.I32:
7110  self.leaf_id = iprot.readI32()
7111  else:
7112  iprot.skip(ftype)
7113  elif fid == 2:
7114  if ftype == TType.I32:
7115  self.num_leaves = iprot.readI32()
7116  else:
7117  iprot.skip(ftype)
7118  else:
7119  iprot.skip(ftype)
7120  iprot.readFieldEnd()
7121  iprot.readStructEnd()
def heavydb.thrift.ttypes.TLeafInfo.validate (   self)

Definition at line 7138 of file ttypes.py.

7139  def validate(self):
7140  return
def heavydb.thrift.ttypes.TLeafInfo.write (   self,
  oprot 
)

Definition at line 7122 of file ttypes.py.

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

7123  def write(self, oprot):
7124  if oprot._fast_encode is not None and self.thrift_spec is not None:
7125  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
7126  return
7127  oprot.writeStructBegin('TLeafInfo')
7128  if self.leaf_id is not None:
7129  oprot.writeFieldBegin('leaf_id', TType.I32, 1)
7130  oprot.writeI32(self.leaf_id)
7131  oprot.writeFieldEnd()
7132  if self.num_leaves is not None:
7133  oprot.writeFieldBegin('num_leaves', TType.I32, 2)
7134  oprot.writeI32(self.num_leaves)
7135  oprot.writeFieldEnd()
7136  oprot.writeFieldStop()
7137  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TLeafInfo.__dict__
private

Definition at line 7147 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TLeafInfo.leaf_id

Definition at line 7095 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 7096 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: