Interface OracleNoSQLTemplate
- All Superinterfaces:
org.eclipse.jnosql.mapping.document.DocumentTemplate,org.eclipse.jnosql.mapping.semistructured.SemiStructuredTemplate,jakarta.nosql.Template
public interface OracleNoSQLTemplate
extends org.eclipse.jnosql.mapping.document.DocumentTemplate
The
OracleTemplate is an interface that extends DocumentTemplate and
provides methods for executing Oracle SQL queries using the Oracle Query Language (SQL).
It allows you to interact with the Oracle NoSQL database using SQL queries to retrieve and process data in a more flexible and customizable way.
- See Also:
-
DocumentTemplate
-
Method Summary
Methods inherited from interface org.eclipse.jnosql.mapping.semistructured.SemiStructuredTemplate
count, count, count, delete, deleteAll, exists, findAll, prepare, prepare, query, query, select, selectCursor, selectOffSet, singleResult, singleResult, singleResultMethods inherited from interface jakarta.nosql.Template
delete, delete, find, insert, insert, insert, insert, select, update, update
-
Method Details
-
sql
Executes an Oracle query using the Oracle Query Language (SQL).- Type Parameters:
T- the type of objects in the result stream- Parameters:
query- the SQL query- Returns:
- a
Streamof results representing the query result - Throws:
NullPointerException- when the query is null
-
sql
Executes an Oracle query using the Oracle Query Language (SQL) with parameters.Example query:
SELECT * FROM users WHERE status = ?- Type Parameters:
T- the type of objects in the result stream- Parameters:
query- the SQL query with placeholders for parametersparams- the values to replace the placeholders in the query- Returns:
- a
Streamof results representing the query result - Throws:
NullPointerException- when either the query or params are null
-