public class ScatteringStoreDataAccessor
extends java.lang.Object
Constructor | Description |
---|---|
ScatteringStoreDataAccessor(java.io.File path,
java.lang.String file_name,
java.lang.String first_ext,
long max_slice_size) |
Constructs the store data accessor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
convertToScatteringStore(java.io.File f) |
Given a file, this will convert to a scattering file store with files
no larger than the maximum slice size.
|
boolean |
delete() |
|
boolean |
exists() |
|
long |
getSize() |
|
void |
open(boolean read_only) |
|
void |
read(long position,
byte[] buf,
int off,
int len) |
|
void |
setSize(long length) |
|
void |
synch() |
|
void |
write(long position,
byte[] buf,
int off,
int len) |
public ScatteringStoreDataAccessor(java.io.File path, java.lang.String file_name, java.lang.String first_ext, long max_slice_size)
public void convertToScatteringStore(java.io.File f) throws java.io.IOException
java.io.IOException
public void open(boolean read_only) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public boolean delete()
public boolean exists()
public void read(long position, byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void write(long position, byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
public void setSize(long length) throws java.io.IOException
java.io.IOException
public long getSize() throws java.io.IOException
java.io.IOException
public void synch() throws java.io.IOException
java.io.IOException
Copyright © 2018. All rights reserved.