public class ChannelBufferStreamInput extends org.elasticsearch.common.io.stream.StreamInput
ChannelBuffer based StreamInput.| Constructor and Description |
|---|
ChannelBufferStreamInput(org.jboss.netty.buffer.ChannelBuffer buffer) |
ChannelBufferStreamInput(org.jboss.netty.buffer.ChannelBuffer buffer,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
byte |
readByte() |
void |
readBytes(byte[] b,
int offset,
int len) |
org.elasticsearch.common.bytes.BytesReference |
readBytesReference(int length) |
void |
reset() |
long |
skip(long n) |
int |
skipBytes(int n) |
getVersion, readBoolean, readBytesRef, readBytesRef, readBytesReference, readDouble, readDoubleArray, readFloat, readFloatArray, readFully, readGenericValue, readInt, readIntArray, readLong, readLongArray, readMap, readOptionalBoolean, readOptionalSharedString, readOptionalStreamable, readOptionalString, readOptionalText, readSharedString, readSharedText, readShort, readString, readStringArray, readText, readTextArray, readVInt, readVLong, setVersionreadpublic ChannelBufferStreamInput(org.jboss.netty.buffer.ChannelBuffer buffer)
public ChannelBufferStreamInput(org.jboss.netty.buffer.ChannelBuffer buffer, int length)
public org.elasticsearch.common.bytes.BytesReference readBytesReference(int length) throws IOException
readBytesReference in class org.elasticsearch.common.io.stream.StreamInputIOExceptionpublic int available() throws IOException
available in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic void reset() throws IOException
reset in class org.elasticsearch.common.io.stream.StreamInputIOExceptionpublic long skip(long n) throws IOException
skip in class InputStreamIOExceptionpublic int skipBytes(int n) throws IOException
IOExceptionpublic byte readByte() throws IOException
readByte in class org.elasticsearch.common.io.stream.StreamInputIOExceptionpublic void readBytes(byte[] b, int offset, int len) throws IOException
readBytes in class org.elasticsearch.common.io.stream.StreamInputIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.elasticsearch.common.io.stream.StreamInputIOExceptionCopyright © 2012–2014. All rights reserved.