Class AskResultsMetadata

All Implemented Interfaces:
ResultSetMetaData, Wrapper

public class AskResultsMetadata extends JenaResultsMetadata
Meta data for AskResults

Note that ASK results are something of a special case because they contain only a single column and we know exactly what the type of the column is, with other forms of results we don't have this luxury and so the JdbcCompatibility levels are used to determine how we report types.

  • Field Details

    • COLUMN_LABEL_ASK

      public static final String COLUMN_LABEL_ASK
      Constant for the default ASK results column label
      See Also:
    • COLUMN_INDEX_ASK

      public static final int COLUMN_INDEX_ASK
      Constant for the only column index for ASK queries
      See Also:
  • Constructor Details

    • AskResultsMetadata

      public AskResultsMetadata(JenaResultSet results) throws SQLException
      Creates new ASK results metadata
      Parameters:
      results - Results
      Throws:
      SQLException - Thrown if the metadata cannot be created
    • AskResultsMetadata

      public AskResultsMetadata(AskResultsMetadata metadata, String label) throws SQLException
      Creates new ASK results metadata
      Parameters:
      metadata - Metadata
      label - Label to give the single column
      Throws:
      SQLException - Thrown if the metadata cannot be created