- 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>) - Method in class net.snowflake.ingest.connection.RequestBuilder
-
generateInsertRequest - given a table, stage and list of files,
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
- 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
- getCapacity() - Method in class net.snowflake.ingest.utils.RingBuffer
-
getCapacity - gives back the capacity of this buffer
- getConnection(String, String, String, String, int) - Static method in class net.snowflake.ingest.example.IngestExampleHelper
-
- getEndTimeExclusive() - Method in class net.snowflake.ingest.connection.HistoryRangeResponse
-
endTimeExclusive (timestamp in ISO-8601 format) provided in the request.
- 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).
- getErrorsSeen() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
Number of errors seen in the file
- getFileSize() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The size of the file as measured by the service
- 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.
- getHistory(UUID, Integer, String) - Method in class net.snowflake.ingest.SimpleIngestManager
-
Pings the service to see the current ingest history for this table
- getHistory(UUID) - 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
- getHttpClient() - Static method in class net.snowflake.ingest.utils.HttpUtil
-
- getId() - Method in enum net.snowflake.ingest.connection.IngestStatus
-
id of the IngestStatus object
- 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
- getNextBeginMark() - Method in class net.snowflake.ingest.connection.HistoryResponse
-
beginMark to use on the next request to avoid seeing duplicate records.
- 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
- 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.
- 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
-
- 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.
- getSize() - Method in class net.snowflake.ingest.utils.StagedFileWrapper
-
getSize - get the size of this file
- 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.
- getTimeReceived() - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
The time at which this file was enqueued by the service ISO 8601 UTC
- 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
- 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
-
- setAccount(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setAccount - set the account for the ingest manager and return this builder
- 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.
- 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
- 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.
- 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.
- setNextBeginMark(String) - Method in class net.snowflake.ingest.connection.HistoryResponse
-
beginMark to use on the next request to avoid seeing duplicate records.
- 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
- 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.
- 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.
- 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.
- setSystemError(String) - Method in class net.snowflake.ingest.connection.HistoryResponse.FileEntry
-
General error describing why the file was not processed.
- 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
- setUser(String) - Method in class net.snowflake.ingest.SimpleIngestManager.Builder
-
setUser - sets the user who will be loading with the ingest manager
- 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.
- 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, 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
Note: this method only takes in account parameter and derive the hostname,
i.e.
- SimpleIngestManager(String, String, String, KeyPair, String, String, int) - Constructor for class net.snowflake.ingest.SimpleIngestManager
-
Deprecated.
- 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.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
-
- 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