public class FeatureIndexerIdQuery extends Object
| Constructor and Description |
|---|
FeatureIndexerIdQuery()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
aboveMaxArguments()
Check if the total number of query arguments is above the maximum allowed in a single query
|
boolean |
aboveMaxArguments(int additionalArgs)
Check if the total number of query arguments is above the maximum allowed in a single query
|
boolean |
aboveMaxArguments(String[] additionalArgs)
Check if the total number of query arguments is above the maximum allowed in a single query
|
void |
addArgument(long id)
Add an id argument
|
String[] |
getArgs()
Get the arguments
|
int |
getCount()
Get the number of ids
|
Set<Long> |
getIds()
Get the set of ids
|
String |
getSql()
Get the SQL statement
|
boolean |
hasId(long id)
Check if the query has the id
|
public void addArgument(long id)
id - id valuepublic int getCount()
public boolean hasId(long id)
id - idpublic boolean aboveMaxArguments()
public boolean aboveMaxArguments(String[] additionalArgs)
additionalArgs - additional argumentspublic boolean aboveMaxArguments(int additionalArgs)
additionalArgs - additional argument countpublic String getSql()
public String[] getArgs()