@Internal public abstract class ElasticsearchUpsertTableSinkFactoryBase extends Object implements org.apache.flink.table.factories.StreamTableSinkFactory<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>>
UpsertStreamTableSink for Elasticsearch.| Constructor and Description |
|---|
ElasticsearchUpsertTableSinkFactoryBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ElasticsearchUpsertTableSinkBase |
createElasticsearchUpsertTableSink(boolean isAppendOnly,
org.apache.flink.table.api.TableSchema schema,
List<ElasticsearchUpsertTableSinkBase.Host> hosts,
String index,
String docType,
String keyDelimiter,
String keyNullLiteral,
org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row> serializationSchema,
org.elasticsearch.common.xcontent.XContentType contentType,
ActionRequestFailureHandler failureHandler,
Map<ElasticsearchUpsertTableSinkBase.SinkOption,String> sinkOptions) |
org.apache.flink.table.sinks.StreamTableSink<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>> |
createStreamTableSink(Map<String,String> properties) |
protected abstract String |
elasticsearchVersion() |
Map<String,String> |
requiredContext() |
List<String> |
supportedProperties() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ElasticsearchUpsertTableSinkFactoryBase()
public Map<String,String> requiredContext()
requiredContext in interface org.apache.flink.table.factories.TableFactorypublic List<String> supportedProperties()
supportedProperties in interface org.apache.flink.table.factories.TableFactorypublic org.apache.flink.table.sinks.StreamTableSink<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>> createStreamTableSink(Map<String,String> properties)
createStreamTableSink in interface org.apache.flink.table.factories.StreamTableSinkFactory<org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row>>protected abstract String elasticsearchVersion()
protected abstract ElasticsearchUpsertTableSinkBase createElasticsearchUpsertTableSink(boolean isAppendOnly, org.apache.flink.table.api.TableSchema schema, List<ElasticsearchUpsertTableSinkBase.Host> hosts, String index, String docType, String keyDelimiter, String keyNullLiteral, org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row> serializationSchema, org.elasticsearch.common.xcontent.XContentType contentType, ActionRequestFailureHandler failureHandler, Map<ElasticsearchUpsertTableSinkBase.SinkOption,String> sinkOptions)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.