Class VirtualGraphOptions
- java.lang.Object
-
- com.complexible.stardog.virtual.api.VirtualGraphOptions
-
public abstract class VirtualGraphOptions extends java.lang.ObjectOptions used by virtual graphs.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringALLOW_REF_OBJECT_MAP_LEFT_JOINAllow creation of left joins when resolving parent refObjectMap fields with nullable FKs?static java.lang.StringALLOW_UNAVAILABLEShould 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.StringBASE_URIstatic java.lang.StringCHARSET_HANDLINGstatic java.lang.StringCSV_CLASSstatic java.lang.StringCSV_ESCAPEstatic java.lang.StringCSV_HASH_FUNCTIONstatic java.lang.StringCSV_HEADERstatic java.lang.StringCSV_QUOTEstatic java.lang.StringCSV_SEPARATORstatic java.lang.StringCSV_SKIP_EMPTYstatic java.lang.StringDEFAULT_MAPPING_EXCLUDE_TABLESComma delimited list of tables to NOT generate mappings for.static java.lang.StringDEFAULT_MAPPING_INCLUDE_TABLESComma delimited list of tables to generate mappings for.static java.lang.StringEXPLAIN_FORMATExplain format.static java.lang.StringFORCE_UNAVAILABLEAllows a test to cause a VG or DS to load as an unavailable graph or data source.static java.lang.StringMAPPINGS_FORMATThe RDF format of the mappings file.static java.lang.StringMAPPINGS_SYNTAXThe syntax of the mappings - R2RML, SMS1, or SMS2.static java.lang.StringNAMESPACESstatic java.lang.StringPARSER_QUOTING_ANSIstatic java.lang.StringPARSER_SQL_QUOTINGstatic java.lang.StringPERCENT_ENCODEstatic java.lang.StringSCHEMA_IN_GENERATED_MAPPINGSstatic java.lang.StringSQL_FUNCTIONSstatic java.lang.StringUNION_STRATEGYstatic java.lang.StringVG_OPTION_R2RMLstatic java.util.PropertiesVG_OPTIONS_R2RML
-
Constructor Summary
Constructors Constructor Description VirtualGraphOptions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetBaseUriOption(java.util.Properties options)static com.stardog.stark.impl.NamespacesImplgetNamespacesOption(java.util.Properties options)static IRIgetSubjectClass(java.util.Properties options)static booleanisAllowUnavailable(java.util.Properties options)static booleanisCharsetHandling(java.util.Properties options)static booleanisForceUnavailable(java.util.Properties options)static booleanisParserQuotingAnsi(java.util.Properties options)static booleanisPercentEncode(java.util.Properties options)static booleanisSchemaInIris(java.util.Properties options, boolean defaultValue)static voidsetNamespacesOption(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, SMS1, or SMS2.VirtualGraphMappingSyntax- See Also:
- Constant Field Values
-
VG_OPTION_R2RML
public static final java.lang.String VG_OPTION_R2RML
-
VG_OPTIONS_R2RML
public static final java.util.Properties VG_OPTIONS_R2RML
-
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)
-
-