Package | Description |
---|---|
io.quarkus.mongodb.panache |
API usage
|
Modifier and Type | Class and Description |
---|---|
class |
PanacheMongoEntity
Represents an entity with a generated ID field
PanacheMongoEntity.id of type ObjectId . |
Modifier and Type | Method and Description |
---|---|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(org.bson.Document query)
Find entities using a BSON query.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(org.bson.Document query,
org.bson.Document sort)
Find entities using a a BSON query and a BSON sort.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Map<String,Object> params)
Find entities using a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Object... params)
Find entities using a query, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Parameters params)
Find entities using a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Sort sort,
Map<String,Object> params)
Find entities using a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Sort sort,
Object... params)
Find entities using a query and the given sort options, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.find(String query,
Sort sort,
Parameters params)
Find entities using a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.findAll()
Find all entities of this type.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.findAll(Sort sort)
Find all entities of this type, in the given order.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.findById(Object id)
Find an entity of this type by ID.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.findByIdOptional(Object id)
Find an entity of this type by ID.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(org.bson.Document query)
Find entities using a BSON query.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(org.bson.Document query,
org.bson.Document sort)
Find entities using a a BSON query and a BSON sort.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Map<String,Object> params)
Find entities matching a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Object... params)
Find entities matching a query, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Parameters params)
Find entities matching a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Sort sort,
Map<String,Object> params)
Find entities matching a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Sort sort,
Object... params)
Find entities matching a query and the given sort options, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.list(String query,
Sort sort,
Parameters params)
Find entities matching a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.listAll()
Find all entities of this type.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.listAll(Sort sort)
Find all entities of this type, in the given order.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.mongoCollection()
Allow to access the underlying Mongo Collection.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(org.bson.Document query)
Find entities using a BSON query.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(org.bson.Document query,
org.bson.Document sort)
Find entities using a a BSON query and a BSON sort.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Map<String,Object> params)
Find entities matching a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Object... params)
Find entities matching a query, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Parameters params)
Find entities matching a query, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Sort sort,
Map<String,Object> params)
Find entities matching a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Sort sort,
Object... params)
Find entities matching a query and the given sort options, with optional indexed parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.stream(String query,
Sort sort,
Parameters params)
Find entities matching a query and the given sort options, with named parameters.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.streamAll()
Find all entities of this type.
|
static <T extends PanacheMongoEntityBase> |
PanacheMongoEntityBase.streamAll(Sort sort)
Find all entities of this type, in the given order.
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.