OmniSciDB  340b00dbf6
 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 1977 of file ttypes.py.

Constructor & Destructor Documentation

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

Definition at line 1986 of file ttypes.py.

1987  def __init__(self, row_set=None, copy_params=None,):
1988  self.row_set = row_set
1989  self.copy_params = copy_params

Member Function Documentation

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

Definition at line 2040 of file ttypes.py.

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

Definition at line 2043 of file ttypes.py.

2044  def __ne__(self, other):
2045  return not (self == other)
2046 
def omnisci.thrift.ttypes.TDetectResult.__repr__ (   self)

Definition at line 2035 of file ttypes.py.

2036  def __repr__(self):
2037  L = ['%s=%r' % (key, value)
2038  for key, value in self.__dict__.items()]
2039  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 1990 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.

1991  def read(self, iprot):
1992  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
1993  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
1994  return
1995  iprot.readStructBegin()
1996  while True:
1997  (fname, ftype, fid) = iprot.readFieldBegin()
1998  if ftype == TType.STOP:
1999  break
2000  if fid == 1:
2001  if ftype == TType.STRUCT:
2002  self.row_set = TRowSet()
2003  self.row_set.read(iprot)
2004  else:
2005  iprot.skip(ftype)
2006  elif fid == 2:
2007  if ftype == TType.STRUCT:
2008  self.copy_params = TCopyParams()
2009  self.copy_params.read(iprot)
2010  else:
2011  iprot.skip(ftype)
2012  else:
2013  iprot.skip(ftype)
2014  iprot.readFieldEnd()
2015  iprot.readStructEnd()
def omnisci.thrift.ttypes.TDetectResult.validate (   self)

Definition at line 2032 of file ttypes.py.

2033  def validate(self):
2034  return
def omnisci.thrift.ttypes.TDetectResult.write (   self,
  oprot 
)

Definition at line 2016 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.

2017  def write(self, oprot):
2018  if oprot._fast_encode is not None and self.thrift_spec is not None:
2019  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2020  return
2021  oprot.writeStructBegin('TDetectResult')
2022  if self.row_set is not None:
2023  oprot.writeFieldBegin('row_set', TType.STRUCT, 1)
2024  self.row_set.write(oprot)
2025  oprot.writeFieldEnd()
2026  if self.copy_params is not None:
2027  oprot.writeFieldBegin('copy_params', TType.STRUCT, 2)
2028  self.copy_params.write(oprot)
2029  oprot.writeFieldEnd()
2030  oprot.writeFieldStop()
2031  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.ttypes.TDetectResult.__dict__
private

Definition at line 2041 of file ttypes.py.

omnisci.thrift.ttypes.TDetectResult.copy_params

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