Package org.apache.druid.segment.nested
Class StructuredDataProcessor.ProcessResults
java.lang.Object
org.apache.druid.segment.nested.StructuredDataProcessor.ProcessResults
- Enclosing class:
StructuredDataProcessor
Accumulates the list of literal field paths and a rough size estimation for
StructuredDataProcessor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLiteralField(ArrayList<NestedPathPart> fieldPath, int sizeOfValue) addSize(int size) intEstimated size in bytes of the data processedSet of paths which contain simple valuesbooleanReturns true ifwithSize(int size)
-
Constructor Details
-
ProcessResults
public ProcessResults()
-
-
Method Details
-
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
-
addLiteralField
public StructuredDataProcessor.ProcessResults addLiteralField(ArrayList<NestedPathPart> fieldPath, int sizeOfValue) -
withSize
-
setHasObjects
-
merge
-