public abstract class StructuredDataProcessor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StructuredDataProcessor.ProcessResults
Accumulates the list of literal field paths and a rough size estimation for
StructuredDataProcessor |
| Constructor and Description |
|---|
StructuredDataProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static int |
estimateStringSize(String value)
this is copied from
StringDimensionDictionary.estimateSizeOfValue(String) |
static int |
getDoubleObjectEstimateSize() |
static int |
getLongObjectEstimateSize() |
StructuredDataProcessor.ProcessResults |
processFields(Object raw)
Process fields, returning a list of all paths to literal fields, represented as an ordered sequence of
NestedPathPart. |
abstract int |
processLiteralField(ArrayList<NestedPathPart> fieldPath,
Object fieldValue) |
public abstract int processLiteralField(ArrayList<NestedPathPart> fieldPath, Object fieldValue)
public StructuredDataProcessor.ProcessResults processFields(Object raw)
NestedPathPart.public static int estimateStringSize(@Nullable String value)
StringDimensionDictionary.estimateSizeOfValue(String)public static int getLongObjectEstimateSize()
public static int getDoubleObjectEstimateSize()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.