public class KryoDecoder extends Object implements co.cask.cdap.common.io.Decoder
Decoder
for reading data from Kryo.Constructor and Description |
---|
KryoDecoder(com.esotericsoftware.kryo.io.Input input) |
Modifier and Type | Method and Description |
---|---|
boolean |
readBool() |
ByteBuffer |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readNull() |
String |
readString() |
void |
skipBytes() |
void |
skipDouble() |
void |
skipFloat() |
void |
skipString() |
@Nullable public Object readNull() throws IOException
readNull
in interface co.cask.cdap.common.io.Decoder
IOException
public boolean readBool() throws IOException
readBool
in interface co.cask.cdap.common.io.Decoder
IOException
public int readInt() throws IOException
readInt
in interface co.cask.cdap.common.io.Decoder
IOException
public long readLong() throws IOException
readLong
in interface co.cask.cdap.common.io.Decoder
IOException
public float readFloat() throws IOException
readFloat
in interface co.cask.cdap.common.io.Decoder
IOException
public double readDouble() throws IOException
readDouble
in interface co.cask.cdap.common.io.Decoder
IOException
public String readString() throws IOException
readString
in interface co.cask.cdap.common.io.Decoder
IOException
public ByteBuffer readBytes() throws IOException
readBytes
in interface co.cask.cdap.common.io.Decoder
IOException
public void skipFloat() throws IOException
skipFloat
in interface co.cask.cdap.common.io.Decoder
IOException
public void skipDouble() throws IOException
skipDouble
in interface co.cask.cdap.common.io.Decoder
IOException
public void skipString() throws IOException
skipString
in interface co.cask.cdap.common.io.Decoder
IOException
public void skipBytes() throws IOException
skipBytes
in interface co.cask.cdap.common.io.Decoder
IOException
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.