Package oracle.kv.lob

Examples of oracle.kv.lob.InputStreamVersion


     * @throws FileNotFoundException
     * @throws IOException
     */
    public File getLOBFile(KeyValueVersion keyValueVersion, String fileName) throws FileNotFoundException, IOException
    {
        InputStreamVersion istreamVersion = kvStore.getLOB(keyValueVersion.getKey(), client.getConsistency(),
                client.getTimeout(), client.getTimeUnit());
        InputStream is = istreamVersion.getInputStream();

        File lobFile = new File(fileName);
        OutputStream os = new FileOutputStream(lobFile);
        int read = 0;
        byte[] bytes = new byte[OracleNOSQLConstants.OUTPUT_BUFFER_SIZE];
View Full Code Here

TOP

Related Classes of oracle.kv.lob.InputStreamVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.