public class DruidPageSink extends Object implements ConnectorPageSink
| Modifier and Type | Field and Description |
|---|---|
static String |
TIMESTAMP_COLUMN |
NOT_BLOCKED| Constructor and Description |
|---|
DruidPageSink(DruidConfig druidConfig,
DruidClient druidClient,
DruidIngestionTableHandle tableHandle,
DruidPageWriter druidPageWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
CompletableFuture<?> |
appendPage(Page page) |
CompletableFuture<Collection<io.airlift.slice.Slice>> |
finish() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCompletedBytes, getSystemMemoryUsage, getValidationCpuNanospublic static final String TIMESTAMP_COLUMN
public DruidPageSink(DruidConfig druidConfig, DruidClient druidClient, DruidIngestionTableHandle tableHandle, DruidPageWriter druidPageWriter)
public CompletableFuture<?> appendPage(Page page)
appendPage in interface ConnectorPageSinkpublic CompletableFuture<Collection<io.airlift.slice.Slice>> finish()
finish in interface ConnectorPageSinkpublic void abort()
abort in interface ConnectorPageSinkCopyright © 2012–2021. All rights reserved.