public interface ThriftSerializer<T extends org.apache.thrift.TBase<T,? extends org.apache.thrift.TFieldIdEnum>>
Modifier and Type | Method and Description |
---|---|
T |
fromBytes(T base,
byte[] bytes) |
T |
fromInputStream(T base,
InputStream is) |
T |
fromPath(T base,
Path path) |
T |
fromPathString(T base,
String pathString) |
byte[] |
toBytes(T base) |
T fromBytes(T base, byte[] bytes) throws ConcreteException
ConcreteException
byte[] toBytes(T base) throws ConcreteException
ConcreteException
T fromPath(T base, Path path) throws ConcreteException
ConcreteException
T fromPathString(T base, String pathString) throws ConcreteException
ConcreteException
T fromInputStream(T base, InputStream is) throws ConcreteException
ConcreteException
Copyright © 2016 Johns Hopkins University HLTCOE. All rights reserved.