Skip navigation links
com.essbase.eas.utils
Class RAFIndexDataFile
java.lang.Object
com.essbase.eas.utils.RAFIndexDataFile
-
public class RAFIndexDataFile
- extends java.lang.Object
defines a member attribute tree.
- Since:
- 6.5.0
- Version:
- 7.1.0
- Author:
- Sree Menon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAFIndexDataFile
public RAFIndexDataFile()
RAFIndexDataFile
public RAFIndexDataFile(java.io.File dataFile,
java.io.File indexFile)
setFile
public void setFile(java.io.File dataFile,
java.io.File indexFile)
createFile
public boolean createFile()
throws java.io.IOException
-
- Throws:
java.io.IOException
openFile
public boolean openFile()
throws java.io.IOException
-
- Throws:
java.io.IOException
useShortIndexSize
public void useShortIndexSize()
getIndexCount
public long getIndexCount()
getDataLength
public long getDataLength()
getEntries
public long getEntries()
- get entries in the file
-
- Returns:
seek
public void seek(long index)
throws java.io.IOException
- Seek to the entry for reading data
-
- Parameters:
index
-
- Throws:
java.io.IOException
seekToEnd
public void seekToEnd()
throws java.io.IOException
- Seek to the end for writing data
-
- Throws:
java.io.IOException
getDataFile
public java.io.RandomAccessFile getDataFile()
- Gets the data file
-
- Returns:
addDataEntry
public void addDataEntry()
throws java.io.IOException
- Updates the index file after adding data to the data file
-
- Throws:
java.io.IOException
updateIndexCount
public void updateIndexCount()
throws java.io.IOException
-
- Throws:
java.io.IOException
getFiles
public java.io.File[] getFiles()
close
public void close()
throws java.io.IOException
-
- Throws:
java.io.IOException
deleteFile
public void deleteFile()
dispose
public void dispose()
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.