org.apache.hyracks.data.std.api.IComparable
, org.apache.hyracks.data.std.api.IHashable
, org.apache.hyracks.data.std.api.INumeric
, org.apache.hyracks.data.std.api.IPointable
, org.apache.hyracks.data.std.api.IValueReference
public class XSDecimalPointable
extends org.apache.hyracks.data.std.api.AbstractPointable
implements org.apache.hyracks.data.std.api.IHashable, org.apache.hyracks.data.std.api.IComparable, org.apache.hyracks.data.std.api.INumeric
Modifier and Type | Field | Description |
---|---|---|
static org.apache.hyracks.data.std.api.IPointableFactory |
FACTORY |
|
static int |
PRECISION |
|
static org.apache.hyracks.api.dataflow.value.ITypeTraits |
TYPE_TRAITS |
Constructor | Description |
---|---|
XSDecimalPointable() |
Modifier and Type | Method | Description |
---|---|---|
byte |
byteValue() |
|
int |
compareTo(byte[] bytes,
int start,
int length) |
|
int |
compareTo(org.apache.hyracks.data.std.api.IPointable pointer) |
|
double |
doubleValue() |
|
float |
floatValue() |
|
long |
getBeforeDecimalPlace() |
|
static long |
getBeforeDecimalPlace(byte[] bytes,
int start) |
|
long |
getBeforeDecimalPlaceRounded() |
|
static long |
getBeforeDecimalPlaceRounded(byte[] bytes,
int start) |
|
byte |
getDecimalPlace() |
|
static byte |
getDecimalPlace(byte[] bytes,
int start) |
|
long |
getDecimalValue() |
|
static long |
getDecimalValue(byte[] bytes,
int start) |
|
byte |
getDigitCount() |
|
static byte |
getDigitCount(byte[] bytes,
int start) |
|
int |
hash() |
|
int |
intValue() |
|
long |
longValue() |
|
void |
normalize() |
|
static void |
normalize(byte[] bytes,
int start) |
|
void |
setDecimal(long value,
byte decimalPlace) |
|
short |
shortValue() |
public static final int PRECISION
public static final org.apache.hyracks.api.dataflow.value.ITypeTraits TYPE_TRAITS
public static final org.apache.hyracks.data.std.api.IPointableFactory FACTORY
public int compareTo(byte[] bytes, int start, int length)
compareTo
in interface org.apache.hyracks.data.std.api.IComparable
public int compareTo(org.apache.hyracks.data.std.api.IPointable pointer)
compareTo
in interface org.apache.hyracks.data.std.api.IComparable
public void setDecimal(long value, byte decimalPlace)
public void normalize()
public static void normalize(byte[] bytes, int start)
public byte getDecimalPlace()
public static byte getDecimalPlace(byte[] bytes, int start)
public long getDecimalValue()
public static long getDecimalValue(byte[] bytes, int start)
public int hash()
hash
in interface org.apache.hyracks.data.std.api.IHashable
public long getBeforeDecimalPlaceRounded()
public static long getBeforeDecimalPlaceRounded(byte[] bytes, int start)
public long getBeforeDecimalPlace()
public static long getBeforeDecimalPlace(byte[] bytes, int start)
public byte getDigitCount()
public static byte getDigitCount(byte[] bytes, int start)
public byte byteValue()
byteValue
in interface org.apache.hyracks.data.std.api.INumeric
public short shortValue()
shortValue
in interface org.apache.hyracks.data.std.api.INumeric
public int intValue()
intValue
in interface org.apache.hyracks.data.std.api.INumeric
public long longValue()
longValue
in interface org.apache.hyracks.data.std.api.INumeric
public float floatValue()
floatValue
in interface org.apache.hyracks.data.std.api.INumeric
public double doubleValue()
doubleValue
in interface org.apache.hyracks.data.std.api.INumeric
Copyright © 2019 Apache Software Foundation. All rights reserved.