Class TableData
java.lang.Object
com.inductiveautomation.snap.filedata.SnapData
com.inductiveautomation.snap.filedata.TableData
A file that represents a table of data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the entity for this table.void
delete()
Override to delete entity.static TableData
Returns the TableData for given file.Returns the entity.Returns a list of rows for a query.getTable()
Returns the SnapTable for this TableFile.Returns the default view for this table.void
refresh()
Reverts file.void
save()
Override to save entity.void
Sets the entity.Methods inherited from class com.inductiveautomation.snap.filedata.SnapData
createBytes, createSourceURL, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, setBytes, setSource
-
Constructor Details
-
TableData
public TableData()
-
-
Method Details
-
getEntity
Returns the entity. -
setEntity
Sets the entity. -
createEntity
Creates the entity for this table. -
getTable
Returns the SnapTable for this TableFile. -
getTableView
Returns the default view for this table. -
getRows
Returns a list of rows for a query. -
refresh
public void refresh()Reverts file. -
save
Override to save entity. -
delete
Override to delete entity. -
get
Returns the TableData for given file.
-