Class VirtualGraphOptions

java.lang.Object
com.complexible.stardog.virtual.api.VirtualGraphOptions

public abstract class VirtualGraphOptions extends Object
Options used by virtual graphs.
  • Field Details

    • BASE_URI

      public static final String BASE_URI
      See Also:
    • NAMESPACES

      public static final String NAMESPACES
      See Also:
    • DEFAULT_MAPPING_INCLUDE_TABLES

      public static final String DEFAULT_MAPPING_INCLUDE_TABLES
      Comma delimited list of tables to generate mappings for. Blank means all tables in schema included. Cannot be combined with DEFAULT_MAPPING_EXCLUDE_TABLES
      See Also:
    • DEFAULT_MAPPING_EXCLUDE_TABLES

      public static final String DEFAULT_MAPPING_EXCLUDE_TABLES
      Comma delimited list of tables to NOT generate mappings for. Blank means all tables in schema are included. Cannot be combined with DEFAULT_MAPPING_INCLUDE_TABLES
      See Also:
    • CSV_SEPARATOR

      public static final String CSV_SEPARATOR
      See Also:
    • CSV_QUOTE

      public static final String CSV_QUOTE
      See Also:
    • CSV_ESCAPE

      public static final String CSV_ESCAPE
      See Also:
    • CSV_HEADER

      public static final String CSV_HEADER
      See Also:
    • CSV_SKIP_EMPTY

      public static final String CSV_SKIP_EMPTY
      See Also:
    • CSV_HASH_FUNCTION

      public static final String CSV_HASH_FUNCTION
      See Also:
    • CSV_CLASS

      public static final String CSV_CLASS
      See Also:
    • PERCENT_ENCODE

      public static final String PERCENT_ENCODE
      See Also:
    • SCHEMA_IN_GENERATED_MAPPINGS

      public static final String SCHEMA_IN_GENERATED_MAPPINGS
      See Also:
    • UNION_STRATEGY

      public static final String UNION_STRATEGY
      See Also:
    • CHARSET_HANDLING

      public static final String CHARSET_HANDLING
      See Also:
    • PARSER_SQL_QUOTING

      public static final String PARSER_SQL_QUOTING
      See Also:
    • PARSER_QUOTING_ANSI

      public static final String PARSER_QUOTING_ANSI
      See Also:
    • SQL_FUNCTIONS

      public static final String SQL_FUNCTIONS
      See Also:
    • MAPPINGS_SYNTAX

      public static final String MAPPINGS_SYNTAX
      The syntax of the mappings - R2RML, SMS1, or SMS2. VirtualGraphMappingSyntax
      See Also:
    • VG_OPTION_R2RML

      public static final String VG_OPTION_R2RML
    • VG_OPTIONS_R2RML

      public static final Properties VG_OPTIONS_R2RML
    • MAPPINGS_FORMAT

      public static final String MAPPINGS_FORMAT
      The RDF format of the mappings file. Applies to R2RML syntax only. Values TURTLE, RDFXML, BINARY, etc. See RDFFormats
      See Also:
    • EXPLAIN_FORMAT

      public static final String EXPLAIN_FORMAT
      Explain format. Should take a value from ExplainFormat
      See Also:
    • ALLOW_UNAVAILABLE

      public static final String ALLOW_UNAVAILABLE
      Should the virtual graph or data source be allowed to be created if it will be immediately unavailable? This is primarily used for internal testing of unavailable VGs and DSs but can be expanded later if we wish to make this status changeable by users at runtime.
      See Also:
    • FORCE_UNAVAILABLE

      public static final String FORCE_UNAVAILABLE
      Allows a test to cause a VG or DS to load as an unavailable graph or data source.
      See Also:
    • ALLOW_INVALID_NAME

      public static final String ALLOW_INVALID_NAME
      Allows a test to create a VG or DS with an invalid name
      See Also:
    • ALLOW_REF_OBJECT_MAP_LEFT_JOIN

      public static final String ALLOW_REF_OBJECT_MAP_LEFT_JOIN
      Allow creation of left joins when resolving parent refObjectMap fields with nullable FKs?
      See Also:
    • VG_RESULT_BATCH_SIZE

      public static final String VG_RESULT_BATCH_SIZE
      When a VG is executed asynchronously, the results are pushed to the main query thread in batches. This property defines the batch size.
      See Also:
    • PLAN_AREA_LIMIT

      public static final String PLAN_AREA_LIMIT
      Guards against combinatorial explosion of the query plan during optimization. Planning is aborted when the plan's "area" exceeds this limit. The current measure of area is the number of relational operators in the plan times the number of function calls in its expressions, but the measure may change in the future. A value less than or equal to zero disables the check.
      See Also:
    • PLAN_AREA_LIMIT_DEFAULT

      public static final long PLAN_AREA_LIMIT_DEFAULT
      See Also:
  • Constructor Details

    • VirtualGraphOptions

      public VirtualGraphOptions()
  • Method Details

    • getNamespacesOption

      public static com.stardog.stark.impl.NamespacesImpl getNamespacesOption(Properties options)
    • setNamespacesOption

      public static void setNamespacesOption(Properties options, Namespaces namespaces)
    • isAllowUnavailable

      public static boolean isAllowUnavailable(Properties options)
    • isForceUnavailable

      public static boolean isForceUnavailable(Properties options)
    • isPercentEncode

      public static boolean isPercentEncode(Properties options)
    • isCharsetHandling

      public static boolean isCharsetHandling(Properties options)
    • getBaseUriOption

      public static String getBaseUriOption(Properties options)
    • isSchemaInIris

      public static boolean isSchemaInIris(Properties options, boolean defaultValue)
    • getResultBatchSize

      public static int getResultBatchSize(Properties options)
    • getPlanAreaLimit

      public static long getPlanAreaLimit(Properties options)
    • isParserQuotingAnsi

      public static boolean isParserQuotingAnsi(Properties options)
    • getSubjectClass

      public static IRI getSubjectClass(Properties options)