| Package | Description |
|---|---|
| org.apache.druid.segment.nested | |
| org.apache.druid.segment.virtual |
| Modifier and Type | Class and Description |
|---|---|
class |
NestedPathArrayElement |
class |
NestedPathField |
| Modifier and Type | Method and Description |
|---|---|
Set<ArrayList<NestedPathPart>> |
StructuredDataProcessor.ProcessResults.getLiteralFields()
Set of paths which contain simple values
|
List<List<NestedPathPart>> |
CompressedNestedDataComplexColumn.getNestedFields() |
abstract List<List<NestedPathPart>> |
NestedDataComplexColumn.getNestedFields()
Get list of fields represented as a sequence of
NestedPathPart |
static List<NestedPathPart> |
NestedPathFinder.parseJqPath(String path)
split a jq path into a series of extractors to find things in stuff
|
static List<NestedPathPart> |
NestedPathFinder.parseJsonPath(String path)
split a JSONPath path into a series of extractors to find things in stuff
|
abstract List<NestedPathPart> |
CompressedNestedDataComplexColumn.parsePath(String path) |
List<NestedPathPart> |
NestedDataColumnV5.parsePath(String path) |
List<NestedPathPart> |
NestedDataColumnV4.parsePath(String path) |
List<NestedPathPart> |
NestedDataColumnV3.parsePath(String path) |
| Modifier and Type | Method and Description |
|---|---|
StructuredDataProcessor.ProcessResults |
StructuredDataProcessor.ProcessResults.addLiteralField(ArrayList<NestedPathPart> fieldPath,
int sizeOfValue) |
static Object |
NestedPathFinder.find(Object data,
List<NestedPathPart> path)
Dig through a thing to find stuff
|
static Object[] |
NestedPathFinder.findKeys(Object data,
List<NestedPathPart> path)
find the list of 'keys' at some path.
|
ColumnHolder |
CompressedNestedDataComplexColumn.getColumnHolder(List<NestedPathPart> path) |
abstract ColumnHolder |
NestedDataComplexColumn.getColumnHolder(List<NestedPathPart> path)
Get a
ColumnHolder for a nested field column to retrieve metadata, the column itself, or indexes. |
ColumnIndexSupplier |
CompressedNestedDataComplexColumn.getColumnIndexSupplier(List<NestedPathPart> path) |
abstract ColumnIndexSupplier |
NestedDataComplexColumn.getColumnIndexSupplier(List<NestedPathPart> path)
Make a
ColumnIndexSupplier for a nested field column |
Set<ColumnType> |
CompressedNestedDataComplexColumn.getColumnTypes(List<NestedPathPart> path) |
abstract Set<ColumnType> |
NestedDataComplexColumn.getColumnTypes(List<NestedPathPart> path)
Get all
ColumnType for the nested field column |
abstract String |
CompressedNestedDataComplexColumn.getField(List<NestedPathPart> path) |
String |
NestedDataColumnV5.getField(List<NestedPathPart> path) |
String |
NestedDataColumnV4.getField(List<NestedPathPart> path) |
String |
NestedDataColumnV3.getField(List<NestedPathPart> path) |
boolean |
CompressedNestedDataComplexColumn.isNumeric(List<NestedPathPart> path) |
abstract boolean |
NestedDataComplexColumn.isNumeric(List<NestedPathPart> path)
Shortcut to check if a nested field column is
TypeSignature.isNumeric(), useful when broadly choosing the
type of vector selector to be used when dealing with the path |
ColumnValueSelector<?> |
CompressedNestedDataComplexColumn.makeColumnValueSelector(List<NestedPathPart> path,
ReadableOffset readableOffset) |
abstract ColumnValueSelector<?> |
NestedDataComplexColumn.makeColumnValueSelector(List<NestedPathPart> path,
ReadableOffset readableOffset)
Make a
ColumnValueSelector for a nested field column |
DimensionSelector |
CompressedNestedDataComplexColumn.makeDimensionSelector(List<NestedPathPart> path,
ReadableOffset readableOffset,
ExtractionFn fn) |
abstract DimensionSelector |
NestedDataComplexColumn.makeDimensionSelector(List<NestedPathPart> path,
ReadableOffset readableOffset,
ExtractionFn fn)
Make a
DimensionSelector for a nested field column |
SingleValueDimensionVectorSelector |
CompressedNestedDataComplexColumn.makeSingleValueDimensionVectorSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset) |
abstract SingleValueDimensionVectorSelector |
NestedDataComplexColumn.makeSingleValueDimensionVectorSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset)
Make a
SingleValueDimensionVectorSelector for a nested field column |
VectorObjectSelector |
CompressedNestedDataComplexColumn.makeVectorObjectSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset) |
abstract VectorObjectSelector |
NestedDataComplexColumn.makeVectorObjectSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset)
Make a
VectorObjectSelector for a nested field column |
VectorValueSelector |
CompressedNestedDataComplexColumn.makeVectorValueSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset) |
abstract VectorValueSelector |
NestedDataComplexColumn.makeVectorValueSelector(List<NestedPathPart> path,
ReadableVectorOffset readableOffset)
Make a
VectorValueSelector for a nested field column |
abstract StructuredDataProcessor.ProcessedValue<?> |
StructuredDataProcessor.processArrayField(ArrayList<NestedPathPart> fieldPath,
List<?> array)
Process a
List or Object[] returning a StructuredDataProcessor.ProcessedValue if no further processing should
be performed by the StructuredDataProcessor, else a return value of null indicates that each element
of the array will be processed separately as a new NestedPathArrayElement part. |
abstract StructuredDataProcessor.ProcessedValue<?> |
StructuredDataProcessor.processField(ArrayList<NestedPathPart> fieldPath,
Object fieldValue)
|
static String |
NestedPathFinder.toNormalizedJqPath(List<NestedPathPart> paths)
Given a list of part finders, convert it to a "normalized" 'jq' path format that is consistent with how
StructuredDataProcessor constructs field path names |
static String |
NestedPathFinder.toNormalizedJsonPath(List<NestedPathPart> paths) |
| Modifier and Type | Field and Description |
|---|---|
protected List<NestedPathPart> |
NestedFieldVirtualColumn.RawFieldColumnSelector.parts |
| Modifier and Type | Method and Description |
|---|---|
List<NestedPathPart> |
NestedFieldVirtualColumn.getPathParts() |
| Constructor and Description |
|---|
NestedFieldVirtualColumn(String columnName,
String outputName,
ColumnType expectedType,
List<NestedPathPart> parts,
Boolean processFromRaw,
String path,
Boolean useJqSyntax) |
RawFieldColumnSelector(ColumnValueSelector baseSelector,
List<NestedPathPart> parts) |
RawFieldLiteralColumnValueSelector(ColumnValueSelector baseSelector,
List<NestedPathPart> parts) |
RawFieldVectorObjectSelector(VectorObjectSelector baseSelector,
List<NestedPathPart> parts) |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.