class_docstr: This handler handles connection and execution of the SAP Hana statements.
docstr: Handles the connection to a SAP Hana database insance.
docstr_tok: ["Handles","the","connection","to","a","SAP","Hana","database","insance","."]
code: def connect(self):
      """
      Handles the connection to a SAP Hana database insance.
      """
  
      if self.is_connected is True:
          return self.connection
  
      connection = dbapi.connect(
          address=self.address,
          port=self.port,
          user=self.user,
          password=self.password,
          autocommit=self.autocommit,
          properties=self.properties,
          currentSchema=self.currentSchema,
          databaseName=self.databaseName,
          encrypt=self.encrypt,
          sslHostNameInCertificate=self.sslHostNameInCertificate,
          sslValidateCertificate=self.sslValidateCertificate,
          sslCryptoProvider=self.sslCryptoProvider,
          sslTrustStore=self.sslTrustStore,
          sslKeyStore=self.sslKeyStore,
          cseKeyStorePassword=self.cseKeyStorePassword,
          sslSNIHostname=self.sslSNIHostname,
          sslSNIRequest=self.sslSNIRequest,
          siteType=self.siteType,
          splitBatchCommands=self.splitBatchCommands,
          routeDirectExecute=self.routeDirectExecute,
          secondarySessionFallback=self.secondarySessionFallback,
      )
  
      self.is_connected = True
      self.connection = connection
      return self.connection
  
imports: from textwrap import dedent
  from collections import OrderedDict
  from pandas import DataFrame
  from hdbcli import dbapi
  import sqlalchemy_hana.dialect
  from mindsdb_sql import parse_sql
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.render.sqlalchemy_render import SqlalchemyRender
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
label_desc: Use image node_id 3 for calling the HanaHandler obj's underlying member method code with example usage: obj.connect() and returns: self, self