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, setVersion
read
public 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.StreamInput
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void mark(int readlimit)
mark
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void reset() throws IOException
reset
in class org.elasticsearch.common.io.stream.StreamInput
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int skipBytes(int n) throws IOException
IOException
public byte readByte() throws IOException
readByte
in class org.elasticsearch.common.io.stream.StreamInput
IOException
public void readBytes(byte[] b, int offset, int len) throws IOException
readBytes
in class org.elasticsearch.common.io.stream.StreamInput
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.elasticsearch.common.io.stream.StreamInput
IOException
Copyright © 2012–2014. All rights reserved.