class_docstr: This handler handles connection and execution of the SAP MaxDB  statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","SAP","MaxDB","statements","."]
docstr: Gets a list of table names in the database.
  
  Returns:
      list: A list of table names in the database.
docstr_tok: ["Gets","a","list","of","table","names","in","the","database",".","Returns",":","list",":","A","list","of","table","names","in","the","database","."]
code: def get_tables(self) -> Response:
      """
      Gets a list of table names in the database.
  
      Returns:
          list: A list of table names in the database.
      """
  
      query = f"SELECT TABLENAME FROM DOMAIN.TABLES WHERE TYPE = 'TABLE' AND SCHEMANAME = '{self.user}'"
      result = self.native_query(query)
      df = result.data_frame
      result.data_frame = df.rename(
          columns={df.columns[0]: "table_name"}
      )
      return result
  
imports: from collections import OrderedDict
  from typing import Optional
  from mindsdb_sql import parse_sql
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE, HandlerResponse
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  import pandas
  import jaydebeapi
label_desc: Use image node_id 8 for calling the MaxDBHandler obj's underlying member method code with example usage: obj.get_tables() and returns: result