public interface JDBCNDArrayIO
| Modifier and Type | Method and Description |
|---|---|
Blob |
convert(IComplexNDArray toConvert)
Convert an ndarray to a blob
|
Blob |
convert(INDArray toConvert)
Convert an ndarray to a blob
|
void |
delete(String id)
Delete the given ndarray
|
String |
deleteStatement()
Create an insert statement
|
String |
insertStatement()
Create an insert statement
|
INDArray |
load(Blob blob)
Load an ndarray from a blob
|
IComplexNDArray |
loadComplex(Blob blob)
Load a complex ndarray from a blob
|
Blob |
loadForID(String id)
Load an ndarray blob given an id
|
String |
loadStatement()
Create an insert statement
|
void |
save(IComplexNDArray save,
String id)
Save the ndarray
|
void |
save(INDArray save,
String id)
Save the ndarray
|
Blob convert(IComplexNDArray toConvert) throws IOException, SQLException
toConvert - the complex ndarray to convertIOExceptionSQLExceptionBlob convert(INDArray toConvert) throws SQLException, IOException
toConvert - the ndarray to convertSQLExceptionIOExceptionINDArray load(Blob blob) throws IOException, SQLException
blob - the blob to load fromIOExceptionSQLExceptionIComplexNDArray loadComplex(Blob blob) throws IOException, SQLException
blob - the blob to load fromIOExceptionSQLExceptionString insertStatement()
String loadStatement()
String deleteStatement()
void save(INDArray save, String id) throws SQLException, IOException
save - the ndarray to saveSQLExceptionIOExceptionvoid save(IComplexNDArray save, String id) throws IOException, SQLException
save - the ndarray to saveIOExceptionSQLExceptionBlob loadForID(String id) throws SQLException
id - the id to loadSQLExceptionvoid delete(String id) throws SQLException
id - the id of the ndarray to deleteSQLExceptionCopyright © 2016. All Rights Reserved.