Enum SplunkUtils.SPECIAL_FIELDS
java.lang.Object
java.lang.Enum<SplunkUtils.SPECIAL_FIELDS>
org.apache.drill.exec.store.splunk.SplunkUtils.SPECIAL_FIELDS
- All Implemented Interfaces:
Serializable
,Comparable<SplunkUtils.SPECIAL_FIELDS>
- Enclosing class:
- SplunkUtils
These are special fields that alter the queries sent to Splunk.
-
Enum Constant Summary
Enum ConstantDescriptionThe earliest time boundary of a query, overwrites config variableThe latest time bound of a query, overwrites config variableThe sourcetype of a query.Used to send raw SPL to Splunk -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Indicates whether the field in question is a special field and should be pushed down to the query or not.static SplunkUtils.SPECIAL_FIELDS
Returns the enum constant of this type with the specified name.static SplunkUtils.SPECIAL_FIELDS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOURCETYPE
The sourcetype of a query. Specifying the sourcetype can improve query performance. -
SPL
Used to send raw SPL to Splunk -
EARLIEST_TIME
The earliest time boundary of a query, overwrites config variable -
LATEST_TIME
The latest time bound of a query, overwrites config variable
-
-
Field Details
-
field
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
includes
Indicates whether the field in question is a special field and should be pushed down to the query or not.- Parameters:
unknownField
- The field to be pushed down- Returns:
- true if the field is a special field, false if not.
-