Class VirtualGraphOptions
- java.lang.Object
-
- com.complexible.stardog.virtual.api.VirtualGraphOptions
-
public abstract class VirtualGraphOptions extends java.lang.Object
Options used by virtual graphs.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALLOW_REF_OBJECT_MAP_LEFT_JOIN
Allow creation of left joins when resolving parent refObjectMap fields with nullable FKs?static java.lang.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.static java.lang.String
BASE_URI
static java.lang.String
CHARSET_HANDLING
static java.lang.String
CSV_CLASS
static java.lang.String
CSV_ESCAPE
static java.lang.String
CSV_HASH_FUNCTION
static java.lang.String
CSV_HEADER
static java.lang.String
CSV_QUOTE
static java.lang.String
CSV_SEPARATOR
static java.lang.String
CSV_SKIP_EMPTY
static java.lang.String
DEFAULT_MAPPING_EXCLUDE_TABLES
Comma delimited list of tables to NOT generate mappings for.static java.lang.String
DEFAULT_MAPPING_INCLUDE_TABLES
Comma delimited list of tables to generate mappings for.static java.lang.String
EXPLAIN_FORMAT
Explain format.static java.lang.String
FORCE_UNAVAILABLE
Allows a test to cause a VG or DS to load as an unavailable graph or data source.static java.lang.String
MAPPINGS_FORMAT
The RDF format of the mappings file.static java.lang.String
MAPPINGS_SYNTAX
The syntax of the mappings - R2RML, STARDOG, or SMS2.static java.lang.String
NAMESPACES
static java.lang.String
PARSER_QUOTING_ANSI
static java.lang.String
PARSER_SQL_QUOTING
static java.lang.String
PERCENT_ENCODE
static java.lang.String
SCHEMA_IN_GENERATED_MAPPINGS
static java.lang.String
SQL_FUNCTIONS
static java.lang.String
UNION_STRATEGY
-
Constructor Summary
Constructors Constructor Description VirtualGraphOptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getBaseUriOption(java.util.Properties options)
static com.stardog.stark.impl.NamespacesImpl
getNamespacesOption(java.util.Properties options)
static IRI
getSubjectClass(java.util.Properties options)
static boolean
isAllowUnavailable(java.util.Properties options)
static boolean
isCharsetHandling(java.util.Properties options)
static boolean
isForceUnavailable(java.util.Properties options)
static boolean
isParserQuotingAnsi(java.util.Properties options)
static boolean
isPercentEncode(java.util.Properties options)
static boolean
isSchemaInIris(java.util.Properties options, boolean defaultValue)
static void
setNamespacesOption(java.util.Properties options, Namespaces namespaces)
-
-
-
Field Detail
-
BASE_URI
public static final java.lang.String BASE_URI
- See Also:
- Constant Field Values
-
NAMESPACES
public static final java.lang.String NAMESPACES
- See Also:
- Constant Field Values
-
DEFAULT_MAPPING_INCLUDE_TABLES
public static final java.lang.String DEFAULT_MAPPING_INCLUDE_TABLES
Comma delimited list of tables to generate mappings for. Blank means all tables in schema included. Cannot be combined withDEFAULT_MAPPING_EXCLUDE_TABLES
- See Also:
- Constant Field Values
-
DEFAULT_MAPPING_EXCLUDE_TABLES
public static final java.lang.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 withDEFAULT_MAPPING_INCLUDE_TABLES
- See Also:
- Constant Field Values
-
CSV_SEPARATOR
public static final java.lang.String CSV_SEPARATOR
- See Also:
- Constant Field Values
-
CSV_QUOTE
public static final java.lang.String CSV_QUOTE
- See Also:
- Constant Field Values
-
CSV_ESCAPE
public static final java.lang.String CSV_ESCAPE
- See Also:
- Constant Field Values
-
CSV_HEADER
public static final java.lang.String CSV_HEADER
- See Also:
- Constant Field Values
-
CSV_SKIP_EMPTY
public static final java.lang.String CSV_SKIP_EMPTY
- See Also:
- Constant Field Values
-
CSV_HASH_FUNCTION
public static final java.lang.String CSV_HASH_FUNCTION
- See Also:
- Constant Field Values
-
CSV_CLASS
public static final java.lang.String CSV_CLASS
- See Also:
- Constant Field Values
-
PERCENT_ENCODE
public static final java.lang.String PERCENT_ENCODE
- See Also:
- Constant Field Values
-
SCHEMA_IN_GENERATED_MAPPINGS
public static final java.lang.String SCHEMA_IN_GENERATED_MAPPINGS
- See Also:
- Constant Field Values
-
UNION_STRATEGY
public static final java.lang.String UNION_STRATEGY
- See Also:
- Constant Field Values
-
CHARSET_HANDLING
public static final java.lang.String CHARSET_HANDLING
- See Also:
- Constant Field Values
-
PARSER_SQL_QUOTING
public static final java.lang.String PARSER_SQL_QUOTING
- See Also:
- Constant Field Values
-
PARSER_QUOTING_ANSI
public static final java.lang.String PARSER_QUOTING_ANSI
- See Also:
- Constant Field Values
-
SQL_FUNCTIONS
public static final java.lang.String SQL_FUNCTIONS
- See Also:
- Constant Field Values
-
MAPPINGS_SYNTAX
public static final java.lang.String MAPPINGS_SYNTAX
The syntax of the mappings - R2RML, STARDOG, or SMS2.VirtualGraphMappingSyntax
- See Also:
- Constant Field Values
-
MAPPINGS_FORMAT
public static final java.lang.String MAPPINGS_FORMAT
The RDF format of the mappings file. Applies to R2RML syntax only. Values TURTLE, RDFXML, BINARY, etc. SeeRDFFormats
- See Also:
- Constant Field Values
-
EXPLAIN_FORMAT
public static final java.lang.String EXPLAIN_FORMAT
Explain format. Should take a value fromExplainFormat
- See Also:
- Constant Field Values
-
ALLOW_UNAVAILABLE
public static final java.lang.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:
- Constant Field Values
-
FORCE_UNAVAILABLE
public static final java.lang.String FORCE_UNAVAILABLE
Allows a test to cause a VG or DS to load as an unavailable graph or data source.- See Also:
- Constant Field Values
-
ALLOW_REF_OBJECT_MAP_LEFT_JOIN
public static final java.lang.String ALLOW_REF_OBJECT_MAP_LEFT_JOIN
Allow creation of left joins when resolving parent refObjectMap fields with nullable FKs?- See Also:
- Constant Field Values
-
-
Method Detail
-
getNamespacesOption
public static com.stardog.stark.impl.NamespacesImpl getNamespacesOption(java.util.Properties options)
-
setNamespacesOption
public static void setNamespacesOption(java.util.Properties options, Namespaces namespaces)
-
isAllowUnavailable
public static boolean isAllowUnavailable(java.util.Properties options)
-
isForceUnavailable
public static boolean isForceUnavailable(java.util.Properties options)
-
isPercentEncode
public static boolean isPercentEncode(java.util.Properties options)
-
isCharsetHandling
public static boolean isCharsetHandling(java.util.Properties options)
-
getBaseUriOption
public static java.lang.String getBaseUriOption(java.util.Properties options)
-
isSchemaInIris
public static boolean isSchemaInIris(java.util.Properties options, boolean defaultValue)
-
isParserQuotingAnsi
public static boolean isParserQuotingAnsi(java.util.Properties options)
-
getSubjectClass
public static IRI getSubjectClass(java.util.Properties options)
-
-