PLC or NLC
is preferred.@Deprecated public static final class CQLBuilder.LCCB extends CQLBuilder
N.println(LCCB.select("firstName", "lastName").from("account").where(L.eq("id", 1)).sql());
// SELECT firstName, lastName FROM account WHERE id = 1
CQLBuilder.ACCB, CQLBuilder.CP, CQLBuilder.LCCB, CQLBuilder.NAC, CQLBuilder.NLC, CQLBuilder.NSC, CQLBuilder.PAC, CQLBuilder.PLC, CQLBuilder.PSC, CQLBuilder.SCCB
COUNT_ALL, DISTINCT
Modifier and Type | Method and Description |
---|---|
static CQLBuilder |
delete(Class<?> entityClass)
Deprecated.
Delete.
|
static CQLBuilder |
delete(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Delete.
|
static CQLBuilder |
delete(Collection<String> columnNames)
Deprecated.
Delete.
|
static CQLBuilder |
delete(String... columnNames)
Deprecated.
Delete.
|
static CQLBuilder |
delete(String expr)
Deprecated.
Delete.
|
static CQLBuilder |
deleteFrom(Class<?> entityClass)
Deprecated.
Delete from.
|
static CQLBuilder |
deleteFrom(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Delete from.
|
static CQLBuilder |
deleteFrom(String tableName)
Deprecated.
Delete from.
|
static CQLBuilder |
insert(Class<?> entityClass)
Deprecated.
Insert.
|
static CQLBuilder |
insert(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Insert.
|
static CQLBuilder |
insert(Collection<String> columnNames)
Deprecated.
Insert.
|
static CQLBuilder |
insert(Map<String,Object> props)
Deprecated.
Insert.
|
static CQLBuilder |
insert(Object entity)
Deprecated.
Insert.
|
static CQLBuilder |
insert(Object entity,
Set<String> excludedPropNames)
Deprecated.
Insert.
|
static CQLBuilder |
insert(String... columnNames)
Deprecated.
Insert.
|
static CQLBuilder |
insert(String expr)
Deprecated.
Insert.
|
static CQLBuilder |
insertInto(Class<?> entityClass)
Deprecated.
Insert into.
|
static CQLBuilder |
insertInto(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Insert into.
|
static CQLBuilder |
select(Class<?> entityClass)
Deprecated.
Select.
|
static CQLBuilder |
select(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Select.
|
static CQLBuilder |
select(Collection<String> columnNames)
Deprecated.
Select.
|
static CQLBuilder |
select(Map<String,String> columnAliases)
Deprecated.
Select.
|
static CQLBuilder |
select(String... columnNames)
Deprecated.
Select.
|
static CQLBuilder |
select(String expr)
Deprecated.
Select.
|
static CQLBuilder |
select(String expr,
Collection<String> columnNames)
Deprecated.
Select.
|
static CQLBuilder |
select(String expr,
Map<String,String> columnAliases)
Deprecated.
Select.
|
static CQLBuilder |
selectFrom(Class<?> entityClass)
Deprecated.
Select from.
|
static CQLBuilder |
selectFrom(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Select from.
|
static CQLBuilder |
update(Class<?> entityClass)
Deprecated.
Update.
|
static CQLBuilder |
update(Class<?> entityClass,
Set<String> excludedPropNames)
Deprecated.
Update.
|
static CQLBuilder |
update(String tableName)
Deprecated.
Update.
|
accept, allowFiltering, apply, cql, from, from, from, from, from, iF, iF, ifExists, ifNotExists, into, into, limit, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, pair, parameters, repeatQM, set, set, set, set, set, set, set, set, toString, usingTimestamp, usingTimestamp, usingTimestamp, usingTTL, usingTTL, where, where
public static CQLBuilder insert(String expr)
expr
- the expr@SafeVarargs public static CQLBuilder insert(String... columnNames)
columnNames
- the column namespublic static CQLBuilder insert(Collection<String> columnNames)
columnNames
- the column namespublic static CQLBuilder insert(Map<String,Object> props)
props
- the propspublic static CQLBuilder insert(Object entity)
entity
- the entitypublic static CQLBuilder insert(Object entity, Set<String> excludedPropNames)
entity
- the entityexcludedPropNames
- the excluded prop namespublic static CQLBuilder insert(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder insert(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder insertInto(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder insertInto(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder select(String expr)
expr
- the expr@SafeVarargs public static CQLBuilder select(String... columnNames)
columnNames
- the column namespublic static CQLBuilder select(Collection<String> columnNames)
columnNames
- the column namespublic static CQLBuilder select(String expr, Collection<String> columnNames)
expr
- ALL | DISTINCT | DISTINCTROW...
columnNames
- the column namespublic static CQLBuilder select(Map<String,String> columnAliases)
columnAliases
- the column aliasespublic static CQLBuilder select(String expr, Map<String,String> columnAliases)
expr
- ALL | DISTINCT | DISTINCTROW...
columnAliases
- the column aliasespublic static CQLBuilder select(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder select(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder selectFrom(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder selectFrom(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder update(String tableName)
tableName
- the table namepublic static CQLBuilder update(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder update(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder delete(String expr)
expr
- the expr@SafeVarargs public static CQLBuilder delete(String... columnNames)
columnNames
- the column namespublic static CQLBuilder delete(Collection<String> columnNames)
columnNames
- the column namespublic static CQLBuilder delete(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder delete(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namespublic static CQLBuilder deleteFrom(String tableName)
tableName
- the table namepublic static CQLBuilder deleteFrom(Class<?> entityClass)
entityClass
- the entity classpublic static CQLBuilder deleteFrom(Class<?> entityClass, Set<String> excludedPropNames)
entityClass
- the entity classexcludedPropNames
- the excluded prop namesCopyright © 2019. All rights reserved.