public class JDOQLSingleStringParser extends Object
select [unique] [or] [into ] [from [exclude subclasses] ] [where ] [variables ] [parameters ] [ ] [group by ] [order by ] [range , ]
UPDATEorSET fld1 = val[, fld2 = val2] WHERE {filter}
DELETE FROMNote that {filter} can contain subqueries, hence containing keywords[exclude-subclasses] WHERE {filter}
SELECT c FROM Customer c WHERE timeAvailable < (SELECT avg(hours) FROM Employee e)So the "filter" for the outer query is "timeAvailable < (SELECT avg(hours) FROM Employee e)"
Modifier and Type | Field and Description |
---|---|
protected static Localiser |
LOCALISER
Localiser for messages.
|
Constructor and Description |
---|
JDOQLSingleStringParser(Query query,
String queryString)
Constructor for the Single-String parser.
|
Modifier and Type | Method and Description |
---|---|
void |
parse()
Method to parse the Single-String query
|
void |
setAllowDelete(boolean allow) |
void |
setAllowUpdate(boolean allow) |
protected static final Localiser LOCALISER
Copyright © 2021. All rights reserved.