public class InputStreamVersion extends Object
An InputStreamVersion instance is returned by KVLargeObject.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.Constructor and Description |
---|
InputStreamVersion(InputStream inputStream,
Version version)
Used internally to create an object with an inputStream and version.
|
Modifier and Type | Method and 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() |
public InputStreamVersion(InputStream inputStream, Version version)
public InputStream getInputStream()
public Version getVersion()
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.