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

Constructor & Destructor Documentation

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

Definition at line 2258 of file ttypes.py.

2259  def __init__(self, is_replicated=None,):
2260  self.is_replicated = is_replicated

Member Function Documentation

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

Definition at line 2300 of file ttypes.py.

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

Definition at line 2303 of file ttypes.py.

2304  def __ne__(self, other):
2305  return not (self == other)
2306 
def heavydb.thrift.ttypes.TCreateParams.__repr__ (   self)

Definition at line 2295 of file ttypes.py.

2296  def __repr__(self):
2297  L = ['%s=%r' % (key, value)
2298  for key, value in self.__dict__.items()]
2299  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 2261 of file ttypes.py.

References heavydb.thrift.ttypes.TCreateParams.is_replicated.

2262  def read(self, iprot):
2263  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2264  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2265  return
2266  iprot.readStructBegin()
2267  while True:
2268  (fname, ftype, fid) = iprot.readFieldBegin()
2269  if ftype == TType.STOP:
2270  break
2271  if fid == 1:
2272  if ftype == TType.BOOL:
2273  self.is_replicated = iprot.readBool()
2274  else:
2275  iprot.skip(ftype)
2276  else:
2277  iprot.skip(ftype)
2278  iprot.readFieldEnd()
2279  iprot.readStructEnd()
def heavydb.thrift.ttypes.TCreateParams.validate (   self)

Definition at line 2292 of file ttypes.py.

2293  def validate(self):
2294  return
def heavydb.thrift.ttypes.TCreateParams.write (   self,
  oprot 
)

Definition at line 2280 of file ttypes.py.

References heavydb.thrift.ttypes.TCreateParams.is_replicated.

2281  def write(self, oprot):
2282  if oprot._fast_encode is not None and self.thrift_spec is not None:
2283  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2284  return
2285  oprot.writeStructBegin('TCreateParams')
2286  if self.is_replicated is not None:
2287  oprot.writeFieldBegin('is_replicated', TType.BOOL, 1)
2288  oprot.writeBool(self.is_replicated)
2289  oprot.writeFieldEnd()
2290  oprot.writeFieldStop()
2291  oprot.writeStructEnd()

Member Data Documentation

heavydb.thrift.ttypes.TCreateParams.__dict__
private

Definition at line 2301 of file ttypes.py.

Referenced by generate_TableFunctionsFactory_init.Node.copy().

heavydb.thrift.ttypes.TCreateParams.is_replicated

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