public class CassandraStateFactory extends Object implements StateFactory
Constructor and Description |
---|
CassandraStateFactory(CassandraState.Options options) |
CassandraStateFactory(CQLStatementTupleMapper cqlStatementTupleMapper,
CQLResultSetValuesMapper cqlResultSetValuesMapper) |
Modifier and Type | Method and Description |
---|---|
State |
makeState(Map<String,Object> conf,
IMetricsContext metrics,
int partitionIndex,
int numPartitions) |
public CassandraStateFactory(CassandraState.Options options)
public CassandraStateFactory(CQLStatementTupleMapper cqlStatementTupleMapper, CQLResultSetValuesMapper cqlResultSetValuesMapper)
public State makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
makeState
in interface StateFactory
Copyright © 2019 The Apache Software Foundation. All rights reserved.