Refine search
@JsonCreator public DefaultOfflineAppenderatorFactory( @JacksonInject DataSegmentPusher dataSegmentPusher, @JacksonInject ObjectMapper objectMapper, @JacksonInject IndexIO indexIO, @JacksonInject IndexMerger indexMerger ) { this.dataSegmentPusher = dataSegmentPusher; this.objectMapper = objectMapper; this.indexIO = indexIO; this.indexMerger = indexMerger; }
@JsonCreator public AppenderatorPlumberSchool( @JsonProperty("appenderator") AppenderatorFactory appenderatorFactory, @JacksonInject DataSegmentAnnouncer segmentAnnouncer, @JacksonInject SegmentHandoffNotifierFactory handoffNotifierFactory, @JacksonInject SegmentPublisher segmentPublisher ) { this.appenderatorFactory = appenderatorFactory; this.segmentAnnouncer = segmentAnnouncer; this.handoffNotifierFactory = handoffNotifierFactory; this.segmentPublisher = segmentPublisher; }
@JsonProperty @NotNull private String feed = null; @JsonProperty @NotNull private RequestLogEventBuilderFactory requestLogEventBuilderFactory = null; @JacksonInject @NotNull private ServiceEmitter emitter = null;
@JsonCreator public CassandraLoadSpec( @JacksonInject CassandraDataSegmentPuller puller, @JsonProperty("key") String key ) { this.puller = puller; this.key = key; }
@JsonTypeName("slf4j") public class LoggingRequestLoggerProvider implements RequestLoggerProvider { private static final Logger log = new Logger(LoggingRequestLoggerProvider.class); @JacksonInject @Json public ObjectMapper mapper; @JsonProperty public boolean setMDC = false; @JsonProperty public boolean setContextMDC = false; @Override public RequestLogger get() { LoggingRequestLogger logger = new LoggingRequestLogger(mapper, setMDC, setContextMDC); log.debug(new Exception("Stack trace"), "Creating %s at", logger); return logger; } }
@JsonCreator public LookupListeningAnnouncerConfig( @JacksonInject ZkPathsConfig zkPathsConfig, @JacksonInject DataSourceTaskIdHolder dataSourceTaskIdHolder ) { super(zkPathsConfig); this.dataSourceTaskIdHolder = dataSourceTaskIdHolder; }
@JsonCreator public YeOldePlumberSchool( @JsonProperty("interval") Interval interval, @JsonProperty("version") String version, @JacksonInject("segmentPusher") DataSegmentPusher dataSegmentPusher, @JacksonInject("tmpSegmentDir") File tmpSegmentDir, @JacksonInject IndexMergerV9 indexMergerV9, @JacksonInject IndexIO indexIO ) { this.interval = interval; this.version = version; this.dataSegmentPusher = dataSegmentPusher; this.tmpSegmentDir = tmpSegmentDir; this.indexMergerV9 = Preconditions.checkNotNull(indexMergerV9, "Null IndexMergerV9"); this.indexIO = Preconditions.checkNotNull(indexIO, "Null IndexIO"); }
@JsonProperty @NotNull private File dir = null; @JsonProperty @NotNull private String filePattern = "yyyy-MM-dd'.log'"; @JacksonInject @NotNull private ScheduledExecutorFactory factory = null; @JacksonInject @NotNull @Json
@JsonCreator public HighestPriorityTierSelectorStrategy(@JacksonInject ServerSelectorStrategy serverSelectorStrategy) { super(serverSelectorStrategy); }
@JsonCreator public LongMinAggregatorFactory( @JsonProperty("name") String name, @JsonProperty("fieldName") final String fieldName, @JsonProperty("expression") String expression, @JacksonInject ExprMacroTable macroTable ) { super(macroTable, name, fieldName, expression); }
@JsonCreator public BinaryTableGroupScan(@JsonProperty("userName") final String userName, @JsonProperty("hbaseScanSpec") HBaseScanSpec scanSpec, @JsonProperty("storage") FileSystemConfig storagePluginConfig, @JsonProperty("format") MapRDBFormatPluginConfig formatPluginConfig, @JsonProperty("columns") List<SchemaPath> columns, @JacksonInject StoragePluginRegistry pluginRegistry) throws IOException, ExecutionSetupException { this (userName, (AbstractStoragePlugin) pluginRegistry.getPlugin(storagePluginConfig), (MapRDBFormatPlugin) pluginRegistry.getFormatPlugin(storagePluginConfig, formatPluginConfig), scanSpec, columns); }
@JsonCreator public LowestPriorityTierSelectorStrategy(@JacksonInject ServerSelectorStrategy serverSelectorStrategy) { super(serverSelectorStrategy); }
@JsonCreator public HdfsLoadSpec( @JacksonInject HdfsDataSegmentPuller puller, @JsonProperty(value = "path", required = true) String path ) { Preconditions.checkNotNull(path); this.path = new Path(path); this.puller = puller; }
@JsonCreator public JsonTableGroupScan(@JsonProperty("userName") final String userName, @JsonProperty("scanSpec") JsonScanSpec scanSpec, @JsonProperty("storage") FileSystemConfig storagePluginConfig, @JsonProperty("format") MapRDBFormatPluginConfig formatPluginConfig, @JsonProperty("columns") List<SchemaPath> columns, @JacksonInject StoragePluginRegistry pluginRegistry) throws IOException, ExecutionSetupException { this (userName, (AbstractStoragePlugin) pluginRegistry.getPlugin(storagePluginConfig), (MapRDBFormatPlugin) pluginRegistry.getFormatPlugin(storagePluginConfig, formatPluginConfig), scanSpec, columns); }
@JsonCreator public CustomTierSelectorStrategy( @JacksonInject ServerSelectorStrategy serverSelectorStrategy, @JacksonInject CustomTierSelectorStrategyConfig config ) { super(serverSelectorStrategy); final Map<Integer, Integer> lookup = new HashMap<>(); int pos = 0; for (Integer integer : config.getPriorities()) { lookup.put(integer, pos); pos++; } this.comparator = Comparator.comparingInt(lookup::get); }
@JsonCreator public EC2AutoScaler( @JsonProperty("minNumWorkers") int minNumWorkers, @JsonProperty("maxNumWorkers") int maxNumWorkers, @JsonProperty("envConfig") EC2EnvironmentConfig envConfig, @JacksonInject AmazonEC2 amazonEC2Client, @JacksonInject SimpleWorkerProvisioningConfig config ) { this.minNumWorkers = minNumWorkers; this.maxNumWorkers = maxNumWorkers; this.envConfig = envConfig; this.amazonEC2Client = amazonEC2Client; this.config = config; }
@JsonCreator KmsServerSideEncryption(@JacksonInject S3SSEKmsConfig config) { this.keyId = config.getKeyId(); }
@JsonCreator public MaterializedViewQuery( @JsonProperty("query") Query query, @JacksonInject DataSourceOptimizer optimizer ) { Preconditions.checkArgument( query instanceof TopNQuery || query instanceof TimeseriesQuery || query instanceof GroupByQuery, "Only topN/timeseries/groupby query are supported" ); this.query = query; this.optimizer = optimizer; }
@JsonCreator public HybridCacheProvider( @JacksonInject @Named("l1") CacheProvider level1, @JacksonInject @Named("l2") CacheProvider level2 ) { this.level1 = Preconditions.checkNotNull(level1, "l1 cache not specified for hybrid cache"); this.level2 = Preconditions.checkNotNull(level2, "l2 cache not specified for hybrid cache"); if (!getUseL2() && !getPopulateL2()) { throw new IllegalStateException( "Doesn't make sense to use Hybrid cache with both use and populate disabled for L2, " + "use just L1 cache in this case" ); } }
@JsonCreator public LongSumAggregatorFactory( @JsonProperty("name") String name, @JsonProperty("fieldName") final String fieldName, @JsonProperty("expression") String expression, @JacksonInject ExprMacroTable macroTable ) { super(macroTable, name, fieldName, expression); }