public class IndexSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DIMENSION_COMPRESSION |
static String |
DEFAULT_METRIC_COMPRESSION |
static String |
UNCOMPRESSED |
Constructor and Description |
---|
IndexSpec()
Creates an IndexSpec with default parameters
|
IndexSpec(BitmapSerdeFactory bitmapSerdeFactory,
String dimensionCompression,
String metricCompression)
Creates an IndexSpec with the given storage format settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BitmapSerdeFactory |
getBitmapSerdeFactory() |
String |
getDimensionCompression() |
CompressedObjectStrategy.CompressionStrategy |
getDimensionCompressionStrategy() |
String |
getMetricCompression() |
CompressedObjectStrategy.CompressionStrategy |
getMetricCompressionStrategy() |
int |
hashCode() |
public static final String UNCOMPRESSED
public static final String DEFAULT_METRIC_COMPRESSION
public static final String DEFAULT_DIMENSION_COMPRESSION
public IndexSpec()
public IndexSpec(BitmapSerdeFactory bitmapSerdeFactory, String dimensionCompression, String metricCompression)
bitmapSerdeFactory
- type of bitmap to use (e.g. roaring or concise), null to use the default.
Defaults to the bitmap type specified by the (deprecated) "druid.processing.bitmap.type"
setting, or, if none was set, uses the default @{link BitmapSerde.DefaultBitmapSerdeFactory}dimensionCompression
- compression format for dimension columns. The default, null, means no compressionmetricCompression
- compression format for metric columns, null to use the default.
Defaults to @{link CompressedObjectStrategy.DEFAULT_COMPRESSION_STRATEGY}public BitmapSerdeFactory getBitmapSerdeFactory()
public String getDimensionCompression()
public String getMetricCompression()
public CompressedObjectStrategy.CompressionStrategy getMetricCompressionStrategy()
public CompressedObjectStrategy.CompressionStrategy getDimensionCompressionStrategy()
Copyright © 2011–2015. All rights reserved.