OmniSciDB  c1a53651b2
 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 92 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 101 of file ttypes.py.

102  def __init__(self, padded=None, logical=None,):
103  self.padded = padded
104  self.logical = logical

Member Function Documentation

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

Definition at line 153 of file ttypes.py.

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

Definition at line 156 of file ttypes.py.

157  def __ne__(self, other):
158  return not (self == other)
159 
def heavydb.serialized_result_set.ttypes.TSlotSize.__repr__ (   self)

Definition at line 148 of file ttypes.py.

149  def __repr__(self):
150  L = ['%s=%r' % (key, value)
151  for key, value in self.__dict__.items()]
152  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 105 of file ttypes.py.

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

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

Definition at line 145 of file ttypes.py.

146  def validate(self):
147  return
def heavydb.serialized_result_set.ttypes.TSlotSize.write (   self,
  oprot 
)

Definition at line 129 of file ttypes.py.

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

130  def write(self, oprot):
131  if oprot._fast_encode is not None and self.thrift_spec is not None:
132  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
133  return
134  oprot.writeStructBegin('TSlotSize')
135  if self.padded is not None:
136  oprot.writeFieldBegin('padded', TType.I16, 1)
137  oprot.writeI16(self.padded)
138  oprot.writeFieldEnd()
139  if self.logical is not None:
140  oprot.writeFieldBegin('logical', TType.I16, 2)
141  oprot.writeI16(self.logical)
142  oprot.writeFieldEnd()
143  oprot.writeFieldStop()
144  oprot.writeStructEnd()

Member Data Documentation

heavydb.serialized_result_set.ttypes.TSlotSize.__dict__
private

Definition at line 154 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.serialized_result_set.ttypes.TSlotSize.logical

Definition at line 103 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 102 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: