edu.berkeley.cs.db.yfilter.filter
Class SystemGlobals
java.lang.Object
|
+--edu.berkeley.cs.db.yfilter.filter.SystemGlobals
- public class SystemGlobals
- extends java.lang.Object
Method Summary |
static boolean |
hasDTDSourceFile()
|
static boolean |
incInternalDocID()
this function increments the Doc ID. |
static void |
parseCommandLine(java.lang.String[] argv,
int start)
parse the additional options in the command line |
static void |
parseCommandLineOptions(java.lang.String[] argv,
int start)
Parses the additional options in the command line |
static void |
setNFAExecutionLevel(int level)
|
static void |
setOutputLevel(int level)
compatibility between NFAExecLevel and outputLevel
nfa\output NONE BOOLEAN ONE ALL
NFALevel=0 y n n n
NFALevel=1 y y y n
NFALevel=2 y y y y
NOTE: outputLevel overwrites NFAExecLevel when conflicts occur
so set the output level first and then the compatible NFA execution level |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain
public static java.lang.String domain
preparsing
public static boolean preparsing
NFAExecLevel
public static int NFAExecLevel
internalDocID
public static int internalDocID
pruneNFAExec
public static boolean pruneNFAExec
PREDICATE_SP
public static final int PREDICATE_SP
- See Also:
- Constant Field Values
PREDICATE_SP_SORTBY
public static final int PREDICATE_SP_SORTBY
- See Also:
- Constant Field Values
PREDICATE_INLINE
public static final int PREDICATE_INLINE
- See Also:
- Constant Field Values
PREDICATE_INLINE_GROUPBY
public static final int PREDICATE_INLINE_GROUPBY
- See Also:
- Constant Field Values
PREDICATE_HYBRID
public static final int PREDICATE_HYBRID
- See Also:
- Constant Field Values
algNo
public static int algNo
evalNestedPathWhen
public static int evalNestedPathWhen
OUTPUT_NONE
public static final int OUTPUT_NONE
- See Also:
- Constant Field Values
OUTPUT_BOOLEAN
public static final int OUTPUT_BOOLEAN
- See Also:
- Constant Field Values
OUTPUT_ONE
public static final int OUTPUT_ONE
- See Also:
- Constant Field Values
OUTPUT_ALL
public static final int OUTPUT_ALL
- See Also:
- Constant Field Values
outputLevel
public static int outputLevel
OUTPUT_TO_ONE_STREAM
public static final int OUTPUT_TO_ONE_STREAM
- See Also:
- Constant Field Values
OUTPUT_TO_INDIV_FILE
public static final int OUTPUT_TO_INDIV_FILE
- See Also:
- Constant Field Values
outputTo
public static int outputTo
onlineDeletes
public static boolean onlineDeletes
warmupDoc
public static java.lang.String warmupDoc
BURNIN
public static int BURNIN
REPEAT
public static int REPEAT
profiling
public static boolean profiling
hasQueries
public static boolean hasQueries
hasNestedPaths
public static boolean hasNestedPaths
hasPredicates
public static boolean hasPredicates
SystemGlobals
public SystemGlobals()
hasDTDSourceFile
public static boolean hasDTDSourceFile()
incInternalDocID
public static boolean incInternalDocID()
- this function increments the Doc ID. it returns
true for a successful operation; or false when
the Doc ID is re-set. then the doc ids store in
the accepting states of the NFA need to be cleared.
setOutputLevel
public static void setOutputLevel(int level)
throws java.lang.Exception
- compatibility between NFAExecLevel and outputLevel
nfa\output NONE BOOLEAN ONE ALL
NFALevel=0 y n n n
NFALevel=1 y y y n
NFALevel=2 y y y y
NOTE: outputLevel overwrites NFAExecLevel when conflicts occur
so set the output level first and then the compatible NFA execution level
java.lang.Exception
setNFAExecutionLevel
public static void setNFAExecutionLevel(int level)
throws java.lang.Exception
java.lang.Exception
parseCommandLine
public static void parseCommandLine(java.lang.String[] argv,
int start)
- parse the additional options in the command line
parseCommandLineOptions
public static void parseCommandLineOptions(java.lang.String[] argv,
int start)
- Parses the additional options in the command line