Package org.apache.druid.segment.nested
Class StructuredDataProcessor.ProcessResults
- java.lang.Object
-
- org.apache.druid.segment.nested.StructuredDataProcessor.ProcessResults
-
- Enclosing class:
- StructuredDataProcessor
public static class StructuredDataProcessor.ProcessResults extends Object
Accumulates the list of literal field paths and a rough size estimation forStructuredDataProcessor
-
-
Constructor Summary
Constructors Constructor Description ProcessResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredDataProcessor.ProcessResults
addLiteralField(ArrayList<NestedPathPart> fieldPath, int sizeOfValue)
StructuredDataProcessor.ProcessResults
addSize(int size)
int
getEstimatedSize()
Estimated size in bytes of the data processedSet<ArrayList<NestedPathPart>>
getLiteralFields()
Set of paths which contain simple valuesboolean
hasObjects()
Returns true ifStructuredDataProcessor.ProcessResults
merge(StructuredDataProcessor.ProcessResults other)
StructuredDataProcessor.ProcessResults
setHasObjects()
StructuredDataProcessor.ProcessResults
withSize(int size)
-
-
-
Method Detail
-
getLiteralFields
public Set<ArrayList<NestedPathPart>> getLiteralFields()
Set of paths which contain simple values
-
getEstimatedSize
public int getEstimatedSize()
Estimated size in bytes of the data processed
-
hasObjects
public boolean hasObjects()
Returns true if
-
addSize
public StructuredDataProcessor.ProcessResults addSize(int size)
-
addLiteralField
public StructuredDataProcessor.ProcessResults addLiteralField(ArrayList<NestedPathPart> fieldPath, int sizeOfValue)
-
withSize
public StructuredDataProcessor.ProcessResults withSize(int size)
-
setHasObjects
public StructuredDataProcessor.ProcessResults setHasObjects()
-
merge
public StructuredDataProcessor.ProcessResults merge(StructuredDataProcessor.ProcessResults other)
-
-