| Modifier and Type | Method and Description |
|---|---|
List<ValueType> |
InlineDataSource.getColumnTypes() |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
DimensionSpec.getOutputType() |
ValueType |
LookupDimensionSpec.getOutputType() |
ValueType |
BaseFilteredDimensionSpec.getOutputType() |
ValueType |
ExtractionDimensionSpec.getOutputType() |
ValueType |
DefaultDimensionSpec.getOutputType() |
| Constructor and Description |
|---|
DefaultDimensionSpec(String dimension,
String outputName,
ValueType outputType) |
ExtractionDimensionSpec(String dimension,
String outputName,
ValueType outputType,
ExtractionFn extractionFn) |
ExtractionDimensionSpec(String dimension,
String outputName,
ValueType outputType,
ExtractionFn extractionFn,
ExtractionFn dimExtractionFn) |
| Modifier and Type | Method and Description |
|---|---|
DimValHolder.Builder |
DimValHolder.Builder.withDimValue(Comparable dimValue,
ValueType type)
This method is called by
TopNResultBuilder.addEntry(java.lang.Comparable, java.lang.Object, java.lang.Object[]) to store query results. |
| Constructor and Description |
|---|
StringTopNColumnAggregatesProcessor(ValueType dimensionType) |
TopNColumnAggregatesProcessorFactory(ValueType dimensionType) |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
ColumnProcessorFactory.defaultType()
This default type will be used when the underlying column has an unknown type.
|
| Modifier and Type | Method and Description |
|---|---|
static List<ValueType> |
DimensionHandlerUtils.getValueTypesFromDimensionSpecs(List<DimensionSpec> dimSpecs) |
| Modifier and Type | Method and Description |
|---|---|
static int |
DimensionHandlerUtils.compareObjectsAsType(Object lhs,
Object rhs,
ValueType type) |
static Function<Object,Comparable<?>> |
DimensionHandlerUtils.converterFromTypeToType(ValueType fromType,
ValueType toType) |
static Comparable<?> |
DimensionHandlerUtils.convertObjectToType(Object obj,
ValueType type) |
static Comparable<?> |
DimensionHandlerUtils.convertObjectToType(Object obj,
ValueType type,
boolean reportParseExceptions) |
static <T> T |
ColumnProcessors.makeProcessor(Expr expr,
ValueType exprTypeHint,
ColumnProcessorFactory<T> processorFactory,
ColumnSelectorFactory selectorFactory)
Make a processor for a particular expression.
|
| Modifier and Type | Method and Description |
|---|---|
static ValueType |
ValueType.fromString(String name) |
ValueType |
ColumnCapabilitiesImpl.getType() |
ValueType |
ColumnCapabilities.getType() |
ValueType |
ColumnDescriptor.getValueType() |
static ValueType |
ValueType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
ValueType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ValueType> |
RowSignature.getColumnType(int columnNumber)
Returns the type of the column at position
columnNumber, or empty if the type is unknown. |
Optional<ValueType> |
RowSignature.getColumnType(String columnName)
Returns the type of the column named
columnName, or empty if the type is unknown or the column does
not exist. |
| Modifier and Type | Method and Description |
|---|---|
RowSignature.Builder |
RowSignature.Builder.add(String columnName,
ValueType columnType)
Add a column to this signature.
|
static ColumnCapabilitiesImpl |
ColumnCapabilitiesImpl.createSimpleNumericColumnCapabilities(ValueType valueType)
Create a no frills, simple column with
ValueType set and everything else false |
static boolean |
ValueType.isNumeric(ValueType type) |
ColumnCapabilitiesImpl |
ColumnCapabilitiesImpl.setType(ValueType type) |
ColumnBuilder |
ColumnBuilder.setType(ValueType type) |
ColumnDescriptor.Builder |
ColumnDescriptor.Builder.setValueType(ValueType valueType) |
| Constructor and Description |
|---|
ColumnDescriptor(ValueType valueType,
boolean hasMultipleValues,
List<ColumnPartSerde> parts) |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
ConstantValueMatcherFactory.defaultType() |
ValueType |
PredicateValueMatcherFactory.defaultType() |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
GeneratorColumnSchema.getType() |
| Modifier and Type | Method and Description |
|---|---|
static GeneratorColumnSchema |
GeneratorColumnSchema.makeContinuousUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
double startDouble,
double endDouble) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeDiscreteUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeEnumerated(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues,
List<Double> enumeratedProbabilities) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeEnumeratedDiscreteUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeEnumeratedSequential(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeEnumeratedZipf(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
List<Object> enumeratedValues,
Double zipfExponent) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeLazyDiscreteUniform(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeLazyZipf(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt,
Double zipfExponent) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeNormal(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
Double mean,
Double standardDeviation,
boolean useRounding) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeSequential(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt) |
static GeneratorColumnSchema |
GeneratorColumnSchema.makeZipf(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
int startInt,
int endInt,
Double zipfExponent) |
| Constructor and Description |
|---|
GeneratorColumnSchema(String name,
ValueType type,
boolean isMetric,
int rowSize,
Double nullProbability,
GeneratorColumnSchema.ValueDistribution distributionType,
List<Object> enumeratedValues,
List<Double> enumeratedProbabilities,
Integer startInt,
Integer endInt,
Double startDouble,
Double endDouble,
Double zipfExponent,
Double mean,
Double standardDeviation) |
| Modifier and Type | Field and Description |
|---|---|
static Map<Object,ValueType> |
IncrementalIndex.TYPE_MAP |
| Modifier and Type | Method and Description |
|---|---|
ValueType |
ExpressionVirtualColumn.getOutputType() |
| Constructor and Description |
|---|
ExpressionVirtualColumn(String name,
Expr parsedExpression,
ValueType outputType)
Constructor for creating an ExpressionVirtualColumn from a pre-parsed expression.
|
ExpressionVirtualColumn(String name,
String expression,
ValueType outputType,
ExprMacroTable macroTable) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.