public class ExternalFrameUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int[] |
EMPTY_ARI |
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 |
static byte |
EXPECTED_VECTOR |
static boolean |
VECTOR_IS_DENSE |
static boolean |
VECTOR_IS_SPARSE
Meta Information used to specify whether we should expect sparse or dense vector
|
Constructor and Description |
---|
ExternalFrameUtils() |
Modifier and Type | Method and Description |
---|---|
static java.nio.channels.ByteChannel |
getConnection(java.lang.String h2oNodeHostname,
int h2oNodeApiPort,
short nodeTimeStamp)
Get connection to a specific h2o node.
|
static java.nio.channels.ByteChannel |
getConnection(java.lang.String ipPort,
short nodeTimeStamp) |
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[] |
vecTypesFromExpectedTypes(byte[] expectedTypes,
int[] vecElemSizes) |
static void |
writeToChannel(AutoBuffer ab,
java.nio.channels.ByteChannel channel) |
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 final byte EXPECTED_VECTOR
public static final int[] EMPTY_ARI
public static final boolean VECTOR_IS_SPARSE
public static final boolean VECTOR_IS_DENSE
public static java.nio.channels.ByteChannel getConnection(java.lang.String h2oNodeHostname, int h2oNodeApiPort, short nodeTimeStamp) throws java.io.IOException
java.io.IOException
public static java.nio.channels.ByteChannel getConnection(java.lang.String ipPort, short nodeTimeStamp) throws java.io.IOException
java.io.IOException
public static byte[] vecTypesFromExpectedTypes(byte[] expectedTypes, int[] vecElemSizes)
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)
public static void writeToChannel(AutoBuffer ab, java.nio.channels.ByteChannel channel) throws java.io.IOException
java.io.IOException