public class TdbCompressionContext
extends java.lang.Object
implements com.tietoenator.trip.jxp.internal.utils.DOMSink
Constructor and Description |
---|
TdbCompressionContext()
Constructor, create a new blank context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getKeepRecordIds()
Check whether the compression operation is maintaining record IDs.
|
int |
getMaxRecs()
Retrieve the total number of records to be compressed.
|
java.lang.String |
getNewName()
Retrieve the new filename of the database's BAF.
|
int |
getProgress()
Retrieve the progress made to date by the compression operation.
|
boolean |
hasUnindexedRecords()
Check if the database to be compressed contains modified unindexed records.
|
boolean |
isComplete()
Check whether the compression operation has completed on the server
|
boolean |
isStarted()
Check whether the compression operation has been started on the server
|
void |
setKeepRecordIds(boolean keep)
Establish whether to maintain record IDs during compression.
|
void |
setNewName(java.lang.String filename)
Set the new filename of the database's BAF.
|
public TdbCompressionContext()
public boolean isStarted()
public boolean isComplete()
public boolean hasUnindexedRecords()
public java.lang.String getNewName()
public void setNewName(java.lang.String filename)
filename
- The name of the new file.public int getMaxRecs()
public int getProgress()
public boolean getKeepRecordIds()
public void setKeepRecordIds(boolean keep)
keep
- Flag determining whether to keep record IDs during compression.