Class DefaultCortexConnectionReader

    • Method Detail

      • closeOldFileSystem

        protected void closeOldFileSystem​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleFileConnection

        protected void handleFileConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleS3Connection

        protected void handleS3Connection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleGcsConnection

        protected void handleGcsConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleJdbcConnection

        protected void handleJdbcConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleJdbcGenericConnection

        protected void handleJdbcGenericConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleJdbcCDataConnection

        protected void handleJdbcCDataConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleHiveConnection

        protected void handleHiveConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleMongoConnection

        protected void handleMongoConnection​(java.util.Map<java.lang.String,​java.lang.String> options)
      • handleOther

        protected void handleOther​(java.util.Map<java.lang.String,​java.lang.String> options)
      • read

        public org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> read​(DefaultCortexConnectionReader.CortexReadParameters cortexReadParameters)
        Read from a Cortex Connection using the builder instance
        Parameters:
        cortexReadParameters - builder instance
        Returns:
        the read DataFrame
      • readDeltaTable

        public io.delta.tables.DeltaTable readDeltaTable​(DefaultCortexConnectionReader.CortexReadParameters cortexReadParameters)
        Read from a Cortex Connection using the builder instance
        Parameters:
        cortexReadParameters - builder instance
        Returns:
        the read DeltaTable