IN
- public static class CassandraSink.CassandraPojoSinkBuilder<IN> extends CassandraSink.CassandraSinkBuilder<IN>
CassandraPojoSink
.builder, committer, configBuilder, failureHandler, input, isWriteAheadLogEnabled, keyspace, mapperOptions, query, serializer, typeInfo
Constructor and Description |
---|
CassandraPojoSinkBuilder(DataStream<IN> input,
TypeInformation<IN> typeInfo,
TypeSerializer<IN> serializer) |
Modifier and Type | Method and Description |
---|---|
CassandraSink<IN> |
createSink() |
protected CassandraSink<IN> |
createWriteAheadSink() |
protected void |
sanityCheck() |
build, enableIgnoreNullFields, enableWriteAheadLog, enableWriteAheadLog, setClusterBuilder, setDefaultKeyspace, setFailureHandler, setHost, setHost, setMapperOptions, setMaxConcurrentRequests, setMaxConcurrentRequests, setQuery
public CassandraPojoSinkBuilder(DataStream<IN> input, TypeInformation<IN> typeInfo, TypeSerializer<IN> serializer)
protected void sanityCheck()
sanityCheck
in class CassandraSink.CassandraSinkBuilder<IN>
public CassandraSink<IN> createSink() throws Exception
createSink
in class CassandraSink.CassandraSinkBuilder<IN>
Exception
protected CassandraSink<IN> createWriteAheadSink() throws Exception
createWriteAheadSink
in class CassandraSink.CassandraSinkBuilder<IN>
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.