类 InformationExtractorJdbcDatabaseMetaDataImpl

    • 构造器详细资料

      • InformationExtractorJdbcDatabaseMetaDataImpl

        public InformationExtractorJdbcDatabaseMetaDataImpl​(ExtractionContext extractionContext)
    • 方法详细资料

      • toMetaDataObjectName

        protected String toMetaDataObjectName​(Identifier identifier)
      • catalogExists

        public boolean catalogExists​(Identifier catalog)
        从接口复制的说明: InformationExtractor
        Does the given catalog exist yet?
        指定者:
        catalogExists 在接口中 InformationExtractor
        参数:
        catalog - The name of the catalog to look for.
        返回:
        true if the catalog does exist; false otherwise
      • schemaExists

        public boolean schemaExists​(Identifier catalog,
                                    Identifier schema)
        从接口复制的说明: InformationExtractor
        The the given schema exist yet?
        指定者:
        schemaExists 在接口中 InformationExtractor
        参数:
        catalog - The name of the catalog to look in.
        schema - The name of the schema to look for.
        返回:
        true if the schema does exist; false otherwise
      • getTable

        public TableInformation getTable​(Identifier catalog,
                                         Identifier schema,
                                         Identifier tableName)
        从接口复制的说明: InformationExtractor
        Look for a matching table.
        指定者:
        getTable 在接口中 InformationExtractor
        参数:
        catalog - Can be null, indicating that any catalog may be considered a match. A non-null value indicates that search should be limited to the passed catalog.
        schema - Can be null, indicating that any schema may be considered a match. A non-null value indicates that search should be limited to the passed schema .
        tableName - The name of the table to look for.
        返回:
        table info for the matching table
      • isPhysicalTableType

        protected boolean isPhysicalTableType​(String tableType)
      • getIndexes

        public Iterable<IndexInformation> getIndexes​(TableInformation tableInformation)
        从接口复制的说明: InformationExtractor
        Extract information about indexes defined against the given table. Typically called from the TableInformation itself as part of on-demand initialization of its state.
        指定者:
        getIndexes 在接口中 InformationExtractor
        参数:
        tableInformation - The table for which to locate indexes
        返回:
        The extracted index information
      • getForeignKeys

        public Iterable<ForeignKeyInformation> getForeignKeys​(TableInformation tableInformation)
        从接口复制的说明: InformationExtractor
        Extract information about foreign keys defined on the given table (targeting or point-at other tables). Typically called from the TableInformation itself as part of on-demand initialization of its state.
        指定者:
        getForeignKeys 在接口中 InformationExtractor
        参数:
        tableInformation - The table for which to locate foreign-keys
        返回:
        The extracted foreign-key information