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

Public Member Functions

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

Public Attributes

 is_replicated
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - is_replicated

Definition at line 2283 of file ttypes.py.

Constructor & Destructor Documentation

def heavydb.thrift.ttypes.TCreateParams.__init__ (   self,
  is_replicated = None 
)

Definition at line 2291 of file ttypes.py.

2292  def __init__(self, is_replicated=None,):
2293  self.is_replicated = is_replicated

Member Function Documentation

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

Definition at line 2333 of file ttypes.py.

2334  def __eq__(self, other):
2335  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def heavydb.thrift.ttypes.TCreateParams.__ne__ (   self,
  other 
)

Definition at line 2336 of file ttypes.py.

2337  def __ne__(self, other):
2338  return not (self == other)
2339 
def heavydb.thrift.ttypes.TCreateParams.__repr__ (   self)

Definition at line 2328 of file ttypes.py.

2329  def __repr__(self):
2330  L = ['%s=%r' % (key, value)
2331  for key, value in self.__dict__.items()]
2332  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.TCreateParams.read (   self,
  iprot 
)

Definition at line 2294 of file ttypes.py.

References heavydb.thrift.ttypes.TCreateParams.is_replicated.

2295  def read(self, iprot):
2296  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2297  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2298  return
2299  iprot.readStructBegin()
2300  while True:
2301  (fname, ftype, fid) = iprot.readFieldBegin()
2302  if ftype == TType.STOP:
2303  break
2304  if fid == 1:
2305  if ftype == TType.BOOL:
2306  self.is_replicated = iprot.readBool()
2307  else:
2308  iprot.skip(ftype)
2309  else:
2310  iprot.skip(ftype)
2311  iprot.readFieldEnd()
2312  iprot.readStructEnd()
def heavydb.thrift.ttypes.TCreateParams.validate (   self)

Definition at line 2325 of file ttypes.py.

2326  def validate(self):
2327  return
def heavydb.thrift.ttypes.TCreateParams.write (   self,
  oprot 
)

Definition at line 2313 of file ttypes.py.

References heavydb.thrift.ttypes.TCreateParams.is_replicated.

2314  def write(self, oprot):
2315  if oprot._fast_encode is not None and self.thrift_spec is not None:
2316  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2317  return
2318  oprot.writeStructBegin('TCreateParams')
2319  if self.is_replicated is not None:
2320  oprot.writeFieldBegin('is_replicated', TType.BOOL, 1)
2321  oprot.writeBool(self.is_replicated)
2322  oprot.writeFieldEnd()
2323  oprot.writeFieldStop()
2324  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TCreateParams.__dict__
private

Definition at line 2334 of file ttypes.py.

Referenced by TableFunctionsFactory_node.Node.copy().

heavydb.thrift.ttypes.TCreateParams.is_replicated

Definition at line 2292 of file ttypes.py.

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


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