- CHANNEL_STATUS_ENDPOINT - Static variable in class net.snowflake.ingest.utils.Constants
-
- clear() - Method in class net.snowflake.ingest.utils.RingBuffer
-
clear - effectively empties the array by resetting all of our pointers and clearing our buffer
- CLIENT_CONFIGURE_ENDPOINT - Static variable in class net.snowflake.ingest.utils.Constants
-
- CLIENT_NAME - Static variable in class net.snowflake.ingest.connection.RequestBuilder
-
- ClientStatusResponse - Class in net.snowflake.ingest.connection
-
ClientStatusResponse - response from a get client status request
- ClientStatusResponse() - Constructor for class net.snowflake.ingest.connection.ClientStatusResponse
-
- close() - Method in class net.snowflake.ingest.connection.TelemetryService
-
Flush the telemetry buffer and close the telemetry service
- close() - Method in class net.snowflake.ingest.SimpleIngestManager
-
Closes the resources associated with this object.
- close() - Method in class net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestClientInternal
-
Close the client, which will flush first and then release all the resources
- close() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Close the channel, this function will make sure all the data in this channel is committed
- close() - Method in class org.apache.parquet.hadoop.BdecParquetReader
-
Close the reader.
- close() - Method in class org.apache.parquet.hadoop.BdecParquetWriter
-
- closeAllocator(BufferAllocator) - Static method in class net.snowflake.ingest.utils.Utils
-
Release any outstanding memory and then close the buffer allocator
- closeResources() - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Closes the resources being used by RequestBuilder object.
- COMMIT_MAX_RETRY_COUNT - Static variable in class net.snowflake.ingest.utils.Constants
-
- COMMIT_RETRY_INTERVAL_IN_MS - Static variable in class net.snowflake.ingest.utils.Constants
-
- COMPRESS_BLOB_TWICE - Static variable in class net.snowflake.ingest.utils.Constants
-
- configureClient(UUID) - Method in class net.snowflake.ingest.SimpleIngestManager
-
Register a snowpipe client and returns the client sequencer
- ConfigureClientResponse - Class in net.snowflake.ingest.connection
-
ConfigureClientResponse - response from a configure client request
- ConfigureClientResponse() - Constructor for class net.snowflake.ingest.connection.ConfigureClientResponse
-
- CONNECT_STRING - Static variable in class net.snowflake.ingest.utils.Constants
-
- Constants - Class in net.snowflake.ingest.utils
-
Contains all the constants needed for Streaming Ingest
- Constants() - Constructor for class net.snowflake.ingest.utils.Constants
-
- Constants.BdecVersion - Enum in net.snowflake.ingest.utils
-
The write mode to generate Arrow BDEC file.
- Constants.WriteMode - Enum in net.snowflake.ingest.utils
-
- constructAccountUrl(String, String, int) - Static method in class net.snowflake.ingest.utils.Utils
-
Construct account url from input schema, host and port
- contains(Object) - Method in class net.snowflake.ingest.utils.RingBuffer
-
contains - checks whether or not an object is in this queue
- createFlusher() - Method in class net.snowflake.ingest.streaming.internal.ParquetRowBuffer
-
- createKeyPairFromPrivateKey(PrivateKey) - Static method in class net.snowflake.ingest.utils.Utils
-
Generate key pair object from private key
- createProperties(Properties) - Static method in class net.snowflake.ingest.utils.Utils
-
Create a Properties for snowflake connection
- createTempCsv(String, String, int) - Static method in class net.snowflake.ingest.example.IngestExampleHelper
-
- createTimerContext(Timer) - Static method in class net.snowflake.ingest.utils.Utils
-
Create a new timer context if input is not null
- Cryptor - Class in net.snowflake.ingest.utils
-
- Cryptor() - Constructor for class net.snowflake.ingest.utils.Cryptor
-
- generateConfigureClientRequest(UUID, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Given a requestId and a pipe, make a configure client request
- generateGetClientStatusRequest(UUID, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Given a requestId and a pipe, make a get client status request
- generateHistoryRangeRequest(UUID, String, String, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
generateHistoryRangeRequest - given a requestId and a pipe, get history for all ingests between
time ranges start-end
- generateHistoryRequest(UUID, String, Integer, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
generateHistoryRequest - given a requestId and a pipe, make a history request
- generateInsertRequest(UUID, String, List<StagedFileWrapper>, boolean) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
generateInsertRequest - given a table, stage and list of files, make a request for the insert
endpoint
- generateInsertRequest(UUID, String, List<StagedFileWrapper>, boolean, Optional<InsertFilesClientInfo>) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
generateInsertRequest - given a pipe, list of files and clientInfo, make a request for the
insert endpoint
- generateKeyPair() - Static method in class net.snowflake.ingest.example.IngestExampleHelper
-
Generates an RSA keypair for use in this test
- generateProxyPropertiesForJDBC() - Static method in class net.snowflake.ingest.utils.HttpUtil
-
Helper method to decide whether to add any properties related to proxy server.
- generateStreamingIngestPostRequest(String, String, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Generate post request for streaming ingest related APIs
- generateStreamingIngestPostRequest(Map<Object, Object>, String, String) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Generate post request for streaming ingest related APIs
- getAccount() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
getAccount - returns the name of the account this builder will inject into the IngestManager
- getAccount() - Method in class net.snowflake.ingest.SimpleIngestManager
-
getAccount - Gives back the name of the account that this IngestManager is targeting
- getAccount() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getBlobFormatVersion() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getBlobUploadMaxRetryCount() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getBufferFlushCheckIntervalInMs() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getBufferFlushIntervalInMs() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getCapacity() - Method in class net.snowflake.ingest.utils.RingBuffer
-
getCapacity - gives back the capacity of this buffer
- getCause() - Method in exception net.snowflake.ingest.utils.SFException
-
- getChannelName() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getClientSequencer() - Method in class net.snowflake.ingest.connection.ClientStatusResponse
-
unique identifier for the client
- getClientSequencer() - Method in class net.snowflake.ingest.connection.ConfigureClientResponse
-
unique identifier for the client
- getClientSequencer() - Method in class net.snowflake.ingest.connection.InsertFilesClientInfo
-
Gets client Sequencer associated with this clientInfo record.
- getClientStatus(UUID) - Method in class net.snowflake.ingest.SimpleIngestManager
-
Get client status for snowpipe which contains offset token and client sequencer
- getCode() - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- getConnection(String, String, String, String, int) - Static method in class net.snowflake.ingest.example.IngestExampleHelper
-
- getData() - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- getDBName() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getDBName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the database name
- getDefaultTimezone() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getEnableParquetInternalBuffering() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getEndTimeExclusive() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.
- getEpoch() - Method in class net.snowflake.ingest.streaming.internal.TimestampWrapper
-
Get epoch in seconds
- getErrorBody() - Method in exception net.snowflake.ingest.connection.IngestResponseException
-
Getter for error body
- getErrorCode() - Method in exception net.snowflake.ingest.connection.IngestResponseException
-
Getter for error code
- getErrorLimit() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of errors allowed in the file before it is considered failed (based on ON_ERROR copy
option).
- getErrorRowCount() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse
-
Get the number of erroneous row count
- getErrorsSeen() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of errors seen in the file
- getException() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the exception
- getExtraColNames() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the list of extra column names in the input row compared with the table schema
- getFileSize() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The size of the file as measured by the service
- getFirst() - Method in class net.snowflake.ingest.utils.Pair
-
- getFirstError() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Error message for the first error encountered in this file.
- getFirstErrorCharacterPos() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Character position of the first error.
- getFirstErrorColumnName() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Column name where the first error occurred.
- getFirstErrorLineNum() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Line number of the first error.
- getFraction() - Method in class net.snowflake.ingest.streaming.internal.TimestampWrapper
-
Get fractional part of a second
- getFullUrl() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getFullyQualifiedName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the fully qualified channel name
- getFullyQualifiedTableName() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getFullyQualifiedTableName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the fully qualified table name that the channel belongs to
- getHeaders() - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- getHistory(UUID, Integer, String) - Method in class net.snowflake.ingest.SimpleIngestManager
-
Pings the service to see the current ingest history for this table
- getHistoryRange(UUID, String, String) - Method in class net.snowflake.ingest.SimpleIngestManager
-
Pings the service to see the current ingest history for this table
- getHostName() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
- getHttpClient() - Static method in class net.snowflake.ingest.utils.HttpUtil
-
- getHttpMethod() - Method in enum net.snowflake.ingest.connection.ServiceResponseHandler.ApiName
-
- getId() - Method in enum net.snowflake.ingest.connection.IngestStatus
-
id of the IngestStatus object
- getInsertErrors() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse
-
Get the list of insertion errors, the list is empty if no error
- getInsertThrottleIntervalInMs() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getInsertThrottleThresholdInPercentage() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getIOTimeCpuRatio() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getJdbcUrl() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getKey() - Method in class net.snowflake.ingest.utils.Pair
-
- getKeypair() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
getKeyPair - returns the key-pair we're using for authentication
- getLastInsertTime() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
getLastInsertTime - converts the ISO formatted lastInsertTime string into a LocalDateTime
- getLatestCommittedOffsetToken() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the latest committed offset token from Snowflake
- getLogger() - Method in class net.snowflake.ingest.utils.Logging
-
- getMaxMemoryLimitInBytes() - Method in class net.snowflake.ingest.utils.ParameterProvider
-
- getMessage() - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- getMessage() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the exception message
- getMessageCode() - Method in enum net.snowflake.ingest.utils.ErrorCode
-
- getMissingNotNullColNames() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the list of missing non-nullable column names in the input row compared with the table
schema
- getName() - Method in class net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestClientInternal
-
Get the client name
- getName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the name of the channel
- getName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestClient
-
Get the client name
- getNextBeginMark() - Method in class net.snowflake.ingest.connection.HistoryResponse
-
beginMark to use on the next request to avoid seeing duplicate records.
- getOffsetToken() - Method in class net.snowflake.ingest.connection.ClientStatusResponse
-
offset number for kafka connector
- getOffsetToken() - Method in class net.snowflake.ingest.connection.InsertFilesClientInfo
-
Gets offsetToken associated with this clientInfo record.
- getOnErrorOption() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getParams() - Method in exception net.snowflake.ingest.utils.SFException
-
- getPath() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The file path relative to the stage location.
- getPath() - Method in class net.snowflake.ingest.utils.StagedFileWrapper
-
getPath - returns the path of this file
- getPipe() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
fully qualified pipe name
- getPipe() - Method in class net.snowflake.ingest.connection.HistoryResponse
-
fully qualified pipe name
- getPipe() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
getPipe - get the pipe for the ingest manager this builder will create
- getPipe() - Method in class net.snowflake.ingest.SimpleIngestManager
-
getPipe - gives back the pipe which we are using
- getPort() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getPublicKeyString(KeyPair) - Static method in class net.snowflake.ingest.example.IngestExampleHelper
-
Generate the public key as a string
- getRangeEndTime() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the
response.
- getRangeStartTime() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the
response.
- getRequestBuilder() - Method in class net.snowflake.ingest.SimpleIngestManager
-
- getRequestId() - Method in class net.snowflake.ingest.connection.IngestResponse
-
- getRequestUUID() - Method in class net.snowflake.ingest.connection.IngestResponse
-
getRequestUUID - the requestId as a UUID
- getResponseCode() - Method in class net.snowflake.ingest.connection.IngestResponse
-
- getRowContent() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the row content
- getRowIndex() - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Get the rowIndex.
- getRowsInserted() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of rows inserted into the target table from the file.
- getRowsParsed() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of rows parsed from the file.
- getSchemaName() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getSchemaName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the schema name
- getScheme() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getSecond() - Method in class net.snowflake.ingest.utils.Pair
-
- getShortname(String) - Static method in class net.snowflake.ingest.streaming.internal.StreamingIngestUtils
-
- getSize() - Method in class net.snowflake.ingest.utils.StagedFileWrapper
-
getSize - get the size of this file
- getSkippedFiles() - Method in class net.snowflake.ingest.connection.IngestResponse
-
- getStackTrace(Throwable) - Static method in class net.snowflake.ingest.utils.Utils
-
Return the stack trace for a given exception
- getStageLocation() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Either the stage ID (internal stage) or the S3 bucket (external stage) defined in the pipe.
- getStartTimeInclusive() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.
- getStatistics() - Method in class net.snowflake.ingest.connection.HistoryResponse
-
the statistics reported back by the service
- getStatus() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Load status for the file: LOAD_IN_PROGRESS: Part of the file has been loaded into the table,
but the load process has not completed yet.
- getStatusDesc() - Method in enum net.snowflake.ingest.connection.IngestStatus
-
description associated to that file Status
- getSystemError() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
General error describing why the file was not processed.
- getTableName() - Method in class net.snowflake.ingest.streaming.OpenChannelRequest
-
- getTableName() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Get the table name
- getTelemetryService() - Method in class net.snowflake.ingest.connection.RequestBuilder
-
Get the telemetry service
- getTimeReceived() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The time at which this file was enqueued by the service ISO 8601 UTC
- getTimeZoneIndex() - Method in class net.snowflake.ingest.streaming.internal.TimestampWrapper
-
Get timezone index, 1440 means UTC.
- getTimezoneOffsetSeconds() - Method in class net.snowflake.ingest.streaming.internal.TimestampWrapper
-
Get timezone offset in seconds
- getUnmatchedPatternFiles() - Method in class net.snowflake.ingest.connection.IngestResponse
-
- getUrlWithoutPort() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- getUser() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
getUser - get the user who will be loading using the ingest service
- getUser() - Method in class net.snowflake.ingest.SimpleIngestManager
-
getUser - gives back the user on behalf of which this ingest manager is loading
- getUserAgentSuffix() - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
Get the set user agent suffix.
- getValue() - Method in class net.snowflake.ingest.utils.Pair
-
- getVendorCode() - Method in exception net.snowflake.ingest.utils.SFException
-
- IngestExampleHelper - Class in net.snowflake.ingest.example
-
Helper methods to connect to snowflake jdbc and run queries Created by vganesh on 5/19/17.
- IngestExampleHelper() - Constructor for class net.snowflake.ingest.example.IngestExampleHelper
-
- IngestExceptionBody() - Constructor for class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- ingestFile(StagedFileWrapper, UUID) - Method in class net.snowflake.ingest.SimpleIngestManager
-
ingestFile - ingest a single file
- ingestFile(StagedFileWrapper, UUID, boolean) - Method in class net.snowflake.ingest.SimpleIngestManager
-
ingestFile - ingest a single file
- ingestFiles(List<StagedFileWrapper>, UUID) - Method in class net.snowflake.ingest.SimpleIngestManager
-
ingestFiles - synchronously sends a request to the ingest service to enqueue these files
- ingestFiles(List<StagedFileWrapper>, UUID, boolean) - Method in class net.snowflake.ingest.SimpleIngestManager
-
ingestFiles - synchronously sends a request to the ingest service to enqueue these files
- ingestFiles(List<StagedFileWrapper>, UUID, boolean, InsertFilesClientInfo) - Method in class net.snowflake.ingest.SimpleIngestManager
-
ingestFiles With Client Info - synchronously sends a request to the ingest service to enqueue
these files along with clientSequencer and offSetToken.
- IngestResponse - Class in net.snowflake.ingest.connection
-
IngestResponse - an object which contains a successful response from the service for the insert
request
- IngestResponse() - Constructor for class net.snowflake.ingest.connection.IngestResponse
-
- IngestResponseException - Exception in net.snowflake.ingest.connection
-
Exception will capture error message when Snowflake encounters an error during ingest or if
trying to retrieve history report/ Created by vganesh on 5/20/17.
- IngestResponseException.IngestExceptionBody - Class in net.snowflake.ingest.connection
-
Response exception REST message body sent back from Snowflake
- IngestStatus - Enum in net.snowflake.ingest.connection
-
Status of ingest of a particular file returned by Snowflake in the FileEntry history response per
file
- INSERT_THROTTLE_INTERVAL_IN_MILLIS - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- INSERT_THROTTLE_INTERVAL_IN_MILLIS_DEFAULT - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- INSERT_THROTTLE_MAX_RETRY_COUNT - Static variable in class net.snowflake.ingest.utils.Constants
-
- INSERT_THROTTLE_THRESHOLD_IN_PERCENTAGE - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- INSERT_THROTTLE_THRESHOLD_IN_PERCENTAGE_DEFAULT - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- InsertError(Object, long) - Constructor for class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
- InsertFilesClientInfo - Class in net.snowflake.ingest.connection
-
Just a wrapper class which is serialised into REST request for insertFiles.
- InsertFilesClientInfo(long, String) - Constructor for class net.snowflake.ingest.connection.InsertFilesClientInfo
-
Constructor with both fields as required.
- insertRow(Map<String, Object>, String) - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Insert one row into the channel, the row is represented using Map where the key is column name
and the value is a row of data.
- insertRows(Iterable<Map<String, Object>>, String) - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
Insert a batch of rows into the channel, each row is represented using Map where the key is
column name and the value is a row of data.
- InsertValidationResponse - Class in net.snowflake.ingest.streaming
-
- InsertValidationResponse() - Constructor for class net.snowflake.ingest.streaming.InsertValidationResponse
-
- InsertValidationResponse.InsertError - Class in net.snowflake.ingest.streaming
-
Wraps the row content and exception when there is a failure
- IO_TIME_CPU_RATIO - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- IO_TIME_CPU_RATIO_DEFAULT - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- isClosed() - Method in class net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestClientInternal
-
- isClosed() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
- isClosed() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestClient
-
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
- isComplete() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Indicates whether the was file completely processed successfully.
- isCompleteResult() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
False if the report is incomplete, i.e.
- isCompleteResult() - Method in class net.snowflake.ingest.connection.HistoryResponse
-
False if an event was missed between the supplied beginMark and the first event in this report
history.
- isEmpty() - Method in class net.snowflake.ingest.utils.RingBuffer
-
isEmpty - are there any items we can get from this queue?
- isNullOrEmpty(String) - Static method in class net.snowflake.ingest.utils.Utils
-
Utility function to check whether a string is null or empty
- isSuccess() - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- isTraceEnabled() - Method in class net.snowflake.ingest.utils.Logging
-
- isValid() - Method in interface net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel
-
- iterator() - Method in class net.snowflake.ingest.utils.RingBuffer
-
iterator - returns an iterator that allows you to view all elements in this queue This iterator
does NOT allow for remove()
- SCHEMA - Static variable in class net.snowflake.ingest.utils.Constants
-
- SCHEME - Static variable in class net.snowflake.ingest.utils.Constants
-
- SerializationResult(List<ChannelMetadata>, Map<String, RowBufferStats>, long, ByteArrayOutputStream, Pair<Long, Long>) - Constructor for class net.snowflake.ingest.streaming.internal.Flusher.SerializationResult
-
- serialize(List<ChannelData<VectorSchemaRoot>>, String) - Method in class net.snowflake.ingest.streaming.internal.ArrowFlusher
-
- serialize(List<ChannelData<T>>, String) - Method in interface net.snowflake.ingest.streaming.internal.Flusher
-
Serialize buffered rows into the underlying format.
- serialize(List<ChannelData<ParquetChunkData>>, String) - Method in class net.snowflake.ingest.streaming.internal.ParquetFlusher
-
- serialize(byte[], JsonGenerator, SerializerProvider) - Method in class net.snowflake.ingest.streaming.internal.serialization.ByteArraySerializer
-
- serialize(ZonedDateTime, JsonGenerator, SerializerProvider) - Method in class net.snowflake.ingest.streaming.internal.serialization.ZonedDateTimeSerializer
-
- ServiceResponseHandler - Class in net.snowflake.ingest.connection
-
This class handles taking the HttpResponses we've gotten back, and producing an appropriate
response object for usage
- ServiceResponseHandler() - Constructor for class net.snowflake.ingest.connection.ServiceResponseHandler
-
- ServiceResponseHandler.ApiName - Enum in net.snowflake.ingest.connection
-
Enums for Snowpipe REST API:
https://docs.snowflake.com/en/user-guide/data-load-snowpipe-rest-apis.html Used in
handleExceptionalStatus for logging purpose
- setAccount(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setAccount - set the account for the ingest manager and return this builder
- setAccount(String) - Method in class net.snowflake.ingest.utils.SnowflakeURL.SnowflakeURLBuilder
-
- setCode(String) - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- setComplete(Boolean) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Indicates whether the was file completely processed successfully.
- setCompleteResult(boolean) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
- setCompleteResult(Boolean) - Method in class net.snowflake.ingest.connection.HistoryResponse
-
False if an event was missed between the supplied beginMark and the first event in this report
history.
- setData(Object) - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- setDBName(String) - Method in class net.snowflake.ingest.streaming.OpenChannelRequest.OpenChannelRequestBuilder
-
- setDefaultTimezone(ZoneId) - Method in class net.snowflake.ingest.streaming.OpenChannelRequest.OpenChannelRequestBuilder
-
- setEndTimeExclusive(String) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.
- setErrorLimit(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of errors allowed in the file before it is considered failed (based on ON_ERROR copy
option).
- setErrorsSeen(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of errors seen in the file
- setException(SFException) - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Set the insert exception
- setExtraColNames(List<String>) - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Set the extra column names in the input row compared with the table schema
- setFileSize(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The size of the file as measured by the service
- setFirstError(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Error message for the first error encountered in this file.
- setFirstErrorCharacterPos(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Character position of the first error.
- setFirstErrorColumnName(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Column name where the first error occurred.
- setFirstErrorLineNum(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Line number of the first error.
- setHeaders(String) - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- setHostName(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
- setKeypair(KeyPair) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setKeypair - sets the RSA 2048 bit keypair we'll be using for token signing
- setLastInsertTime(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Time data from this file was last inserted into the table.
- setMessage(String) - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- setMissingNotNullColNames(List<String>) - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Set the missing non-nullable column names in the input row compared with the table schema
- setNextBeginMark(String) - Method in class net.snowflake.ingest.connection.HistoryResponse
-
beginMark to use on the next request to avoid seeing duplicate records.
- setOnErrorOption(OpenChannelRequest.OnErrorOption) - Method in class net.snowflake.ingest.streaming.OpenChannelRequest.OpenChannelRequestBuilder
-
- setParameterOverrides(Map<String, Object>) - Method in class net.snowflake.ingest.streaming.SnowflakeStreamingIngestClientFactory.Builder
-
- setPath(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The file path relative to the stage location.
- setPipe(String) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
fully qualified pipe name
- setPipe(String) - Method in class net.snowflake.ingest.connection.HistoryResponse
-
fully qualified pipe name
- setPipe(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setTable - sets the pipe which the SimpleIngestManager will be using
- setPort(int) - Method in class net.snowflake.ingest.utils.SnowflakeURL.SnowflakeURLBuilder
-
- setProperties(Properties) - Method in class net.snowflake.ingest.streaming.SnowflakeStreamingIngestClientFactory.Builder
-
- setRangeEndTime(String) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
lastInsertTime (timestamp in ISO-8601 format) of the latest entry in the files included in the
response.
- setRangeStartTime(String) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
lastInsertTime (timestamp in ISO-8601 format) of the oldest entry in the files included in the
response.
- setRowIndex(long) - Method in class net.snowflake.ingest.streaming.InsertValidationResponse.InsertError
-
Set the row index
- setRowsInserted(Long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of rows inserted into the target table from the file.
- setRowsParsed(long) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of rows parsed from the file.
- setSchemaName(String) - Method in class net.snowflake.ingest.streaming.OpenChannelRequest.OpenChannelRequestBuilder
-
- setSsl(boolean) - Method in class net.snowflake.ingest.utils.SnowflakeURL.SnowflakeURLBuilder
-
- setStageLocation(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Either the stage ID (internal stage) or the S3 bucket (external stage) defined in the pipe.
- setStartTimeInclusive(String) - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
startTimeInclusive (timestamp in ISO-8601 format) provided in the request.
- setStatistics(HistoryResponse.HistoryStats) - Method in class net.snowflake.ingest.connection.HistoryResponse
-
the statistics reported back by the service
- setStatus(IngestStatus) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Load status for the file: LOAD_IN_PROGRESS: Part of the file has been loaded into the table,
but the load process has not completed yet.
- setSuccess(boolean) - Method in class net.snowflake.ingest.connection.IngestResponseException.IngestExceptionBody
-
- setSystemError(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
General error describing why the file was not processed.
- setTableName(String) - Method in class net.snowflake.ingest.streaming.OpenChannelRequest.OpenChannelRequestBuilder
-
- setTimeReceived(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The time at which this file was enqueued by the service ISO 8601 UTC
- setupSchema(List<ColumnMetadata>) - Method in class net.snowflake.ingest.streaming.internal.ParquetRowBuffer
-
- setUrl(String) - Method in class net.snowflake.ingest.utils.SnowflakeURL.SnowflakeURLBuilder
-
- setUser(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setUser - sets the user who will be loading with the ingest manager
- setUserAgentSuffix(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
- SF_HEADER_AUTHORIZATION_TOKEN_TYPE - Static variable in class net.snowflake.ingest.connection.RequestBuilder
-
- SFException - Exception in net.snowflake.ingest.utils
-
Snowflake exception in the Ingest SDK
- SFException(Throwable, ErrorCode, Object...) - Constructor for exception net.snowflake.ingest.utils.SFException
-
Construct a Snowflake exception from a cause, an error code and message parameters
- SFException(ErrorCode, Object...) - Constructor for exception net.snowflake.ingest.utils.SFException
-
Construct a Snowflake exception from an error code and message parameters
- sha256Hash(byte[], int, int) - Static method in class net.snowflake.ingest.utils.Cryptor
-
Hashes input bytes using SHA-256.
- sha256Hash(byte[]) - Static method in class net.snowflake.ingest.utils.Cryptor
-
Hashes input bytes using SHA-256.
- sha256HashBase64(byte[]) - Static method in class net.snowflake.ingest.utils.Cryptor
-
Hashes input bytes using SHA-256 and converts hash into a string using Base64 encoding.
- showMemory() - Static method in class net.snowflake.ingest.utils.Utils
-
Util function to show memory usage info and debug memory issue in the SDK
- shutdownHttpConnectionManagerDaemonThread() - Static method in class net.snowflake.ingest.utils.HttpUtil
-
Shuts down the daemon thread.
- SimpleIngestManager - Class in net.snowflake.ingest
-
This class provides a basic, low-level abstraction over the Snowflake Ingest Service REST api
- SimpleIngestManager(String, String, String, KeyPair) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Deprecated.
- SimpleIngestManager(String, String, String, KeyPair, String, String, int) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Deprecated.
- SimpleIngestManager(String, String, String, PrivateKey) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Constructs a SimpleIngestManager for a given user in a specific account In addition, this also
takes takes the target table and source stage Finally, it also requires a valid private key
registered with Snowflake DB
- SimpleIngestManager(String, String, String, String, KeyPair, String) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Using this constructor for Builder pattern.
- SimpleIngestManager(String, String, String, PrivateKey, String, String, int) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Constructs a SimpleIngestManager for a given user in a specific account In addition, this also
takes takes the target table and source stage Finally, it also requires a valid private key
registered with Snowflake DB
- SimpleIngestManager(String, String, String, PrivateKey, String, String, int, String) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
- SimpleIngestManager.Builder - Class in net.snowflake.ingest
-
This Builder allows someone to configure a SimpleIngestManager prior to instantiating the
manager
- size() - Method in class net.snowflake.ingest.utils.RingBuffer
-
size - returns the number of occupied slots in this queue
- SnowflakeIngestBasicExample - Class in net.snowflake.ingest.example
-
This sample demonstrates how to make basic requests to the Snowflake Ingest service for Java.
- SnowflakeIngestBasicExample() - Constructor for class net.snowflake.ingest.example.SnowflakeIngestBasicExample
-
- SnowflakeStreamingIngestChannel - Interface in net.snowflake.ingest.streaming
-
A logical partition that represents a connection to a single Snowflake table, data will be
ingested into the channel, and then flush to Snowflake table periodically in the background.
- SnowflakeStreamingIngestClient - Interface in net.snowflake.ingest.streaming
-
A class that is the starting point for using the Streaming Ingest client APIs, a single client
maps to exactly one account in Snowflake; however, multiple clients can point to the same
account.
- SnowflakeStreamingIngestClientFactory - Class in net.snowflake.ingest.streaming
-
- SnowflakeStreamingIngestClientFactory() - Constructor for class net.snowflake.ingest.streaming.SnowflakeStreamingIngestClientFactory
-
- SnowflakeStreamingIngestClientFactory.Builder - Class in net.snowflake.ingest.streaming
-
- SnowflakeStreamingIngestClientInternal<T> - Class in net.snowflake.ingest.streaming.internal
-
The first version of implementation for SnowflakeStreamingIngestClient.
- SnowflakeStreamingIngestClientInternal(String, SnowflakeURL, Properties, Map<String, Object>) - Constructor for class net.snowflake.ingest.streaming.internal.SnowflakeStreamingIngestClientInternal
-
Default Constructor
- SnowflakeStreamingIngestExample - Class in net.snowflake.ingest.streaming.example
-
Example on how to use the Streaming Ingest client APIs.
- SnowflakeStreamingIngestExample() - Constructor for class net.snowflake.ingest.streaming.example.SnowflakeStreamingIngestExample
-
- SnowflakeURL - Class in net.snowflake.ingest.utils
-
Snowflake URL Object https://account.region.snowflakecomputing.com:443
- SnowflakeURL(String) - Constructor for class net.snowflake.ingest.utils.SnowflakeURL
-
Construct a SnowflakeURL object from a String
- SnowflakeURL.SnowflakeURLBuilder - Class in net.snowflake.ingest.utils
-
- SnowflakeURLBuilder() - Constructor for class net.snowflake.ingest.utils.SnowflakeURL.SnowflakeURLBuilder
-
- SNOWPIPE_STREAMING_JMX_METRIC_PREFIX - Static variable in class net.snowflake.ingest.utils.Constants
-
- SNOWPIPE_STREAMING_JVM_MEMORY_AND_THREAD_METRICS_REGISTRY - Static variable in class net.snowflake.ingest.utils.Constants
-
- SNOWPIPE_STREAMING_METRICS_DEFAULT - Static variable in class net.snowflake.ingest.utils.ParameterProvider
-
- SNOWPIPE_STREAMING_SHARED_METRICS_REGISTRY - Static variable in class net.snowflake.ingest.utils.Constants
-
- SSL - Static variable in class net.snowflake.ingest.utils.Constants
-
- sslEnabled() - Method in class net.snowflake.ingest.utils.SnowflakeURL
-
- StagedFileWrapper - Class in net.snowflake.ingest.utils
-
RemoteFileWrapper for a file path in the target stage as well as an optional size
- StagedFileWrapper(String, Long) - Constructor for class net.snowflake.ingest.utils.StagedFileWrapper
-
StagedFileWrapper - just wraps the path of a file and its size for serialization
- StagedFileWrapper(String) - Constructor for class net.snowflake.ingest.utils.StagedFileWrapper
-
StagedFileWrapper - just setting the path without a size
- STREAMING_INGEST_TELEMETRY_UPLOAD_INTERVAL_IN_SEC - Static variable in class net.snowflake.ingest.utils.Constants
-
- StreamingIngestUtils - Class in net.snowflake.ingest.streaming.internal
-
- StreamingIngestUtils() - Constructor for class net.snowflake.ingest.streaming.internal.StreamingIngestUtils
-
- valueOf(String) - Static method in enum net.snowflake.ingest.connection.IngestStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.snowflake.ingest.connection.ServiceResponseHandler.ApiName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.snowflake.ingest.streaming.OpenChannelRequest.OnErrorOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.snowflake.ingest.utils.Constants.BdecVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.snowflake.ingest.utils.Constants.WriteMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.snowflake.ingest.utils.ErrorCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.snowflake.ingest.connection.IngestStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.snowflake.ingest.connection.ServiceResponseHandler.ApiName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.snowflake.ingest.streaming.OpenChannelRequest.OnErrorOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.snowflake.ingest.utils.Constants.BdecVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.snowflake.ingest.utils.Constants.WriteMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.snowflake.ingest.utils.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.