public class BulkLoadAckClientParameters extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_PACKET_SIZE
Size of a file packet size for COPY command.
|
static int |
MAX_PACKET_SIZE
Maximum packet size.
|
static int |
MIN_PACKET_SIZE
Minimum packet size.
|
| Constructor and Description |
|---|
BulkLoadAckClientParameters(@NotNull String locFileName,
int packetSize)
Creates a bulk load parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidPacketSize(int sz)
Checks if packet size value is valid.
|
@NotNull String |
localFileName()
Returns the local name of file to send.
|
int |
packetSize()
Returns the packet size.
|
static String |
packetSizeErrorMesssage(int size)
Creates proper packet size error message if
isValidPacketSize(int) check has failed. |
public static final int MIN_PACKET_SIZE
public static final int MAX_PACKET_SIZE
public static final int DFLT_PACKET_SIZE
public BulkLoadAckClientParameters(@NotNull
@NotNull String locFileName,
int packetSize)
locFileName - File name to send from client to server.packetSize - Packet size (Number of bytes in a portion of a file to send in one JDBC request/response).@NotNull public @NotNull String localFileName()
public int packetSize()
public static boolean isValidPacketSize(int sz)
sz - The packet size to check.IllegalArgumentException - if packet size is invalid.public static String packetSizeErrorMesssage(int size)
isValidPacketSize(int) check has failed.size - The packet size.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020