public class Query extends Object
| Constructor and Description |
|---|
Query(String command) |
Query(String command,
String database) |
Query(String command,
String database,
boolean requiresPost) |
| Modifier and Type | Method and Description |
|---|---|
Query |
bindParameter(String placeholder,
Object value) |
static String |
encode(String command)
Encode a command into
x-www-form-urlencoded format. |
boolean |
equals(Object o) |
String |
getCommand() |
String |
getCommandWithUrlEncoded() |
String |
getDatabase() |
String |
getParameterJsonWithUrlEncoded() |
boolean |
hasBoundParameters() |
int |
hashCode() |
boolean |
requiresPost() |
public Query(String command)
command - the query commandpublic Query(String command, String database)
command - the query commanddatabase - the database to querypublic String getCommand()
public String getCommandWithUrlEncoded()
public String getDatabase()
public boolean requiresPost()
public boolean hasBoundParameters()
public String getParameterJsonWithUrlEncoded()
Copyright © 2025. All rights reserved.