public abstract class RoverShapeTable<T extends RoverShape> extends RoverTable<T>
| Modifier and Type | Field and Description |
|---|---|
protected DynamicByteArray |
shapeBuffer |
| Constructor and Description |
|---|
RoverShapeTable(RoverDatabase database,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
RoverBytesSqlInput |
bytesForEntityId(int id) |
RoverBytesSqlInput |
bytesIn(XyBounds bounds,
double scale) |
void |
create() |
void |
delete(T oldRecord) |
int |
insert(int dataId,
T newRecord) |
java.util.List<byte[]> |
listBytes() |
java.util.List<byte[]> |
listBytesIn(XyBounds bounds,
double scale) |
java.util.List<RoverShape> |
listShapes() |
java.util.List<RoverShape> |
listShapesForEntityId(int id) |
java.util.List<RoverShape> |
listShapesIn(XyBounds bounds,
double scale) |
T |
recordWithId(int id) |
void |
removeByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName) |
void |
removeByFile(java.lang.String frontendName,
java.lang.String fileName) |
void |
removeByFrontend(java.lang.String frontendName) |
void |
update(T updatedRecord) |
void |
updateMaximumScales(float[] maximumScales) |
clear, drop, getDatabase, getDeleter, getInserter, getLastGeneratedId, getTable, getUpdaterprotected DynamicByteArray shapeBuffer
public RoverShapeTable(RoverDatabase database, java.lang.String name) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<RoverShape> listShapes()
public java.util.List<RoverShape> listShapesIn(XyBounds bounds, double scale)
public java.util.List<RoverShape> listShapesForEntityId(int id)
public java.util.List<byte[]> listBytes()
public java.util.List<byte[]> listBytesIn(XyBounds bounds, double scale)
public RoverBytesSqlInput bytesIn(XyBounds bounds, double scale)
public RoverBytesSqlInput bytesForEntityId(int id)
public void create()
throws java.sql.SQLException
create in class RoverTable<T extends RoverShape>java.sql.SQLExceptionpublic void updateMaximumScales(float[] maximumScales)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void delete(T oldRecord) throws java.sql.SQLException
delete in class RoverTable<T extends RoverShape>java.sql.SQLExceptionpublic int insert(int dataId,
T newRecord)
throws java.sql.SQLException,
java.io.IOException
insert in class RoverTable<T extends RoverShape>java.sql.SQLExceptionjava.io.IOExceptionpublic T recordWithId(int id) throws java.sql.SQLException
recordWithId in class RoverTable<T extends RoverShape>java.sql.SQLExceptionpublic void update(T updatedRecord) throws java.sql.SQLException, java.io.IOException
update in class RoverTable<T extends RoverShape>java.sql.SQLExceptionjava.io.IOExceptionpublic void removeByFrontend(java.lang.String frontendName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeByFile(java.lang.String frontendName,
java.lang.String fileName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void removeByEntity(java.lang.String frontendName,
java.lang.String fileName,
java.lang.String entityName)
throws java.sql.SQLException
java.sql.SQLException