Package org.basex.query.up.primitives
Class DBOptions
java.lang.Object
org.basex.query.up.primitives.DBOptions
Contains various helper variables and methods for database operations.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignIfAbsent(Option<?> option, Object value) Assigns the specified option if it has not been assigned before.assignTo(MainOptions opts) Assigns runtime options to the specified main options.Returns the value of the specified option.
-
Field Details
-
PARSING
Parsing options. -
INDEXING
Indexing options.
-
-
Constructor Details
-
DBOptions
Constructor.- Parameters:
options- query optionssupported- supported optionsinfo- input info- Throws:
QueryException- query exception
-
DBOptions
Constructor.- Parameters:
options- query optionssupported- supported optionsinfo- input info- Throws:
QueryException- query exception
-
-
Method Details
-
get
Returns the value of the specified option.- Parameters:
option- option- Returns:
- main options
-
assignIfAbsent
Assigns the specified option if it has not been assigned before.- Parameters:
option- optionvalue- value
-
assignTo
Assigns runtime options to the specified main options.- Parameters:
opts- main options- Returns:
- main options
-