public final class NativeTableDefinition extends Object implements IFileTableDefinition, IHasVolatility
| Constructor and Description |
|---|
NativeTableDefinition(File tabFile)
Create a new definition for a volatile MapInfo Native Table.
|
NativeTableDefinition(File tabFile,
boolean isVolatile)
Create a new definition for a MapInfo Native Table.
|
NativeTableDefinition(File tabFile,
boolean isVolatile,
boolean isReadOnly)
Create a new definition for a MapInfo Native Table.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
NativeDataProvider |
getDataProvider()
Returns the
IDataProvider implementation that supports this table type. |
File |
getDirectory()
Get the directory that contains the files of the MapInfo Native Table.
|
File |
getFile()
Get the file reference for the .tab file.
|
String |
getName()
Returns the name of the table.
|
String |
getTableName()
Get the name of the MapInfo Native Table.
|
int |
hashCode() |
boolean |
isReadOnly() |
boolean |
isVolatile()
Returns true if a table is volatile and should be checked for changes, otherwise returns false.
|
void |
setReadOnly(boolean value) |
void |
setVolatile(boolean value)
Set whether or not the table is volatile.
|
public NativeTableDefinition(File tabFile)
tabFile - The reference to the .tab file.public NativeTableDefinition(File tabFile, boolean isVolatile)
tabFile - The reference to the .tab file.isVolatile - The volatility of the table. Setting a table to be volatile disables some of the performance
optimizations reserved for tables that are not modified.public NativeTableDefinition(File tabFile, boolean isVolatile, boolean isReadOnly)
tabFile - The reference to the .tab file.isVolatile - The volatility of the table. Setting a table to be volatile disables some of the performance
optimizations reserved for tables that are not modified.isReadOnly - The readonly property of the table. Setting it to be true designates that table doesn't supports insert,
update, delete operations in the table.public NativeDataProvider getDataProvider()
ITableDefinitionIDataProvider implementation that supports this table type.getDataProvider in interface ITableDefinitionIDataProvider implementation that supports this table type.public File getFile()
getFile in interface IFileTableDefinitionpublic File getDirectory()
public String getTableName()
public String getName()
ITableDefinitiongetName in interface ITableDefinitionpublic boolean isVolatile()
IHasVolatilityisVolatile in interface IHasVolatilitypublic void setVolatile(boolean value)
public boolean isReadOnly()
public void setReadOnly(boolean value)
© 2007, 2022 Precisely. All rights reserved.