xlucene-parser / interfaces
interfaces
Enumerations
| Enumeration | Description |
|---|---|
| NodeType | Enumeration of all possible AST node types. |
Interfaces
| Interface | Description |
|---|---|
| AnyDataType | Interface for nodes that can contain any type of data value. |
| BooleanDataType | Interface for nodes that contain boolean data values. |
| Conjunction | AST node representing a conjunction of terms (implicit AND operation). |
| ContextArg | Context argument passed to the PEG parser engine. |
| EmptyNode | Base interface for all AST nodes. |
| Exists | AST node representing a field existence check. |
| FieldGroup | AST node representing multiple operations on the same field. |
| FunctionConfig | - |
| FunctionDefinition | - |
| FunctionMethods | - |
| FunctionMethodsResults | Similar to t.ElasticsearchDSLResult |
| FunctionNode | AST node representing a function call. |
| GroupLikeNode | Base interface for nodes that contain logical flow (LogicalGroup and FieldGroup). |
| LogicalGroup | AST node representing a logical grouping of terms with AND/OR operations. |
| Negation | AST node representing a negated term or group. |
| Node | Base interface for all AST nodes. |
| NumberDataType | Interface for nodes that contain numeric data values. |
| ParserOptions | Configuration options for the Parser constructor. |
| Range | AST node representing a range query. |
| RangeNode | Configuration for one side of a range query. |
| Regexp | AST node representing a regular expression pattern. |
| StringDataType | Interface for nodes that contain string data values. |
| Term | AST node representing a simple term query. |
| TermLikeNode | Base interface for nodes that represent searchable terms. |
| TermList | AST node representing a list of terms. |
| Wildcard | AST node representing a wildcard pattern. |
Type Aliases
Field
Field =
string|null
Defined in: xlucene-parser/src/interfaces.ts:98
FieldValue
FieldValue<
T> =FieldValueValue<T> |FieldValueVariable
Defined in: xlucene-parser/src/interfaces.ts:116
Union type representing either a literal value or a variable reference.
Field values can be either concrete values or references to variables that will be resolved later.
Type Parameters
| Type Parameter |
|---|
T |
FieldValueValue
FieldValueValue<
T> =object
Defined in: xlucene-parser/src/interfaces.ts:100
Type Parameters
| Type Parameter |
|---|
T |
Properties
type
type:
"value"
Defined in: xlucene-parser/src/interfaces.ts:101
value
value:
T
Defined in: xlucene-parser/src/interfaces.ts:102
FieldValueVariable
FieldValueVariable =
object
Defined in: xlucene-parser/src/interfaces.ts:104
Properties
scoped
scoped:
boolean
Defined in: xlucene-parser/src/interfaces.ts:106
type
type:
"variable"
Defined in: xlucene-parser/src/interfaces.ts:105
value
value:
string
Defined in: xlucene-parser/src/interfaces.ts:107
FunctionElasticsearchOptions
FunctionElasticsearchOptions =
t.XluceneTranslateQueryOptions
Defined in: xlucene-parser/src/interfaces.ts:357
GroupLike
GroupLike =
FieldGroup|LogicalGroup
Defined in: xlucene-parser/src/interfaces.ts:28
GroupLikeType
GroupLikeType =
LogicalGroup|FieldGroup
Defined in: xlucene-parser/src/interfaces.ts:29
RangeOperator
RangeOperator =
"gte"|"gt"|"lt"|"lte"
Defined in: xlucene-parser/src/interfaces.ts:242
TermLikeType
TermLikeType =
Term|Regexp|Range|Wildcard|Function|TermList
Defined in: xlucene-parser/src/interfaces.ts:52