|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.featureindexlibrary.vafile.io.ApproximationFileRandomAccess
public class ApproximationFileRandomAccess
Random access helper
| Constructor Summary | |
|---|---|
ApproximationFileRandomAccess(VAFileParams params)
Creates a new instance |
|
| Method Summary | |
|---|---|
void |
close()
Closes |
void |
moveTo(long recNum)
Moves to the specified entry |
void |
open()
Opens |
ApproximationFileEntry |
read()
Reads an entry |
void |
write(ApproximationFileEntry entry)
Writer the specified entry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApproximationFileRandomAccess(VAFileParams params)
throws Exception
params - The VAFile header params
Exception - An error| Method Detail |
|---|
public void open()
throws Exception
Exception - An error
public void moveTo(long recNum)
throws Exception
recNum - The number of entry
Exception - An error
public void write(ApproximationFileEntry entry)
throws Exception
entry - The entry
Exception - An errorpublic ApproximationFileEntry read()
public void close()
throws Exception
Exception - An error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||