public enum DBQuery extends Enum<DBQuery> implements INumberEnum<Integer>
Database
data using DQLEnum Constant and Description |
---|
DEBUG
produce debugging output (notes.ini setting is independent of this)
|
DESIGN_CATALOG_REBUILD
before running the query, rebuild the design catalog
|
DESIGN_CATALOG_REFRESH
before running the query, build/refresh the design catalog
|
EXPLAIN
Governs producing Explain output
|
FT_REFRESH
For the 1st FT search, update the index
|
NO_EXEC
Explain only mode, only plan and return the explain output
|
NOVIEWS
NSF scans only
|
PARSEONLY
to check for syntax only - stops short of planning
|
VIEWREFRESH
refresh all views when they are opened (default is NO_UPDATE)
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static DBQuery |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBQuery[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBQuery NO_EXEC
public static final DBQuery DEBUG
public static final DBQuery VIEWREFRESH
public static final DBQuery PARSEONLY
public static final DBQuery EXPLAIN
public static final DBQuery NOVIEWS
public static final DBQuery FT_REFRESH
public static final DBQuery DESIGN_CATALOG_REFRESH
public static final DBQuery DESIGN_CATALOG_REBUILD
public static DBQuery[] values()
for (DBQuery c : DBQuery.values()) System.out.println(c);
public static DBQuery valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2019–2021 HCL. All rights reserved.