public class ExternalFrameUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
EXPECTED_BOOL
Hints for expected types in order to improve performance network communication.
|
static byte |
EXPECTED_BYTE |
static byte |
EXPECTED_CHAR |
static byte |
EXPECTED_DOUBLE |
static byte |
EXPECTED_FLOAT |
static byte |
EXPECTED_INT |
static byte |
EXPECTED_LONG |
static byte |
EXPECTED_SHORT |
static byte |
EXPECTED_STRING |
static byte |
EXPECTED_TIMESTAMP |
Constructor and Description |
---|
ExternalFrameUtils() |
Modifier and Type | Method and Description |
---|---|
static java.nio.channels.ByteChannel |
getConnection(java.lang.String ipPort) |
static java.nio.channels.ByteChannel |
getConnection(java.lang.String h2oNodeHostname,
int h2oNodeApiPort)
Get connection to a specific h2o node.
|
static boolean |
isNA(AutoBuffer ab,
boolean data) |
static boolean |
isNA(AutoBuffer ab,
long data) |
static boolean |
isNA(AutoBuffer ab,
java.lang.String data) |
static boolean |
isNA(AutoBuffer ab,
java.sql.Timestamp data) |
static boolean |
isNA(double data) |
static byte[] |
prepareExpectedTypes(java.lang.Class[] javaClasses) |
static byte[] |
vecTypesFromExpectedTypes(byte[] expectedTypes) |
public static final byte EXPECTED_BOOL
public static final byte EXPECTED_BYTE
public static final byte EXPECTED_CHAR
public static final byte EXPECTED_SHORT
public static final byte EXPECTED_INT
public static final byte EXPECTED_FLOAT
public static final byte EXPECTED_LONG
public static final byte EXPECTED_DOUBLE
public static final byte EXPECTED_STRING
public static final byte EXPECTED_TIMESTAMP
public static java.nio.channels.ByteChannel getConnection(java.lang.String h2oNodeHostname, int h2oNodeApiPort) throws java.io.IOException
java.io.IOException
public static java.nio.channels.ByteChannel getConnection(java.lang.String ipPort) throws java.io.IOException
java.io.IOException
public static byte[] vecTypesFromExpectedTypes(byte[] expectedTypes)
public static byte[] prepareExpectedTypes(java.lang.Class[] javaClasses)
public static boolean isNA(AutoBuffer ab, boolean data)
public static boolean isNA(AutoBuffer ab, long data)
public static boolean isNA(double data)
public static boolean isNA(AutoBuffer ab, java.sql.Timestamp data)
public static boolean isNA(AutoBuffer ab, java.lang.String data)