public class BooleanDatum extends Datum
Modifier and Type | Field and Description |
---|---|
static Datum[][] |
AND_LOGIC |
static BooleanDatum |
FALSE |
static byte[] |
FALSE_BYTES |
static int |
FALSE_INT |
static String |
FALSE_STRING |
static Datum[][] |
OR_LOGIC |
static Datum[] |
THREE_VALUES
0 - UNKNOWN, 1 - TRUE, 2 - FALSE
|
static BooleanDatum |
TRUE |
static byte[] |
TRUE_BYTES |
static int |
TRUE_INT |
static String |
TRUE_STRING |
static int |
UNKNOWN_INT |
Modifier | Constructor and Description |
---|---|
protected |
BooleanDatum(boolean val) |
protected |
BooleanDatum(byte byteVal) |
protected |
BooleanDatum(byte[] bytes) |
protected |
BooleanDatum(int byteVal) |
Modifier and Type | Method and Description |
---|---|
Datum |
and(Datum datum) |
boolean |
asBool() |
byte |
asByte() |
byte[] |
asByteArray() |
char |
asChar() |
String |
asChars() |
float |
asFloat4() |
double |
asFloat8() |
short |
asInt2() |
int |
asInt4() |
long |
asInt8() |
int |
compareTo(Datum datum) |
boolean |
equals(Object obj) |
BooleanDatum |
equalsTo(Datum datum) |
int |
hashCode() |
Datum |
or(Datum datum) |
int |
size() |
asTextBytes, divide, greaterThan, greaterThanEqual, isNull, isNumber, isNumeric, isReal, isTrue, lessThan, lessThanEqual, minus, modular, multiply, notEqualsTo, plus, toJson, toString, type
public static final String TRUE_STRING
public static final String FALSE_STRING
public static final BooleanDatum TRUE
public static final BooleanDatum FALSE
public static final int UNKNOWN_INT
public static final int TRUE_INT
public static final int FALSE_INT
public static final byte[] TRUE_BYTES
public static final byte[] FALSE_BYTES
public static final Datum[] THREE_VALUES
public static final Datum[][] AND_LOGIC
public static final Datum[][] OR_LOGIC
protected BooleanDatum(boolean val)
protected BooleanDatum(byte byteVal)
protected BooleanDatum(int byteVal)
protected BooleanDatum(byte[] bytes)
public byte[] asByteArray()
asByteArray
in class Datum
public BooleanDatum equalsTo(Datum datum)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.