public class FileTableProxy extends TableProxy implements FileTable
Title: Dataspace Framework
Description: File Table collection proxy.
Copyright: Copyright (c) 2011
Company: StreamScape Technologies
Constructor and Description |
---|
FileTableProxy() |
Modifier and Type | Method and Description |
---|---|
void |
compress()
Compresses linked file table source file.
|
void |
decompress()
Decompresses file table linked file to its original plain text state.
|
AppendableFileTableReader.Statistics |
getAppendableStatistics() |
java.lang.String |
getDataSource()
Return data source string.
|
boolean |
isLinked()
Checks whether the file table is linked to its source.
|
void |
linkDataSource(java.lang.String source,
boolean readOnly,
boolean forStream)
Sets file table source CSV file and links to this source file.
|
void |
linkDataSourceForAppend(java.lang.String source,
long checkInterval)
Sets file table source CSV file for append and links to this source file.
|
void |
relink(boolean readonly)
Connects the table to its data file.
|
void |
truncate() |
void |
truncate(boolean force) |
void |
unlink()
Disconnects the table from its data file.
|
clear, clear, containsPrimarykey, delete, delete, deleteAll, drainFromQueue, fromMap, fromQueue, fromRowSet, getRow, hasForeignKey, hasPrimaryKey, insert, insert, insert, insert, insertAll, insertAll, isEmpty, primaryKeySet, rowSet, select, size, toMap, toMapCollection, toQueue, toQueueCollection, toRowSet, toTableCollection, update, update, update, upsert, upsert
getCollectionName, getCollectionType, getMemoryModel, listTriggers
getId, setAccessor, setId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clear, containsPrimarykey, delete, delete, deleteAll, drainFromQueue, fromMap, fromQueue, fromRowSet, getRow, hasForeignKey, hasPrimaryKey, insert, insert, insert, insert, insertAll, insertAll, isEmpty, primaryKeySet, rowSet, select, size, toMap, toMapCollection, toQueue, toQueueCollection, toRowSet, toTableCollection, update, update, update, upsert, upsert
getCollectionName, getCollectionType, getMemoryModel, listTriggers
public void linkDataSource(java.lang.String source, boolean readOnly, boolean forStream)
FileTable
linkDataSource
in interface FileTable
source
- source filepublic void linkDataSourceForAppend(java.lang.String source, long checkInterval)
FileTable
linkDataSourceForAppend
in interface FileTable
source
- source filepublic java.lang.String getDataSource()
FileTable
getDataSource
in interface FileTable
public void relink(boolean readonly)
FileTable
public void unlink()
FileTable
public boolean isLinked()
FileTable
public void compress()
FileTable
public void decompress()
FileTable
decompress
in interface FileTable
public AppendableFileTableReader.Statistics getAppendableStatistics()
getAppendableStatistics
in interface FileTable
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.