OmniSciDB  94e8789169
 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 1934 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 1942 of file ttypes.py.

1943  def __init__(self, is_replicated=None,):
1944  self.is_replicated = is_replicated

Member Function Documentation

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

Definition at line 1984 of file ttypes.py.

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

Definition at line 1987 of file ttypes.py.

1988  def __ne__(self, other):
1989  return not (self == other)
1990 
def omnisci.thrift.ttypes.TCreateParams.__repr__ (   self)

Definition at line 1979 of file ttypes.py.

1980  def __repr__(self):
1981  L = ['%s=%r' % (key, value)
1982  for key, value in self.__dict__.items()]
1983  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 1945 of file ttypes.py.

References omnisci.thrift.ttypes.TCreateParams.is_replicated.

1946  def read(self, iprot):
1947  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1948  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1949  return
1950  iprot.readStructBegin()
1951  while True:
1952  (fname, ftype, fid) = iprot.readFieldBegin()
1953  if ftype == TType.STOP:
1954  break
1955  if fid == 1:
1956  if ftype == TType.BOOL:
1957  self.is_replicated = iprot.readBool()
1958  else:
1959  iprot.skip(ftype)
1960  else:
1961  iprot.skip(ftype)
1962  iprot.readFieldEnd()
1963  iprot.readStructEnd()
def omnisci.thrift.ttypes.TCreateParams.validate (   self)

Definition at line 1976 of file ttypes.py.

1977  def validate(self):
1978  return
def omnisci.thrift.ttypes.TCreateParams.write (   self,
  oprot 
)

Definition at line 1964 of file ttypes.py.

References omnisci.thrift.ttypes.TCreateParams.is_replicated.

1965  def write(self, oprot):
1966  if oprot._fast_encode is not None and self.thrift_spec is not None:
1967  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
1968  return
1969  oprot.writeStructBegin('TCreateParams')
1970  if self.is_replicated is not None:
1971  oprot.writeFieldBegin('is_replicated', TType.BOOL, 1)
1972  oprot.writeBool(self.is_replicated)
1973  oprot.writeFieldEnd()
1974  oprot.writeFieldStop()
1975  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TCreateParams.__dict__
private

Definition at line 1985 of file ttypes.py.

omnisci.thrift.ttypes.TCreateParams.is_replicated

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