public class SnowflakeStreamingIngestClientInternal extends Object implements SnowflakeStreamingIngestClient
| Constructor and Description |
|---|
SnowflakeStreamingIngestClientInternal(String name,
SnowflakeURL accountURL,
Properties prop,
Map<String,Object> parameterOverrides)
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the client, which will flush first and then release all the resources
|
String |
getName()
Get the client name
|
boolean |
isClosed()
Check whether the client is closed or not, if you want to make sure all data are committed
before closing, please call
AutoCloseable.close() before closing the
entire client |
net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestChannelInternal |
openChannel(OpenChannelRequest request)
Open a channel against a Snowflake table
|
public SnowflakeStreamingIngestClientInternal(String name, SnowflakeURL accountURL, Properties prop, Map<String,Object> parameterOverrides)
name - the name of the clientaccountURL - Snowflake account urlprop - connection propertiesparameterOverrides - map of parameters to override for this clientpublic String getName()
getName in interface SnowflakeStreamingIngestClientpublic boolean isClosed()
SnowflakeStreamingIngestClientAutoCloseable.close() before closing the
entire clientisClosed in interface SnowflakeStreamingIngestClientpublic net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestChannelInternal openChannel(OpenChannelRequest request)
openChannel in interface SnowflakeStreamingIngestClientrequest - the open channel requestpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022. All rights reserved.