Package oracle.kv.lob
Class InputStreamVersion
- java.lang.Object
-
- oracle.kv.lob.InputStreamVersion
-
public class InputStreamVersion extends Object
Holds a Stream and Version that are associated with a LOB.An InputStreamVersion instance is returned by
IOExceptions thrown by this stream may wrap KVStore exceptions as described in the documentation for theKVLargeObject.getLOB(oracle.kv.Key, oracle.kv.Consistency, long, java.util.concurrent.TimeUnit)
as the current value (represented by the stream) and version associated with a given LOB. The version and inputStream properties will always be non-null.KVLargeObject.getLOB(oracle.kv.Key, oracle.kv.Consistency, long, java.util.concurrent.TimeUnit)
method.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description InputStreamVersion(InputStream inputStream, Version version)
Used internally to create an object with an inputStream and version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
Returns the InputStream part of the InputStream and Version pair.Version
getVersion()
Returns the Version of the InputStream and Version pair.String
toString()
-
-
-
Constructor Detail
-
InputStreamVersion
public InputStreamVersion(InputStream inputStream, Version version)
Used internally to create an object with an inputStream and version.
-
-
Method Detail
-
getInputStream
public InputStream getInputStream()
Returns the InputStream part of the InputStream and Version pair.
-
getVersion
public Version getVersion()
Returns the Version of the InputStream and Version pair.
-
-