public interface FileTable extends Table
Title: Dataspace Framework
Description: File Table collection interface.
Table
javadoc. * Copyright: Copyright (c) 2011
Company: StreamScape Technologies
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
void linkDataSource(java.lang.String source, boolean readOnly, boolean forStream)
source
- source filereadOnly
- forStream
- void linkDataSourceForAppend(java.lang.String source, long checkInterval)
source
- source filecheckInterval
- java.lang.String getDataSource()
void relink(boolean readonly)
readonly
- void unlink()
boolean isLinked()
void compress()
void decompress()
void truncate()
void truncate(boolean force)
AppendableFileTableReader.Statistics getAppendableStatistics()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.