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

Public Member Functions

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

Public Attributes

 session
 
 objectName
 
 type
 

Private Attributes

 __dict__
 

Detailed Description

Attributes:
 - session
 - objectName
 - type

Definition at line 18178 of file OmniSci.py.

Constructor & Destructor Documentation

def omnisci.thrift.OmniSci.get_db_object_privs_args.__init__ (   self,
  session = None,
  objectName = None,
  type = None 
)

Definition at line 18188 of file OmniSci.py.

18189  def __init__(self, session=None, objectName=None, type=None,):
18190  self.session = session
18191  self.objectName = objectName
18192  self.type = type

Member Function Documentation

def omnisci.thrift.OmniSci.get_db_object_privs_args.__eq__ (   self,
  other 
)

Definition at line 18250 of file OmniSci.py.

18251  def __eq__(self, other):
18252  return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
def omnisci.thrift.OmniSci.get_db_object_privs_args.__ne__ (   self,
  other 
)

Definition at line 18253 of file OmniSci.py.

18254  def __ne__(self, other):
18255  return not (self == other)
18256 all_structs.append(get_db_object_privs_args)
get_db_object_privs_args.thrift_spec = (
def omnisci.thrift.OmniSci.get_db_object_privs_args.__repr__ (   self)

Definition at line 18245 of file OmniSci.py.

18246  def __repr__(self):
18247  L = ['%s=%r' % (key, value)
18248  for key, value in self.__dict__.items()]
18249  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.OmniSci.get_db_object_privs_args.read (   self,
  iprot 
)

Definition at line 18193 of file OmniSci.py.

References ObjectRoleDescriptor.objectName, omnisci.thrift.OmniSci.get_db_object_privs_args.objectName, com.mapd.calcite.parser.MapDUser.session, com.omnisci.jdbc.OmniSciStatement.session, com.omnisci.jdbc.OmniSciPreparedStatement.session, com.mapd.parser.server.test.TestMapDServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.session, omnisci.thrift.OmniSci.disconnect_args.session, omnisci.thrift.OmniSci.switch_database_args.session, omnisci.thrift.OmniSci.clone_session_args.session, omnisci.thrift.OmniSci.get_server_status_args.session, omnisci.thrift.OmniSci.get_status_args.session, omnisci.thrift.OmniSci.get_hardware_info_args.session, omnisci.thrift.OmniSci.get_tables_args.session, omnisci.thrift.OmniSci.get_physical_tables_args.session, omnisci.thrift.OmniSci.get_views_args.session, omnisci.thrift.OmniSci.get_tables_meta_args.session, omnisci.thrift.OmniSci.get_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_users_args.session, omnisci.thrift.OmniSci.get_databases_args.session, omnisci.thrift.OmniSci.start_heap_profile_args.session, omnisci.thrift.OmniSci.stop_heap_profile_args.session, omnisci.thrift.OmniSci.get_heap_profile_args.session, omnisci.thrift.OmniSci.get_memory_args.session, omnisci.thrift.OmniSci.clear_cpu_memory_args.session, omnisci.thrift.OmniSci.clear_gpu_memory_args.session, omnisci.thrift.OmniSci.set_table_epoch_args.session, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epoch_args.session, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_args.session, omnisci.thrift.OmniSci.get_session_info_args.session, omnisci.thrift.OmniSci.sql_execute_args.session, omnisci.thrift.OmniSci.sql_execute_df_args.session, omnisci.thrift.OmniSci.sql_execute_gdf_args.session, omnisci.thrift.OmniSci.deallocate_df_args.session, omnisci.thrift.OmniSci.sql_validate_args.session, omnisci.thrift.OmniSci.get_completion_hints_args.session, omnisci.thrift.OmniSci.set_execution_mode_args.session, omnisci.thrift.OmniSci.render_vega_args.session, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.session, omnisci.thrift.OmniSci.get_dashboard_args.session, omnisci.thrift.OmniSci.get_dashboards_args.session, omnisci.thrift.OmniSci.create_dashboard_args.session, omnisci.thrift.OmniSci.replace_dashboard_args.session, omnisci.thrift.OmniSci.delete_dashboard_args.session, omnisci.thrift.OmniSci.share_dashboards_args.session, omnisci.thrift.OmniSci.delete_dashboards_args.session, omnisci.thrift.OmniSci.share_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboards_args.session, omnisci.thrift.OmniSci.get_dashboard_grantees_args.session, omnisci.thrift.OmniSci.get_link_view_args.session, omnisci.thrift.OmniSci.create_link_args.session, omnisci.thrift.OmniSci.load_table_binary_args.session, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_args.session, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, omnisci.thrift.OmniSci.get_roles_args.session, omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.session, omnisci.thrift.OmniSci.get_db_object_privs_args.session, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

18194  def read(self, iprot):
18195  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
18196  iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
18197  return
18198  iprot.readStructBegin()
18199  while True:
18200  (fname, ftype, fid) = iprot.readFieldBegin()
18201  if ftype == TType.STOP:
18202  break
18203  if fid == 1:
18204  if ftype == TType.STRING:
18205  self.session = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18206  else:
18207  iprot.skip(ftype)
18208  elif fid == 2:
18209  if ftype == TType.STRING:
18210  self.objectName = iprot.readString().decode('utf-8') if sys.version_info[0] == 2 else iprot.readString()
18211  else:
18212  iprot.skip(ftype)
18213  elif fid == 3:
18214  if ftype == TType.I32:
18215  self.type = iprot.readI32()
18216  else:
18217  iprot.skip(ftype)
18218  else:
18219  iprot.skip(ftype)
18220  iprot.readFieldEnd()
18221  iprot.readStructEnd()
def omnisci.thrift.OmniSci.get_db_object_privs_args.validate (   self)

Definition at line 18242 of file OmniSci.py.

18243  def validate(self):
18244  return
def omnisci.thrift.OmniSci.get_db_object_privs_args.write (   self,
  oprot 
)

Definition at line 18222 of file OmniSci.py.

References ObjectRoleDescriptor.objectName, omnisci.thrift.OmniSci.get_db_object_privs_args.objectName, com.mapd.calcite.parser.MapDUser.session, com.omnisci.jdbc.OmniSciStatement.session, com.omnisci.jdbc.OmniSciPreparedStatement.session, com.mapd.parser.server.test.TestMapDServer.ConnInfo.session, com.mapd.logrunner.LogRunner.myThread.session, com.omnisci.jdbc.OmniSciConnection.session, com.mapd.utility.SQLImporter.session, omnisci.thrift.OmniSci.disconnect_args.session, omnisci.thrift.OmniSci.switch_database_args.session, omnisci.thrift.OmniSci.clone_session_args.session, omnisci.thrift.OmniSci.get_server_status_args.session, omnisci.thrift.OmniSci.get_status_args.session, omnisci.thrift.OmniSci.get_hardware_info_args.session, omnisci.thrift.OmniSci.get_tables_args.session, omnisci.thrift.OmniSci.get_physical_tables_args.session, omnisci.thrift.OmniSci.get_views_args.session, omnisci.thrift.OmniSci.get_tables_meta_args.session, omnisci.thrift.OmniSci.get_table_details_args.session, omnisci.thrift.OmniSci.get_internal_table_details_args.session, omnisci.thrift.OmniSci.get_users_args.session, omnisci.thrift.OmniSci.get_databases_args.session, omnisci.thrift.OmniSci.start_heap_profile_args.session, omnisci.thrift.OmniSci.stop_heap_profile_args.session, omnisci.thrift.OmniSci.get_heap_profile_args.session, omnisci.thrift.OmniSci.get_memory_args.session, omnisci.thrift.OmniSci.clear_cpu_memory_args.session, omnisci.thrift.OmniSci.clear_gpu_memory_args.session, omnisci.thrift.OmniSci.set_table_epoch_args.session, omnisci.thrift.OmniSci.set_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epoch_args.session, omnisci.thrift.OmniSci.get_table_epoch_by_name_args.session, omnisci.thrift.OmniSci.get_table_epochs_args.session, omnisci.thrift.OmniSci.set_table_epochs_args.session, omnisci.thrift.OmniSci.get_session_info_args.session, omnisci.thrift.OmniSci.sql_execute_args.session, omnisci.thrift.OmniSci.sql_execute_df_args.session, omnisci.thrift.OmniSci.sql_execute_gdf_args.session, omnisci.thrift.OmniSci.deallocate_df_args.session, omnisci.thrift.OmniSci.sql_validate_args.session, omnisci.thrift.OmniSci.get_completion_hints_args.session, omnisci.thrift.OmniSci.set_execution_mode_args.session, omnisci.thrift.OmniSci.render_vega_args.session, omnisci.thrift.OmniSci.get_result_row_for_pixel_args.session, omnisci.thrift.OmniSci.get_dashboard_args.session, omnisci.thrift.OmniSci.get_dashboards_args.session, omnisci.thrift.OmniSci.create_dashboard_args.session, omnisci.thrift.OmniSci.replace_dashboard_args.session, omnisci.thrift.OmniSci.delete_dashboard_args.session, omnisci.thrift.OmniSci.share_dashboards_args.session, omnisci.thrift.OmniSci.delete_dashboards_args.session, omnisci.thrift.OmniSci.share_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboard_args.session, omnisci.thrift.OmniSci.unshare_dashboards_args.session, omnisci.thrift.OmniSci.get_dashboard_grantees_args.session, omnisci.thrift.OmniSci.get_link_view_args.session, omnisci.thrift.OmniSci.create_link_args.session, omnisci.thrift.OmniSci.load_table_binary_args.session, omnisci.thrift.OmniSci.load_table_binary_columnar_args.session, omnisci.thrift.OmniSci.load_table_binary_arrow_args.session, omnisci.thrift.OmniSci.load_table_args.session, omnisci.thrift.OmniSci.detect_column_types_args.session, omnisci.thrift.OmniSci.create_table_args.session, omnisci.thrift.OmniSci.import_table_args.session, omnisci.thrift.OmniSci.import_geo_table_args.session, omnisci.thrift.OmniSci.import_table_status_args.session, omnisci.thrift.OmniSci.get_first_geo_file_in_archive_args.session, omnisci.thrift.OmniSci.get_all_files_in_archive_args.session, omnisci.thrift.OmniSci.get_layers_in_geo_file_args.session, omnisci.thrift.OmniSci.query_get_outer_fragment_count_args.session, omnisci.thrift.OmniSci.check_table_consistency_args.session, omnisci.thrift.OmniSci.start_render_query_args.session, omnisci.thrift.OmniSci.insert_data_args.session, omnisci.thrift.OmniSci.checkpoint_args.session, omnisci.thrift.OmniSci.get_roles_args.session, omnisci.thrift.OmniSci.get_db_objects_for_grantee_args.session, omnisci.thrift.OmniSci.get_db_object_privs_args.session, com.mapd.parser.extension.ddl.omnisql.OmniSqlEncoding.type, com.mapd.parser.extension.ddl.omnisql.OmniSqlDataType.type, com.omnisci.jdbc.OmniSciArray.type, com.mapd.utility.db_vendors.Db_vendor_types.GisType.type, com.omnisci.jdbc.OmniSciColumnTypeTest.Answer.type, ConverterCreateParameter.type, omnisci.completion_hints.ttypes.TCompletionHint.type, omnisci.common.ttypes.TTypeInfo.type, omnisci.serialized_result_set.ttypes.TTargetInfo.type, omnisci.serialized_result_set.ttypes.TCountDistinctSet.type, and omnisci.thrift.OmniSci.get_db_object_privs_args.type.

18223  def write(self, oprot):
18224  if oprot._fast_encode is not None and self.thrift_spec is not None:
18225  oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
18226  return
18227  oprot.writeStructBegin('get_db_object_privs_args')
18228  if self.session is not None:
18229  oprot.writeFieldBegin('session', TType.STRING, 1)
18230  oprot.writeString(self.session.encode('utf-8') if sys.version_info[0] == 2 else self.session)
18231  oprot.writeFieldEnd()
18232  if self.objectName is not None:
18233  oprot.writeFieldBegin('objectName', TType.STRING, 2)
18234  oprot.writeString(self.objectName.encode('utf-8') if sys.version_info[0] == 2 else self.objectName)
18235  oprot.writeFieldEnd()
18236  if self.type is not None:
18237  oprot.writeFieldBegin('type', TType.I32, 3)
18238  oprot.writeI32(self.type)
18239  oprot.writeFieldEnd()
18240  oprot.writeFieldStop()
18241  oprot.writeStructEnd()

Member Data Documentation

omnisci.thrift.OmniSci.get_db_object_privs_args.__dict__
private

Definition at line 18251 of file OmniSci.py.

omnisci.thrift.OmniSci.get_db_object_privs_args.objectName

Definition at line 18190 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TDBObject.read(), omnisci.thrift.OmniSci.get_db_object_privs_args.read(), omnisci.thrift.ttypes.TDBObject.write(), and omnisci.thrift.OmniSci.get_db_object_privs_args.write().

omnisci.thrift.OmniSci.get_db_object_privs_args.session

Definition at line 18189 of file OmniSci.py.

Referenced by omnisci.thrift.OmniSci.get_db_object_privs_args.read(), omnisci.thrift.OmniSci.get_all_roles_for_user_args.read(), omnisci.thrift.OmniSci.has_role_args.read(), omnisci.thrift.OmniSci.has_object_privilege_args.read(), omnisci.thrift.OmniSci.set_license_key_args.read(), omnisci.thrift.OmniSci.get_license_claims_args.read(), omnisci.thrift.OmniSci.get_device_parameters_args.read(), omnisci.thrift.OmniSci.register_runtime_extension_functions_args.read(), omnisci.thrift.OmniSci.get_db_object_privs_args.write(), omnisci.thrift.OmniSci.get_all_roles_for_user_args.write(), omnisci.thrift.OmniSci.has_role_args.write(), omnisci.thrift.OmniSci.has_object_privilege_args.write(), omnisci.thrift.OmniSci.set_license_key_args.write(), omnisci.thrift.OmniSci.get_license_claims_args.write(), omnisci.thrift.OmniSci.get_device_parameters_args.write(), and omnisci.thrift.OmniSci.register_runtime_extension_functions_args.write().

omnisci.thrift.OmniSci.get_db_object_privs_args.type

Definition at line 18191 of file OmniSci.py.

Referenced by omnisci.thrift.ttypes.TColumnRange.read(), omnisci.thrift.ttypes.TRenderDatum.read(), omnisci.thrift.OmniSci.get_db_object_privs_args.read(), omnisci.thrift.ttypes.TColumnRange.write(), omnisci.thrift.ttypes.TRenderDatum.write(), and omnisci.thrift.OmniSci.get_db_object_privs_args.write().


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