| Package | Description |
|---|---|
| com.ociweb.pronghorn.pipe | |
| com.ociweb.pronghorn.pipe.util.build | |
| com.ociweb.pronghorn.util | |
| com.ociweb.pronghorn.util.parse |
| Modifier and Type | Class and Description |
|---|---|
class |
DataInputBlobReader<S extends MessageSchema<S>> |
class |
DataOutputBlobWriter<S extends MessageSchema<S>> |
class |
LittleEndianDataInputBlobReader<S extends MessageSchema<S>> |
class |
LittleEndianDataOutputBlobWriter<S extends MessageSchema<S>> |
class |
MessageSchema<T extends MessageSchema<T>> |
class |
Pipe<T extends MessageSchema<T>>
Schema aware data pipe implemented as an internal pair of ring buffers.
|
class |
PipeConfig<T extends MessageSchema<T>> |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageSchemaDynamic |
class |
RawDataSchema |
class |
TestDataSchema |
| Modifier and Type | Method and Description |
|---|---|
static <S extends MessageSchema<S>> |
Pipe.abandonWrites(Pipe<S> pipe)
Abandon the fragment written so far so a different fragment can be written or
non at all.
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobHeadPosition(Pipe<S> pipe,
int inc)
Direct access to add and get Blob head position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobWorkingHeadPosition(Pipe<S> pipe,
int inc)
Direct access method for incrementing blob working head position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetBlobWorkingTailPosition(Pipe<S> pipe,
int inc)
Direct access to add and get working tail position
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetWorkingHead(Pipe<S> pipe,
int inc)
Directly increment the working head position for the slab
|
static <S extends MessageSchema<S>> |
Pipe.addAndGetWorkingTail(Pipe<S> pipe,
int inc)
Direct access to increment working tail position
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(char[] source,
int sourceIdx,
int sourceCharCount,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(CharSequence source,
int sourceIdx,
int sourceCharCount,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.addASCII(CharSequence source,
Pipe<S> rb)
Writes ASCII to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
int sourceIdx,
int sourceLen,
int sourceMask,
Pipe<S> pipe)
Writes a a byte array to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Writes a byte array to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArray(byte[] source,
Pipe<S> pipe)
Writes a byte array to the specified pipe
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.addByteArray(Pipe<S> source,
Pipe<T> target)
directly copy byte array field from the source pipe to the target pipe
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.addByteArray(Pipe<S> source,
Pipe<T> target)
directly copy byte array field from the source pipe to the target pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteArrayWithMask(Pipe<S> outputRing,
int mask,
int len,
byte[] data,
int offset)
Add byte array to target pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteBuffer(ByteBuffer source,
int length,
Pipe<S> pipe)
add byte buffer as a field in pipe
|
static <S extends MessageSchema<S>> |
Pipe.addByteBuffer(ByteBuffer source,
Pipe<S> pipe)
add byte buffer as a field in pipe
|
static <S extends MessageSchema<S>> |
Pipe.addBytePosAndLen(Pipe<S> pipe,
int position,
int length)
Writes position and length of byte to add to the pipe
|
static <S extends MessageSchema<S>> |
Pipe.addBytePosAndLenSpecial(Pipe<S> targetOutput,
int startBytePos,
int bytesLength)
Writes the position and len for a var byte field to the pipe but it does not move the
byte count forward, that is assumed to already be done.
|
<S extends MessageSchema<S>> |
PipeConfigManager.addConfig(int minimumFragmentsOnPipe,
int maximumLengthOfVariableLengthFields,
Class<S> clazz) |
<S extends MessageSchema<S>> |
PipeConfigManager.addConfig(PipeConfig<S> newConfig) |
static <S extends MessageSchema<S>> |
Pipe.addDecimal(int exponent,
long mantissa,
Pipe<S> pipe)
add Decimal value to pipe
|
static <S extends MessageSchema<S>> |
Pipe.addDecimalAsASCII(int readDecimalExponent,
long readDecimalMantissa,
Pipe<S> outputRing)
Writes decimal as ASCII to specified Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addIntAsASCII(Pipe<S> output,
int value)
Writes in an int as an ASCII character to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addIntValue(int value,
Pipe<S> pipe)
Writes an int value to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsASCII(Pipe<S> output,
long value)
Writes in a long as an ASCII character to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsUTF8(Pipe<S> digitBuffer,
int length)
Writes long as UTF8 with specified length to Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongAsUTF8(Pipe<S> digitBuffer,
long length)
Writes long as UTF8 with specified length to named Pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongValue(int[] buffer,
int mask,
Pipe.PaddedLong headCache,
long value)
Writes long value to the specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addLongValue(long value,
Pipe<S> pipe)
Writes long value to the specified pipe
|
static <S extends MessageSchema<S>> |
PipeMonitor.addMonitor(Pipe<S> sourcePipe) |
static <S extends MessageSchema<S>> |
Pipe.addMsgIdx(Pipe<S> pipe,
int msgIdx)
Called to start a new message when using the low level API
|
static <S extends MessageSchema<S>> |
Pipe.addNullByteArray(Pipe<S> pipe)
add a null byte array in this position of the target pipe
|
static <S extends MessageSchema<S>> |
Pipe.addRationalAsASCII(Pipe<S> pipe,
long numerator,
long denominator)
Write ascii text for rational value
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(char[] source,
int sourceCharCount,
Pipe<S> rb)
Writes array of UTF8 characters to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(CharSequence source,
int sourceCharCount,
Pipe<S> pipe)
Writes UTF8 characters to specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.addUTF8(CharSequence source,
Pipe<S> rb)
Writes UTF8 characters to specified pipe
|
static <S extends MessageSchema> |
Pipe.addValue(int[] buffer,
int mask,
Pipe.PaddedLong headCache,
int value1,
int value2,
int value3)
add 3 integer values in a single call
|
static <S extends MessageSchema<S>> |
Pipe.appendFragment(Pipe<S> input,
Appendable target,
int fragIdx)
Debug write of this fragment to the target appendable
|
static <S extends MessageSchema<S>> |
Pipe.batchAllReleases(Pipe<S> pipe)
sets maximum batch count for releases.
|
static <S extends MessageSchema<S>> |
Pipe.batchedReleasePublish(Pipe<S> pipe,
int blobTail,
long slabTail)
If batch is not yet full this new publish is stored else this is added and released with the rest
|
static <S extends MessageSchema<S>> |
Pipe.beginNewPublishBatch(Pipe<S> pipe)
start new batch for publish
|
static <S extends MessageSchema<S>> |
Pipe.beginNewReleaseBatch(Pipe<S> pipe)
start new batch for release
|
static <S extends MessageSchema<S>> |
Pipe.blob(Pipe<S> pipe)
Direct access to blob backing array.
|
static <S extends MessageSchema<S>> |
Pipe.blobIndexBasePosition(Pipe<S> pipe)
Base byte position where the index begins.
|
static <S extends MessageSchema<S>> |
Pipe.blobMask(Pipe<S> pipe)
Direct access to the mask for looping the blob.
|
static <S extends MessageSchema<S>> |
Pipe.buildPipes(int count,
PipeConfig<S> commonConfig)
Build and array of Pipe instances from a single PipeConfig
|
static <S extends MessageSchema<S>> |
Pipe.byteBackingArray(int meta,
Pipe<S> pipe)
Given the meta data for the var length field return the backing array.
|
static <S extends MessageSchema<S>> |
Pipe.byteBuffer(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.bytePosition(int meta,
Pipe<S> pipe,
int len)
convert meta and len field data into a specific position field.
|
static <S extends MessageSchema<S>> |
Pipe.bytesOfContent(Pipe<S> ringBuffer)
All bytes even those not yet committed.
|
static <S extends MessageSchema<S>> |
Pipe.bytesReadBase(Pipe<S> pipe)
get base position based on the var length data written.
|
static <S extends MessageSchema<S>> |
Pipe.bytesWriteBase(Pipe<S> pipe)
base position to track where the var length
|
static <S extends MessageSchema<S>> |
Pipe.cancelReplay(Pipe<S> pipe)
Cancels replay of specified ringBuffer
|
protected static <T extends MessageSchema<T>> |
DataOutputBlobWriter.checkLimit(DataOutputBlobWriter<T> that,
int x)
Internal function only used when dependent classes want to add bounds check per method call.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.closeHighLevelField(DataOutputBlobWriter<T> writer,
int targetFieldLoc) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.closeLowLevelField(DataOutputBlobWriter<T> writer)
Close field and record its length as the number of bytes consumed by the BlobWriter
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.closeLowLeveLField(DataOutputBlobWriter<T> writer,
int len) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.closeLowLevelMaxVarLenField(DataOutputBlobWriter<T> writer)
Ignore the length of this field and close it consuming all the available blob space for this field.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.commitBackData(DataOutputBlobWriter<T> writer,
int structId) |
static <S extends MessageSchema<S>> |
Pipe.computeCountOfBytesConsumed(Pipe<S> pipe)
Total count of bytes consumed since start of this fragment
|
static <S extends MessageSchema<S>> |
Pipe.computeMaxBatchSize(Pipe<S> pipe)
maximum batch size based on the Pipe configuration
|
static <S extends MessageSchema<S>> |
Pipe.computeMaxBatchSize(Pipe<S> pipe,
int mustFit)
maximum batch size based on pipe and must fit batches count
|
static <S extends MessageSchema<S>> |
Pipe.computeRateLimitConsumerDelay(Pipe<S> pipe)
Returns nano-second count of how much time should pass before consuming more data
from this pipe.
|
static <S extends MessageSchema<S>> |
PipeRegulator.computeRateLimitDelay(Pipe<S> pipe,
long position,
PipeRegulator regulator) |
static <S extends MessageSchema<S>> |
Pipe.computeRateLimitProducerDelay(Pipe<S> pipe)
Returns nano-second count of how much time should pass before producing more data
into this pipe.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelRead(Pipe<S> pipe,
long size)
Confirm low level read of message of this size, Must be called after read to move cursor forward for next read.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWrite(Pipe<S> output)
Confirm low level write, Must be called after every fragment write to move cursor to next fragment to write
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWrite(Pipe<S> output,
int size)
Confirm low level write of fragment of the provided size.
|
static <S extends MessageSchema<S>> |
Pipe.confirmLowLevelWriteUnchecked(Pipe<S> output,
int size)
Method used for moving more than one fragment at a time.
|
static <S extends MessageSchema<S>> |
Pipe.contentRemaining(Pipe<S> pipe)
Content remaining on Pipe to be consumed.
|
static <S extends MessageSchema<S>> |
Pipe.convertToPosition(int meta,
Pipe<S> pipe)
convert meta field data into a specific position field.
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(char[] source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Copy ascii chars as bytes into a var field in the pipe
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(CharSequence source,
int sourceIdx,
int sourceLen,
Pipe<S> pipe)
Add these chars as ASCII values to output pipe
|
static <S extends MessageSchema<S>> |
Pipe.copyASCIIToBytes(CharSequence source,
Pipe<S> pipe)
copy ASCII to bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyByteBuffer(ByteBuffer source,
int length,
Pipe<S> pipe)
copy ByteBuffer into pipe as a field.
|
static <S extends MessageSchema<S>> |
Pipe.copyFragment(Pipe<S> source,
Pipe<S> target)
Returns the slab size of this copied fragment.
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(char[] source,
int sourceOffset,
int sourceCharCount,
Pipe<S> pipe)
Copy chars to UTF8 encoded bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(char[] source,
int sourceCharCount,
Pipe<S> pipe)
Copy chars to UTF8 encoded bytes
|
static <S extends MessageSchema<S>> |
Pipe.copyUTF8ToByte(CharSequence source,
int sourceOffset,
int sourceCharCount,
Pipe<S> pipe)
Copy CharSequence to bytes field in the pipe using UTF8 encoding.
|
static <S extends MessageSchema<S>> |
Pipe.decBatchPublish(Pipe<S> pipe)
decrement batch publish count down
|
static <S extends MessageSchema<S>> |
Pipe.decBatchRelease(Pipe<S> pipe)
decrement batch release count down
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.encodeAsUTF8(DataOutputBlobWriter<T> writer,
CharSequence s) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.encodeAsUTF8(DataOutputBlobWriter<T> writer,
CharSequence s,
int position,
int length) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.encodeAsUTF8(DataOutputBlobWriter<T> writer,
CharSequence s,
int sPos,
int sLen,
int mask,
byte[] localBuf,
int pos) |
static <S extends MessageSchema<S>> |
Pipe.encodeSingleChar(int c,
byte[] buffer,
int mask,
int pos)
UTF8 Encode single char to bytes
|
<S extends MessageSchema<S>> |
PipeConfigManager.ensureSize(Class<S> clazz,
int queueLength,
int maxMessageSize) |
static <S extends MessageSchema<S>> |
Pipe.estBytesAllocated(Pipe<S> pipe)
Estimate of the total bytes consumed by this pipe
|
static <S extends MessageSchema<S>> |
MessageSchema.findInstance(Class<S> clazz) |
static <S extends MessageSchema<S>> |
Pipe.from(Pipe<S> pipe)
Field reference offset manager for the schema used by this pipe.
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.getBackingPipe(DataInputBlobReader<S> that) |
static <S extends MessageSchema<S>> |
Pipe.getBlobHeadPosition(Pipe<S> pipe)
Direct access to read blob head position.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobRingTailPosition(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobTailPosition(Pipe<S> pipe)
Direct access to get blob tail position.
|
static <S extends MessageSchema<S>> |
Pipe.getBlobWorkingHeadPosition(Pipe<S> pipe)
Deprecated.
|
<S extends MessageSchema<S>> |
PipeConfigManager.getConfig(Class<S> clazz) |
static <S extends MessageSchema<S>> |
Pipe.getPublishBatchSize(Pipe<S> pipe)
get the publish batch count
|
static <S extends MessageSchema<S>> |
Pipe.getReleaseBatchSize(Pipe<S> pipe)
get the release batch count
|
static <S extends MessageSchema<S>> |
Pipe.getSlabHeadPosition(Pipe<S> pipe)
Direct access to the head position of the slab
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.getStructType(DataOutputBlobWriter<T> writer) |
static <S extends MessageSchema<S>> |
Pipe.getWorkingBlobHeadPosition(Pipe<S> pipe)
Direct method to get the working blob head position
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingBlobTailPosition(Pipe<S> pipe)
Direct access to working blob tail position
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingHeadPositionObject(Pipe<S> pipe)
Direct access to working head position object
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingTailPosition(Pipe<S> pipe)
Direct access to working tail position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.getWorkingTailPositionObject(Pipe<S> pipe)
Direct access to working tail position object
|
static <S extends MessageSchema<S>> |
Pipe.hasContentToRead(Pipe<S> pipe)
Checks specified pipe to see if there is any data to read.
|
static <S extends MessageSchema<S>> |
Pipe.hasContentToRead(Pipe<S> pipe,
int size)
Low level API only for checking if there is content to read of the size provided.
|
static <S extends MessageSchema<S>> |
Pipe.hasRoomForWrite(Pipe<S> pipe)
Checks the specified pipe to see if there is room to write
|
static <S extends MessageSchema<S>> |
Pipe.hasRoomForWrite(Pipe<S> pipe,
int size)
Checks if outgoing pipe has room for low level fragment write of the given size.
|
static <S extends MessageSchema<S>> |
Pipe.headPosition(Pipe<S> pipe)
Direct access to the head position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.inputStream(Pipe<S> pipe)
get the input stream associated with this pipe
|
static <S extends MessageSchema<S>> |
PipeReader.inputStream(Pipe<S> pipe,
int loc) |
static <S extends MessageSchema<S>> |
Pipe.isEmpty(Pipe<S> pipe)
Checks to see whether pipe has any data or not.
|
static <S extends MessageSchema<S>> |
Pipe.isEndOfPipe(Pipe<S> pipe,
long tailPosition)
Checks to see if the end of the pipe has been reached
|
static <S extends MessageSchema<S>> |
Pipe.isEqual(Pipe<S> pipe,
byte[] expected,
int expectedPos,
int meta,
int len)
checks for equals bytes
|
static <S extends MessageSchema<S>> |
Pipe.isEqual(Pipe<S> pipe,
CharSequence charSeq,
int meta,
int len)
Checks if given CharSequence is equal to data in a given area
|
static <S extends MessageSchema<S>> |
Pipe.isForDynamicSchema(Pipe<S> pipe)
Checks if pipe uses a dynamic schema which is not backed by an XML contract file.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSameSchema(Pipe<S> pipeA,
Pipe<T> pipeB)
Checks if both pipes use the same schemas.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSameSchema(Pipe<S> pipeA,
Pipe<T> pipeB)
Checks if both pipes use the same schemas.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
Class<T> schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
Class<T> schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
T schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>,T extends MessageSchema<T>> |
Pipe.isForSchema(Pipe<S> pipe,
T schema)
Checks if schema matches that used by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isInBlobFieldWrite(Pipe<S> pipe)
Bookkeeping method to track if a write is in progress to the blob.
|
static <S extends MessageSchema<S>> |
Pipe.isInit(Pipe<S> pipe)
is the pipe initialized and ready for use.
|
static <S extends MessageSchema<S>> |
PipeMonitor.isMonitored(Pipe<S> p) |
static <S extends MessageSchema<S>> |
Pipe.isRateLimitedConsumer(Pipe<S> pipe)
Check if the rate is limited from the consumer side of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isRateLimitedProducer(Pipe<S> pipe)
Check if the rate is limited from the producer side of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.isReplaying(Pipe<S> pipe)
Checks to see if the provided pipe is replaying.
|
static <S extends MessageSchema<S>> |
Pipe.isShutdown(Pipe<S> pipe)
check if this pipe has been shutdown
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.lastBackPositionOfIndex(DataOutputBlobWriter<T> writer) |
static <S extends MessageSchema<S>> |
Pipe.lastConfirmedWritePosition(Pipe<S> output)
get last confirmed write position in the slab
|
static <S extends MessageSchema<S>> |
Pipe.leftConvertIntToASCII(Pipe<S> pipe,
int value,
int idx)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.leftConvertLongToASCII(Pipe<S> pipe,
long value,
int idx)
Deprecated.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.length(DataOutputBlobWriter<T> writer) |
static <S extends MessageSchema<S>> |
Pipe.markBytesReadBase(Pipe<S> pipe)
auto compute and store bytes consumed for fragment bookkeeping
|
static <S extends MessageSchema<S>> |
Pipe.markBytesReadBase(Pipe<S> pipe,
int bytesConsumed)
store bytes consumed for fragment bookkeeping
|
static <S extends MessageSchema<S>> |
Pipe.markBytesWriteBase(Pipe<S> pipe)
Store new var len base written position.
|
static <S extends MessageSchema<S>> |
PipeMonitor.monitor(Pipe<S> sourcePipe,
long sourceSlabPos,
int sourceBlobPos) |
static <S extends MessageSchema<S>> |
Pipe.moveBlobPointerAndRecordPosAndLength(int originalBlobPosition,
int len,
Pipe<S> output)
Record the number of bytes written after direct manipulation of the backing array.
|
static <S extends MessageSchema<S>> |
Pipe.moveBlobPointerAndRecordPosAndLength(int len,
Pipe<S> output)
Record the number of bytes written after direct manipulation of the backing array.
|
<S extends MessageSchema<S>> |
PipeConfigManager.newPipe(Class<S> clazz) |
static <S extends MessageSchema<S>> |
Pipe.notifyPubListener(Pipe<S> pipe)
Notify any listeners to thsi pipe that a publication has been made.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.openField(DataOutputBlobWriter<T> writer) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.openFieldAtPosition(DataOutputBlobWriter<T> writer,
int workingBlobHeadPosition) |
static <S extends MessageSchema<S>> |
Pipe.openInputStream(Pipe<S> pipe)
get the input stream associated with this Pipe and open it
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.openLowLevelAPIField(DataInputBlobReader<S> that)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.openOutputStream(Pipe<S> pipe)
get the output stream associated with this pipe and open it
|
static <S extends MessageSchema<S>> |
Pipe.orIntValue(int value,
Pipe<S> pipe,
long position)
Ors int value to specific position in the given pipe
|
static <S extends MessageSchema<S>> |
Pipe.orValue(int[] buffer,
int mask,
long offset,
int value)
or an int value at this position
|
static <S extends MessageSchema<S>> |
PipeWriter.outputStream(Pipe<S> pipe)
Gives outputStream of specified pipe
|
static <S extends MessageSchema<S>> |
Pipe.outputStream(Pipe<S> pipe)
get the output stream associated with this pipe
|
static <S extends MessageSchema<S>> |
Pipe.peek(int[] buf,
long pos,
int mask)
Peek an int value without moving the cursors.
|
static <S extends MessageSchema<S>> |
PipeReader.peekInputStream(Pipe<S> pipe,
int loc)
Peeks at input stream of specified pipe before Trie parse is run
|
static <S extends MessageSchema<S>> |
Pipe.peekInputStream(Pipe<S> pipe,
int offset)
get the input stream but do not move the cursor position.
|
static <S extends MessageSchema<S>> |
Pipe.peekInt(Pipe<S> pipe)
peek the int value at this position
|
static <S extends MessageSchema<S>> |
Pipe.peekInt(Pipe<S> pipe,
int offset)
peek the int value at this relative offset from where the cursor is upon call
|
static <S extends MessageSchema<S>> |
Pipe.peekLong(int[] buf,
long pos,
int mask)
Peek a long value without moving the cursors.
|
static <S extends MessageSchema<S>> |
Pipe.peekLong(Pipe<S> pipe,
int offset)
peek the long value at this relative offset from where the cursor is upon call
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected)
peek message and determine if it matches the expected value
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected1,
int expected2)
peek message and determine if it matches one of 2 potential values
|
static <S extends MessageSchema<S>> |
Pipe.peekMsg(Pipe<S> pipe,
int expected1,
int expected2,
int expected3)
peek message and determine if it matches one of 3 potential values
|
static <S extends MessageSchema<S>> |
Pipe.peekNotMsg(Pipe<S> pipe,
int expected)
peek message and determine if it does not match the expected value
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.peekUTF8(Pipe<S> pipe,
int offset,
A target)
peek UTF8 text at this relative offset from where the cursor is upon call
|
static <S extends MessageSchema<S>> |
PendingReleaseData.pendingReleaseByteCount(PendingReleaseData that) |
static <S extends MessageSchema<S>> |
PendingReleaseData.pendingReleaseCount(PendingReleaseData that) |
static <S extends MessageSchema<S>> |
PipeConfig.pipe(PipeConfig<S> config) |
static <S extends MessageSchema<S>> |
Pipe.presumeRoomForWrite(Pipe<S> pipe)
Check if there is room to write the largest known message.
|
static <S extends MessageSchema<S>> |
Pipe.primaryBuffer(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.primarySize(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.publishAllBatchedWrites(Pipe<S> pipe)
Publish any writes that were held back due to batching.
|
static <S extends MessageSchema<S>> |
Pipe.publishBlobWorkingTailPosition(Pipe<S> pipe,
int blobWorkingTailPos)
Direct access to publish working tail position
|
static <S extends MessageSchema<S>> |
Pipe.publishEOF(Pipe<S> pipe)
Publish EOF message to the target pipe
|
static <S extends MessageSchema<S>> |
Pipe.publishHeadPositions(Pipe<S> pipe)
Internal method to publish head positions as part of publish writes process
|
static <S extends MessageSchema<S>> |
Pipe.publishWorkingHeadPosition(Pipe<S> pipe,
long workingHeadPos)
This method is only for build transfer stages that require direct manipulation of the position.
|
static <S extends MessageSchema<S>> |
Pipe.publishWorkingTailPosition(Pipe<S> pipe,
long workingTailPos)
This method is only for build transfer stages that require direct manipulation of the position.
|
static <S extends MessageSchema<S>> |
Pipe.publishWrites(Pipe<S> pipe)
Low level API for publish for new fragment.
|
static <S extends MessageSchema<S>> |
Pipe.publishWrites(Pipe<S> pipe,
int optionalHiddenTrailingBytes)
Publish writes for this fragment so consumer stage can see it.
|
static <S extends MessageSchema<S>> |
Pipe.publishWritesBatched(Pipe<S> pipe)
Publish all the batched writes so they can all be seen by the consumer stage
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.read(DataInputBlobReader<S> reader,
byte[] b,
int off,
int len,
int mask) |
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readASCII(Pipe<S> pipe,
A target,
int meta,
int len)
Reads ASCII characters at given section of a pipe
|
static <S extends MessageSchema<S>> |
Pipe.readByteArraMetaData(int pos,
Pipe<S> pipe)
Read meta data for a given var length field at this position
|
static <S extends MessageSchema<S>> |
Pipe.readByteArrayLength(int idx,
Pipe<S> pipe)
Read the length portion of the var length field
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
byte[] target,
int targetIdx,
int targetMask,
int meta,
int len)
Reads bytes from specified pipe at given index
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
ByteBuffer target,
int meta,
int len)
Read var length field into a target ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
DataOutputBlobWriter<?> target)
Read var length field from the pipe, position must be set up first.
|
static <S extends MessageSchema<S>> |
Pipe.readBytes(Pipe<S> pipe,
DataOutputBlobWriter<?> target,
int meta,
int len)
Read var length field into a DataOutputBlobWriter, eg another field.
|
static <S extends MessageSchema<S>> |
FragmentReader.readI(Pipe<S> pipe) |
<T extends MessageSchema<T>> |
DataInputBlobReader.readInto(DataOutputBlobWriter<T> writer,
int length) |
static <S extends MessageSchema<S>> |
Pipe.readIntValue(int[] backing,
int mask,
long position)
read int value at the given position
|
static <S extends MessageSchema<S>> |
Pipe.readIntValue(int idx,
Pipe<S> pipe)
Reads the data at a specific index on the given pipe and returns an int
|
static <S extends MessageSchema<S>> |
FragmentReader.readL(Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.readLong(int idx,
Pipe<S> pipe)
Reads the value at specified index on the given pipe and returns a long
|
static <S extends MessageSchema<S>> |
Pipe.readNextWithoutReleasingReadLock(Pipe<S> pipe)
Move cursor forward to next fragment for reading but does NOT release the previous fragment
to be written over.
|
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readOptionalASCII(Pipe<S> pipe,
A target,
int meta,
int len)
Reads ASCII characters or an optional null at given section of a pipe
|
static <S extends MessageSchema<S>> |
Pipe.readOptionalUTF8(Pipe<S> pipe,
Appendable target,
int meta,
int len)
Reads UTF8 characters or a null value from the specified pipe
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.readPackedChars(DataInputBlobReader<S> that,
Appendable target) |
static <S extends MessageSchema<S>> |
DataInputBlobReader.readPackedInt(DataInputBlobReader<S> that) |
static <S extends MessageSchema<S>> |
DataInputBlobReader.readPackedLong(DataInputBlobReader<S> that) |
static <S extends MessageSchema<S>> |
Pipe.readRingByteMetaData(int pos,
Pipe<S> pipe)
Deprecated.
|
static <A extends Appendable,S extends MessageSchema<S>> |
DataInputBlobReader.readUTF(DataInputBlobReader<S> reader,
int length,
A target) |
static <S extends MessageSchema<S>,A extends Appendable> |
Pipe.readUTF8(Pipe<S> pipe,
A target,
int meta,
int len)
Reads UTF8 characters from specified Pipe
|
static <S extends MessageSchema<S>> |
Pipe.readValue(int[] rbB,
int rbMask,
long rbPos)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.readValue(int idx,
Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.releaseAllBatchedReads(Pipe<S> pipe)
Release any reads that were held back due to batching.
|
static <S extends MessageSchema<S>> |
Pipe.releaseAllPendingReadLock(Pipe<S> pipe)
Release all pending fragments for release
|
static <S extends MessageSchema<S>> |
PendingReleaseData.releaseAllPendingReadRelease(PendingReleaseData that,
Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.releaseBatchedReadReleasesUpToPosition(Pipe<S> pipe,
long newTailToPublish,
int newTailBytesToPublish)
Release all batched read releases up to the passed in position.
|
static <S extends MessageSchema<S>> |
Pipe.releaseBatchedReadReleasesUpToThisPosition(Pipe<S> pipe)
Release all batched read releases up to the current position.
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingAsReadLock(Pipe<S> pipe,
int consumed)
Release for write the old fragments which total up to the provided consumed number of bytes.
|
static <S extends MessageSchema<S>> |
PendingReleaseData.releasePendingAsReadRelease(PendingReleaseData that,
Pipe<S> pipe,
int consumed) |
static <S extends MessageSchema<S>> |
Pipe.releasePendingByteCount(Pipe<S> pipe)
Count of how many bytes are pending in the total of all pending release fragments
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingCount(Pipe<S> pipe)
Count of how many fragments are pending release.
|
static <S extends MessageSchema<S>> |
Pipe.releasePendingReadLock(Pipe<S> pipe)
Release for write the old fragment read which are pending release.
|
static <S extends MessageSchema<S>> |
PendingReleaseData.releasePendingReadRelease(PendingReleaseData that,
Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.releaseReadLock(Pipe<S> pipe)
Release read lock on this fragment.
|
static <S extends MessageSchema<S>> |
Pipe.releaseReads(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.replayUnReleased(Pipe<S> pipe)
Back up the cursor read position.
|
static <S extends MessageSchema<S>> |
Pipe.roomToLowLevelWrite(Pipe<S> pipe,
int size)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.schemaName(Pipe<S> pipe)
get name of the schema.
|
static <S extends MessageSchema<S>> |
Pipe.setBlobHeadPosition(Pipe<S> pipe,
int value)
Direct access to set blob head position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobTailPosition(Pipe<S> pipe,
int value)
Direct access to set blob tail position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobWorkingHead(Pipe<S> pipe,
int value)
Direct access method for setting blob working head position
|
static <S extends MessageSchema<S>> |
Pipe.setBlobWorkingTail(Pipe<S> pipe,
int value)
Direct method to set the blob working tail.
|
static <S extends MessageSchema<S>> |
Pipe.setByteArrayWithMask(Pipe<S> outputRing,
int mask,
int len,
byte[] data,
int offset,
long slabPosition)
Set byte array into specific location
|
static <S extends MessageSchema<S>> |
Pipe.setBytesTail(Pipe<S> pipe,
int value)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.setConsumerRegulation(Pipe<S> pipe,
int msgPerMs,
int msgSize)
Set the regulator value for the consumer of the pipe.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.setIntBackData(DataOutputBlobWriter<T> writer,
int value,
int pos) |
static <S extends MessageSchema<S>> |
Pipe.setIntValue(int value,
Pipe<S> pipe,
long position)
Writes int value to specific position in the given pipe
|
static <S extends MessageSchema<S>> |
Pipe.setMaxPublishBatchSize(Pipe<S> pipe)
Sets the publish batch size to the max supported by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setMaxReleaseBatchSize(Pipe<S> pipe)
Sets the release batch size to the max supported by the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setProducerRegulation(Pipe<S> pipe,
int msgPerMs,
int msgSize)
Set the regulator value for the producer of the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.setPublishBatchSize(Pipe<S> pipe,
int size)
sets specific batch publish size, publishes do not occur when called for but only when the
size count of publishes is reached.
|
static <S extends MessageSchema<S>> |
Pipe.setReleaseBatchSize(Pipe<S> pipe,
int size)
sets specific batch release size, releases do not occur when called for but only when the
size count of releases is reached.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.setStructType(DataOutputBlobWriter<T> writer,
int value) |
static <S extends MessageSchema<S>> |
Pipe.setValue(int[] buffer,
int mask,
long offset,
int value)
set an int value at this position
|
static <S extends MessageSchema<S>> |
Pipe.setWorkingHead(Pipe<S> pipe,
long value)
Directly set the new working head position for the slab
|
static <S extends MessageSchema<S>> |
Pipe.setWorkingTailPosition(Pipe<S> pipe,
long value)
Direct access to set the working tail position
|
static <S extends MessageSchema<S>> |
Pipe.shutdown(Pipe<S> pipe)
shutdown this pipe now, this should only be called by internal logic for an emergency
|
static <S extends MessageSchema<S>> |
Pipe.sizeOf(Pipe<S> pipe,
int msgIdx)
returns size of this message as defined in the FROM and schema in this pipe.
|
static <S extends MessageSchema<S>> |
Pipe.sizeOf(S schema,
int msgIdx)
returns size of this message as defined in the provided schema.
|
static <S extends MessageSchema<S>> |
Pipe.skipNextFragment(Pipe<S> pipe)
skip over the next fragment and position for reading after that fragment
|
static <S extends MessageSchema<S>> |
Pipe.skipNextFragment(Pipe<S> pipe,
int msgIdx)
Skips over specified section of the pipe
|
static <S extends MessageSchema<S>> |
Pipe.slab(Pipe<S> pipe)
Direct access to slab backing array
|
static <S extends MessageSchema<S>> |
Pipe.slabMask(Pipe<S> pipe)
Direct access to the mask for looping the slab
|
static <S extends MessageSchema<S>> |
Pipe.spinWork(Pipe<S> pipe)
Only use this if you know what you are doing, eg we have enough threads.
|
static <S extends MessageSchema<S>> |
Pipe.splitPipes(int pipeCount,
Pipe<S>[] pipes)
Evenly split array of pipes across pipeCount arrays of arrays of pipes.
|
static <S extends MessageSchema<S>> |
Pipe.storeUnpublishedWrites(Pipe<S> pipe)
Store the writes for publish later.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.structTypeValidation(DataOutputBlobWriter<T> writer,
int value) |
static <S extends MessageSchema<S>> |
Pipe.tailPosition(Pipe<S> pipe)
Direct access to the published tail position
|
static <S extends MessageSchema<S>> |
Pipe.takeByteArrayLength(Pipe<S> pipe)
consume the length for the var length byte field
|
static <S extends MessageSchema<S>> |
Pipe.takeByteArrayMetaData(Pipe<S> pipe)
Consume the meta data for the var length byte field.
|
static <S extends MessageSchema<S>> |
Pipe.takeInt(Pipe<S> pipe)
Read int and move the cursor forward
|
static <S extends MessageSchema<S>> |
Pipe.takeLong(Pipe<S> pipe)
Read the long position and move the cursor forward.
|
static <S extends MessageSchema<S>> |
Pipe.takeMsgIdx(Pipe<S> pipe)
Gets the index of a message in the pipe
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalLong(Pipe<S> pipe)
Take optional Long which may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalLong(Pipe<S> pipe,
long absent64Value)
Take optional Long which may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalValue(Pipe<S> pipe)
take optional Integer, this may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeOptionalValue(Pipe<S> pipe,
int absent32Value)
take optional Integer, this may be null.
|
static <S extends MessageSchema<S>> |
Pipe.takeRingByteLen(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.takeRingByteMetaData(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema<S>> |
Pipe.takeValue(Pipe<S> pipe)
Deprecated.
|
static <S extends MessageSchema> |
Pipe.totalPipes()
Total count of all pipes in the system.
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.tryClearIntBackData(DataOutputBlobWriter<T> writer,
int intCount) |
static <S extends MessageSchema<S>> |
PipeReader.tryReadFragment(Pipe<S> pipe) |
static <S extends MessageSchema<S>> |
Pipe.tryReplication(Pipe<S> pipe,
long historicSlabPosition,
int historicBlobPosition)
Replicate slab and blob data from an older fragment inside this same pipe up to the end.
|
static <S extends MessageSchema<S>> |
Pipe.validateBatchSize(Pipe<S> pipe,
int size)
Validate batch size is not too large
|
static <S extends MessageSchema<S>> |
Pipe.validateFieldCount(Pipe<S> pipe)
Used by assert any time we need to check the validity of what has been written to the pipe.
|
static <S extends MessageSchema<S>> |
Pipe.validatePipeBlobHasDataToRead(Pipe<S> pipe,
int blobPos,
int length)
Checks blob to see if there is data to read
|
static <S extends MessageSchema<S>> |
Pipe.validateVarLength(Pipe<S> pipe,
int length)
Confirm that the bytes written are less than the space available.
|
static <S extends MessageSchema<S>> |
DataInputBlobReader.wasDecimalNull(DataInputBlobReader<S> that) |
static <S extends MessageSchema<S>> |
DataInputBlobReader.wasPackedNull(DataInputBlobReader<S> that) |
static <S extends MessageSchema<S>> |
Pipe.workingHeadPosition(Pipe<S> pipe)
Direct access to the working head position of the slab
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobConstBuffer(Pipe<S> pipe)
Wrapped constant buffer as ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobReadingRingA(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobReadingRingB(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobRingA(Pipe<S> pipe)
Wrapped blob as a ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedBlobRingB(Pipe<S> pipe)
Wrapped blob as a ByteBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedReadingBuffers(Pipe<S> pipe,
int meta,
int len)
Wrapped byte buffer array of 2 for reading the backing ring.
|
static <S extends MessageSchema<S>> |
Pipe.wrappedSlabRing(Pipe<S> pipe)
Wrapped slab as an IntBuffer
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(int originalBlobPosition,
Pipe<S> output)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(int originalBlobPosition,
Pipe<S> output,
int maxLen)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <S extends MessageSchema<S>> |
Pipe.wrappedWritingBuffers(Pipe<S> output)
ByteBuffers which wrap the backing blob array as 2 buffers
|
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.write(DataOutputBlobWriter<T> writer,
byte[] source,
int sourceOff,
int sourceLen) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.write(DataOutputBlobWriter<T> writer,
byte[] source,
int sourceOff,
int sourceLen,
int sourceMask) |
static <S extends MessageSchema<S>> |
FragmentWriter.write(Pipe<S> pipe,
int msgIdx) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writeBytes(DataOutputBlobWriter<T> writer,
byte pattern,
int runLength) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writeBytes(DataOutputBlobWriter<T> writer,
DataInputBlobReader<RawDataSchema> reader,
int length) |
static <S extends MessageSchema<S>> |
Pipe.writeFieldToOutputStream(Pipe<S> pipe,
OutputStream out)
Read this var len field and write its contents to the target OutputStream
|
static <S extends MessageSchema<S>> |
FragmentWriter.writeI(Pipe<S> pipe,
int msgIdx,
int field1) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeII(Pipe<S> pipe,
int msgIdx,
int field1,
int field2) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeL(Pipe<S> pipe,
int msgIdx,
long field1) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLI(Pipe<S> pipe,
int msgIdx,
long field1,
int field2) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLII(Pipe<S> pipe,
int msgIdx,
long field1,
int field2,
int field3) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLL(Pipe<S> pipe,
int msgIdx,
long field1,
long field2) |
static <S extends MessageSchema<S>> |
FragmentWriter.writeLV(Pipe<S> pipe,
int msgIdx,
long field1,
byte[] field2Backing,
int field2Position,
int field2Length) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedChars(DataOutputBlobWriter<T> that,
byte[] source,
int sourceMask,
int sourceLength,
int sourcePos) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedChars(DataOutputBlobWriter<T> that,
CharSequence s) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedInt(DataOutputBlobWriter<T> that,
int value) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedLong(DataOutputBlobWriter<T> that,
long value) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedNull(DataOutputBlobWriter<T> that) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedShort(DataOutputBlobWriter<T> that,
short value) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedUInt(DataOutputBlobWriter<T> that,
int value) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedULong(DataOutputBlobWriter<T> that,
long value) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writePackedUShort(DataOutputBlobWriter<T> that,
short value) |
static <T extends MessageSchema<T>,S extends MessageSchema<S>> |
DataOutputBlobWriter.writeStream(DataOutputBlobWriter<T> that,
DataInputBlobReader<S> input,
int length) |
static <T extends MessageSchema<T>,S extends MessageSchema<S>> |
DataOutputBlobWriter.writeStream(DataOutputBlobWriter<T> that,
DataInputBlobReader<S> input,
int length) |
static <T extends MessageSchema<T>> |
DataOutputBlobWriter.writeToEndFrom(DataOutputBlobWriter<T> writer,
int sizeInBytes,
DataInputBlobReader<RawDataSchema> reader) |
static <S extends MessageSchema<S>> |
Pipe.writeTrailingCountOfBytesConsumed(Pipe<S> pipe)
Records the count of bytes consumed by this fragment into the pipe.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldReferenceOffsetManager |
MessageSchema.from(MessageSchema schema) |
| Modifier and Type | Field and Description |
|---|---|
protected MessageSchema |
TemplateProcessGenerator.schema |
| Modifier and Type | Method and Description |
|---|---|
static <S extends MessageSchema<S>> |
FROMValidation.checkSchema(String templateFile,
Class<S> clazz) |
static <S extends MessageSchema<S>> |
FROMValidation.checkSchema(String templateFile,
Class<S> clazz,
boolean forceCode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TemplateProcessGeneratorLowLevelWriter.additionalImports(MessageSchema schema,
Appendable target) |
protected void |
TemplateProcessGeneratorLowLevelReader.additionalImports(MessageSchema schema,
Appendable target) |
protected void |
TemplateProcessGeneratorLowLevelReader.bodyBuilder(MessageSchema schema,
int cursor,
int fragmentParaCount,
CharSequence[] fragmentParaTypes,
CharSequence[] fragmentParaArgs,
CharSequence[] fragmentParaSuff) |
| Constructor and Description |
|---|
TemplateProcessGenerator(MessageSchema schema) |
TemplateProcessGeneratorLowLevelReader(MessageSchema schema,
Appendable bodyTarget) |
TemplateProcessGeneratorLowLevelReader(MessageSchema schema,
Appendable bodyTarget,
String className,
String baseClassName,
String packageName) |
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
boolean isAbstract,
String packageName) |
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
String packageName) |
TemplateProcessGeneratorLowLevelWriter(MessageSchema schema,
Appendable target,
String className,
String baseClassName,
String outputPipeName,
String methodScope,
boolean isAbstract,
String packageName) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends MessageSchema<S>> |
TrieParserReader.parseSetup(TrieParserReader trieReader,
DataInputBlobReader<S> reader) |
static <S extends MessageSchema<S>> |
TrieParserReader.parseSetup(TrieParserReader trieReader,
DataInputBlobReader<S> reader,
int length) |
static <S extends MessageSchema<S>> |
TrieParserReader.writeCapturedValuesToDataOutput(TrieParserReader reader,
DataOutputBlobWriter<S> target) |
static <S extends MessageSchema<S>> |
TrieParserReader.writeCapturedValuesToDataOutput(TrieParserReader reader,
DataOutputBlobWriter<S> target,
int[] indexPositions) |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONStreamVisitorToPipe<M extends MessageSchema<M>,K extends Enum<K> & TrieKeyable> |
class |
MapJSONToPipeBuilder<M extends MessageSchema<M>,K extends Enum<K> & TrieKeyable> |
Copyright © 2018. All Rights Reserved.