public final class Decimal
extends com.google.flatbuffers.Table
| Constructor and Description |
|---|
Decimal() |
| Modifier and Type | Method and Description |
|---|---|
Decimal |
__init(int _i,
ByteBuffer _bb) |
static void |
addPrecision(com.google.flatbuffers.FlatBufferBuilder builder,
int precision) |
static void |
addScale(com.google.flatbuffers.FlatBufferBuilder builder,
int scale) |
static int |
createDecimal(com.google.flatbuffers.FlatBufferBuilder builder,
int precision,
int scale) |
static int |
endDecimal(com.google.flatbuffers.FlatBufferBuilder builder) |
static Decimal |
getRootAsDecimal(ByteBuffer _bb) |
static Decimal |
getRootAsDecimal(ByteBuffer _bb,
Decimal obj) |
int |
precision()
Total number of decimal digits
|
int |
scale()
Number of digits after the decimal point "."
|
static void |
startDecimal(com.google.flatbuffers.FlatBufferBuilder builder) |
public static Decimal getRootAsDecimal(ByteBuffer _bb)
public static Decimal getRootAsDecimal(ByteBuffer _bb, Decimal obj)
public Decimal __init(int _i, ByteBuffer _bb)
public int precision()
public int scale()
public static int createDecimal(com.google.flatbuffers.FlatBufferBuilder builder,
int precision,
int scale)
public static void startDecimal(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addPrecision(com.google.flatbuffers.FlatBufferBuilder builder,
int precision)
public static void addScale(com.google.flatbuffers.FlatBufferBuilder builder,
int scale)
public static int endDecimal(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2017 The Apache Software Foundation. All rights reserved.