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

Public Member Functions

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

Public Attributes

 padded
 
 logical
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - padded
 - logical

Definition at line 98 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.serialized_result_set.ttypes.TSlotSize.__init__ (   self,
  padded = None,
  logical = None 
)

Definition at line 107 of file ttypes.py.

108  def __init__(self, padded=None, logical=None,):
109  self.padded = padded
110  self.logical = logical

Member Function Documentation

def heavydb.serialized_result_set.ttypes.TSlotSize.__eq__ (   self,
  other 
)

Definition at line 159 of file ttypes.py.

160  def __eq__(self, other):
161  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.serialized_result_set.ttypes.TSlotSize.__ne__ (   self,
  other 
)

Definition at line 162 of file ttypes.py.

163  def __ne__(self, other):
164  return not (self == other)
165 
def heavydb.serialized_result_set.ttypes.TSlotSize.__repr__ (   self)

Definition at line 154 of file ttypes.py.

155  def __repr__(self):
156  L = ['%s=%r' % (key, value)
157  for key, value in self.__dict__.items()]
158  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.serialized_result_set.ttypes.TSlotSize.read (   self,
  iprot 
)

Definition at line 111 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TSlotSize.logical, and heavydb.serialized_result_set.ttypes.TSlotSize.padded.

112  def read(self, iprot):
113  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
114  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
115  return
116  iprot.readStructBegin()
117  while True:
118  (fname, ftype, fid) = iprot.readFieldBegin()
119  if ftype == TType.STOP:
120  break
121  if fid == 1:
122  if ftype == TType.I16:
123  self.padded = iprot.readI16()
124  else:
125  iprot.skip(ftype)
126  elif fid == 2:
127  if ftype == TType.I16:
128  self.logical = iprot.readI16()
129  else:
130  iprot.skip(ftype)
131  else:
132  iprot.skip(ftype)
133  iprot.readFieldEnd()
134  iprot.readStructEnd()
def heavydb.serialized_result_set.ttypes.TSlotSize.validate (   self)

Definition at line 151 of file ttypes.py.

152  def validate(self):
153  return
def heavydb.serialized_result_set.ttypes.TSlotSize.write (   self,
  oprot 
)

Definition at line 135 of file ttypes.py.

References heavydb.serialized_result_set.ttypes.TSlotSize.logical, and heavydb.serialized_result_set.ttypes.TSlotSize.padded.

136  def write(self, oprot):
137  if oprot._fast_encode is not None and self.thrift_spec is not None:
138  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
139  return
140  oprot.writeStructBegin('TSlotSize')
141  if self.padded is not None:
142  oprot.writeFieldBegin('padded', TType.I16, 1)
143  oprot.writeI16(self.padded)
144  oprot.writeFieldEnd()
145  if self.logical is not None:
146  oprot.writeFieldBegin('logical', TType.I16, 2)
147  oprot.writeI16(self.logical)
148  oprot.writeFieldEnd()
149  oprot.writeFieldStop()
150  oprot.writeStructEnd()

Member Data Documentation

heavydb.serialized_result_set.ttypes.TSlotSize.__dict__
private

Definition at line 160 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.serialized_result_set.ttypes.TSlotSize.logical

Definition at line 109 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TSlotSize.read(), and heavydb.serialized_result_set.ttypes.TSlotSize.write().

heavydb.serialized_result_set.ttypes.TSlotSize.padded

Definition at line 108 of file ttypes.py.

Referenced by heavydb.serialized_result_set.ttypes.TSlotSize.read(), and heavydb.serialized_result_set.ttypes.TSlotSize.write().


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