OmniSciDB  94e8789169
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
omnisci.thrift.ttypes.TDetectResult Class Reference
+ Inheritance diagram for omnisci.thrift.ttypes.TDetectResult:
+ Collaboration diagram for omnisci.thrift.ttypes.TDetectResult:

Public Member Functions

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

Public Attributes

 row_set
 
 copy_params
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - row_set
 - copy_params

Definition at line 1991 of file ttypes.py.

Constructor & Destructor Documentation

def omnisci.thrift.ttypes.TDetectResult.__init__ (   self,
  row_set = None,
  copy_params = None 
)

Definition at line 2000 of file ttypes.py.

2001  def __init__(self, row_set=None, copy_params=None,):
2002  self.row_set = row_set
2003  self.copy_params = copy_params

Member Function Documentation

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

Definition at line 2054 of file ttypes.py.

2055  def __eq__(self, other):
2056  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.ttypes.TDetectResult.__ne__ (   self,
  other 
)

Definition at line 2057 of file ttypes.py.

2058  def __ne__(self, other):
2059  return not (self == other)
2060 
def omnisci.thrift.ttypes.TDetectResult.__repr__ (   self)

Definition at line 2049 of file ttypes.py.

2050  def __repr__(self):
2051  L = ['%s=%r' % (key, value)
2052  for key, value in self.__dict__.items()]
2053  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.TDetectResult.read (   self,
  iprot 
)

Definition at line 2004 of file ttypes.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, omnisci.thrift.ttypes.TDetectResult.copy_params, omnisci.thrift.OmniSci.detect_column_types_args.copy_params, omnisci.thrift.OmniSci.import_table_args.copy_params, omnisci.thrift.OmniSci.import_geo_table_args.copy_params, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.copy_params, omnisci.thrift.OmniSci.get_all_files_in_archive_args.copy_params, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.copy_params, omnisci.thrift.ttypes.TQueryResult.row_set, and omnisci.thrift.ttypes.TDetectResult.row_set.

2005  def read(self, iprot):
2006  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2007  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2008  return
2009  iprot.readStructBegin()
2010  while True:
2011  (fname, ftype, fid) = iprot.readFieldBegin()
2012  if ftype == TType.STOP:
2013  break
2014  if fid == 1:
2015  if ftype == TType.STRUCT:
2016  self.row_set = TRowSet()
2017  self.row_set.read(iprot)
2018  else:
2019  iprot.skip(ftype)
2020  elif fid == 2:
2021  if ftype == TType.STRUCT:
2022  self.copy_params = TCopyParams()
2023  self.copy_params.read(iprot)
2024  else:
2025  iprot.skip(ftype)
2026  else:
2027  iprot.skip(ftype)
2028  iprot.readFieldEnd()
2029  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDetectResult.validate (   self)

Definition at line 2046 of file ttypes.py.

2047  def validate(self):
2048  return
def omnisci.thrift.ttypes.TDetectResult.write (   self,
  oprot 
)

Definition at line 2030 of file ttypes.py.

References foreign_storage::csv_file_buffer_parser::ParseBufferRequest.copy_params, stuff.copy_params, import_export::DataStreamSink.copy_params, omnisci.thrift.ttypes.TDetectResult.copy_params, omnisci.thrift.OmniSci.detect_column_types_args.copy_params, omnisci.thrift.OmniSci.import_table_args.copy_params, omnisci.thrift.OmniSci.import_geo_table_args.copy_params, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.copy_params, omnisci.thrift.OmniSci.get_all_files_in_archive_args.copy_params, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.copy_params, omnisci.thrift.ttypes.TQueryResult.row_set, and omnisci.thrift.ttypes.TDetectResult.row_set.

2031  def write(self, oprot):
2032  if oprot._fast_encode is not None and self.thrift_spec is not None:
2033  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2034  return
2035  oprot.writeStructBegin('TDetectResult')
2036  if self.row_set is not None:
2037  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
2038  self.row_set.write(oprot)
2039  oprot.writeFieldEnd()
2040  if self.copy_params is not None:
2041  oprot.writeFieldBegin('copy_params', TType.STRUCT, 2)
2042  self.copy_params.write(oprot)
2043  oprot.writeFieldEnd()
2044  oprot.writeFieldStop()
2045  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDetectResult.__dict__
private

Definition at line 2055 of file ttypes.py.

omnisci.thrift.ttypes.TDetectResult.copy_params

Definition at line 2002 of file ttypes.py.

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

omnisci.thrift.ttypes.TDetectResult.row_set

Definition at line 2001 of file ttypes.py.

Referenced by omnisci.thrift.ttypes.TDetectResult.read(), omnisci.thrift.ttypes.TPixelTableRowResult.read(), omnisci.thrift.ttypes.TDetectResult.write(), and omnisci.thrift.ttypes.TPixelTableRowResult.write().


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