Package org.apache.drill.exec.cache
Class AbstractStreamSerializable
java.lang.Object
org.apache.drill.exec.cache.AbstractStreamSerializable
- All Implemented Interfaces:
Externalizable
,Serializable
,DrillSerializable
- Direct Known Subclasses:
VectorAccessibleSerializable
- See Also:
-
Field Summary
Fields inherited from interface org.apache.drill.exec.cache.DrillSerializable
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
abstract void
readFromStream
(InputStream input) void
write
(DataOutput output) void
abstract void
writeToStream
(OutputStream output)
-
Constructor Details
-
AbstractStreamSerializable
public AbstractStreamSerializable()
-
-
Method Details
-
readFromStream
- Specified by:
readFromStream
in interfaceDrillSerializable
- Throws:
IOException
-
writeToStream
- Specified by:
writeToStream
in interfaceDrillSerializable
- Throws:
IOException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
read
- Specified by:
read
in interfaceDrillSerializable
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDrillSerializable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-