OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TCreateParams Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TCreateParams:
+ Collaboration diagram for omnisci.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 1920 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 1928 of file ttypes.py.

1929  def __init__(self, is_replicated=None,):
1930  self.is_replicated = is_replicated

Member Function Documentation

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

Definition at line 1970 of file ttypes.py.

1971  def __eq__(self, other):
1972  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TCreateParams.__ne__ (   self,
  other 
)

Definition at line 1973 of file ttypes.py.

1974  def __ne__(self, other):
1975  return not (self == other)
1976 
def omnisci.thrift.ttypes.TCreateParams.__repr__ (   self)

Definition at line 1965 of file ttypes.py.

1966  def __repr__(self):
1967  L = ['%s=%r' % (key, value)
1968  for key, value in self.__dict__.items()]
1969  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 omnisci.thrift.ttypes.TCreateParams.read (   self,
  iprot 
)

Definition at line 1931 of file ttypes.py.

References omnisci.thrift.ttypes.TCreateParams.is_replicated.

1932  def read(self, iprot):
1933  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1934  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1935  return
1936  iprot.readStructBegin()
1937  while True:
1938  (fname, ftype, fid) = iprot.readFieldBegin()
1939  if ftype == TType.STOP:
1940  break
1941  if fid == 1:
1942  if ftype == TType.BOOL:
1943  self.is_replicated = iprot.readBool()
1944  else:
1945  iprot.skip(ftype)
1946  else:
1947  iprot.skip(ftype)
1948  iprot.readFieldEnd()
1949  iprot.readStructEnd()
def omnisci.thrift.ttypes.TCreateParams.validate (   self)

Definition at line 1962 of file ttypes.py.

1963  def validate(self):
1964  return
def omnisci.thrift.ttypes.TCreateParams.write (   self,
  oprot 
)

Definition at line 1950 of file ttypes.py.

References omnisci.thrift.ttypes.TCreateParams.is_replicated.

1951  def write(self, oprot):
1952  if oprot._fast_encode is not None and self.thrift_spec is not None:
1953  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
1954  return
1955  oprot.writeStructBegin('TCreateParams')
1956  if self.is_replicated is not None:
1957  oprot.writeFieldBegin('is_replicated', TType.BOOL, 1)
1958  oprot.writeBool(self.is_replicated)
1959  oprot.writeFieldEnd()
1960  oprot.writeFieldStop()
1961  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TCreateParams.__dict__
private

Definition at line 1971 of file ttypes.py.

omnisci.thrift.ttypes.TCreateParams.is_replicated

Definition at line 1929 of file ttypes.py.

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


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