Class OrderBookSnapshot
java.lang.Object
com.google.flatbuffers.Table
express.mvp.myra.codec.bench.codecs.flatbuffers.OrderBookSnapshot
public final class OrderBookSnapshot
extends com.google.flatbuffers.Table
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddAsks(com.google.flatbuffers.FlatBufferBuilder builder, int asksOffset) static voidaddBids(com.google.flatbuffers.FlatBufferBuilder builder, int bidsOffset) static voidaddInstrumentId(com.google.flatbuffers.FlatBufferBuilder builder, int instrumentId) static voidaddIsTrading(com.google.flatbuffers.FlatBufferBuilder builder, boolean isTrading) static voidaddLastTrade(com.google.flatbuffers.FlatBufferBuilder builder, int lastTradeOffset) static voidaddMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int metadataOffset) static voidaddSequence(com.google.flatbuffers.FlatBufferBuilder builder, long sequence) static voidaddSymbol(com.google.flatbuffers.FlatBufferBuilder builder, int symbolOffset) static voidaddTimestamp(com.google.flatbuffers.FlatBufferBuilder builder, int timestampOffset) static voidaddTradingStatus(com.google.flatbuffers.FlatBufferBuilder builder, int tradingStatusOffset) static voidaddVenue(com.google.flatbuffers.FlatBufferBuilder builder, int venueOffset) asks(int j) intasksVector(Level.Vector obj) bids(int j) intbidsVector(Level.Vector obj) static intcreateAsksVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) static intcreateBidsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) static intcreateMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) static intcreateOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder, int timestampOffset, int venueOffset, int symbolOffset, int instrumentId, long sequence, boolean isTrading, int tradingStatusOffset, int lastTradeOffset, int bidsOffset, int asksOffset, int metadataOffset) static intendOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder) static voidfinishOrderBookSnapshotBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) static voidfinishSizePrefixedOrderBookSnapshotBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) static OrderBookSnapshotstatic OrderBookSnapshotintbooleanmetadata(int j) metadata(MetadataEntry obj, int j) intlongsequence()static voidstartAsksVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartBidsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder) symbol()static voidvenue()Methods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
OrderBookSnapshot
public OrderBookSnapshot()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsOrderBookSnapshot
-
getRootAsOrderBookSnapshot
-
__init
-
__assign
-
timestamp
-
timestampAsByteBuffer
-
timestampInByteBuffer
-
venue
-
venueAsByteBuffer
-
venueInByteBuffer
-
symbol
-
symbolAsByteBuffer
-
symbolInByteBuffer
-
instrumentId
public int instrumentId() -
sequence
public long sequence() -
isTrading
public boolean isTrading() -
tradingStatus
-
tradingStatusAsByteBuffer
-
tradingStatusInByteBuffer
-
lastTrade
-
lastTrade
-
bids
-
bids
-
bidsLength
public int bidsLength() -
bidsVector
-
bidsVector
-
asks
-
asks
-
asksLength
public int asksLength() -
asksVector
-
asksVector
-
metadata
-
metadata
-
metadataLength
public int metadataLength() -
metadataVector
-
metadataVector
-
createOrderBookSnapshot
public static int createOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder, int timestampOffset, int venueOffset, int symbolOffset, int instrumentId, long sequence, boolean isTrading, int tradingStatusOffset, int lastTradeOffset, int bidsOffset, int asksOffset, int metadataOffset) -
startOrderBookSnapshot
public static void startOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder) -
addTimestamp
public static void addTimestamp(com.google.flatbuffers.FlatBufferBuilder builder, int timestampOffset) -
addVenue
public static void addVenue(com.google.flatbuffers.FlatBufferBuilder builder, int venueOffset) -
addSymbol
public static void addSymbol(com.google.flatbuffers.FlatBufferBuilder builder, int symbolOffset) -
addInstrumentId
public static void addInstrumentId(com.google.flatbuffers.FlatBufferBuilder builder, int instrumentId) -
addSequence
public static void addSequence(com.google.flatbuffers.FlatBufferBuilder builder, long sequence) -
addIsTrading
public static void addIsTrading(com.google.flatbuffers.FlatBufferBuilder builder, boolean isTrading) -
addTradingStatus
public static void addTradingStatus(com.google.flatbuffers.FlatBufferBuilder builder, int tradingStatusOffset) -
addLastTrade
public static void addLastTrade(com.google.flatbuffers.FlatBufferBuilder builder, int lastTradeOffset) -
addBids
public static void addBids(com.google.flatbuffers.FlatBufferBuilder builder, int bidsOffset) -
createBidsVector
public static int createBidsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) -
startBidsVector
public static void startBidsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) -
addAsks
public static void addAsks(com.google.flatbuffers.FlatBufferBuilder builder, int asksOffset) -
createAsksVector
public static int createAsksVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) -
startAsksVector
public static void startAsksVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) -
addMetadata
public static void addMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int metadataOffset) -
createMetadataVector
public static int createMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) -
startMetadataVector
public static void startMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) -
endOrderBookSnapshot
public static int endOrderBookSnapshot(com.google.flatbuffers.FlatBufferBuilder builder) -
finishOrderBookSnapshotBuffer
public static void finishOrderBookSnapshotBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) -
finishSizePrefixedOrderBookSnapshotBuffer
public static void finishSizePrefixedOrderBookSnapshotBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-