Package com.surrealdb
Class Surreal
java.lang.Object
com.surrealdb.Native
com.surrealdb.Surreal
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<T> Value
<T> T
final <T> List
<T> void
void
void
final <T> List
<T> <T extends InsertRelation>
TinsertRelation
(Class<T> type, String target, T content) <T extends InsertRelation>
ValueinsertRelation
(String target, T content) final <T extends InsertRelation>
List<T> insertRelations
(Class<T> type, String target, T... contents) final <T extends InsertRelation>
List<Value> insertRelations
(String target, T... contents) <T> Value
<R extends Relation,
T>
R<T extends Relation>
T<T> Optional
<T> <T> List
<T> <T> Iterator
<T> <T> Iterator
<T> selectSync
(Class<T> type, String targets) selectSync
(String targets) <T> Value
<T> T
<T> Iterator
<T> <T> Iterator
<T> <T> Iterator
<T> updateSync
(Class<T> type, String[] targets, UpType upType, T content) <T> Iterator
<T> updateSync
(Class<T> type, String target, UpType upType, T content) updateSync
(String[] targets, UpType upType, T content) updateSync
(String target, UpType upType, T content) <T> Value
<T> T
<T> Iterator
<T> <T> Iterator
<T> <T> Iterator
<T> upsertSync
(Class<T> type, String[] targets, UpType upType, T content) <T> Iterator
<T> upsertSync
(Class<T> type, String target, UpType upType, T content) upsertSync
(String[] targets, UpType upType, T content) upsertSync
(String target, UpType upType, T content)
-
Constructor Details
-
Surreal
public Surreal()
-
-
Method Details
-
connect
-
signin
-
useNs
-
useDb
-
query
-
queryBind
-
create
-
create
-
create
-
create
-
insert
-
insert
-
insertRelation
-
insertRelation
-
insertRelations
@SafeVarargs public final <T extends InsertRelation> List<Value> insertRelations(String target, T... contents) -
insertRelations
@SafeVarargs public final <T extends InsertRelation> List<T> insertRelations(Class<T> type, String target, T... contents) -
relate
-
relate
-
relate
-
relate
-
update
-
update
-
update
-
update
-
update
-
update
-
updateSync
-
updateSync
-
updateSync
-
updateSync
-
upsert
-
upsert
-
upsert
-
upsert
-
upsert
-
upsert
-
upsertSync
-
upsertSync
-
upsertSync
-
upsertSync
-
select
-
select
-
select
-
select
-
select
-
selectSync
-
select
-
selectSync
-
delete
-
delete
-
delete
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-