public class KustoRequest extends Object
| Constructor and Description |
|---|
KustoRequest(String command)
A constructor providing only the command to be executed.
|
KustoRequest(String command,
ClientRequestProperties properties)
A constructor providing the command to be executed and sanitized query parameters.
|
KustoRequest(String command,
ClientRequestProperties properties,
CommandType commandType)
A constructor providing the command to be executed, the database to target, and the command type.
|
KustoRequest(String command,
CommandType commandType)
A constructor providing the command to be executed, and the command type.
|
KustoRequest(String command,
String database)
A constructor providing the command to be executed and the database to target.
|
KustoRequest(String command,
String database,
ClientRequestProperties properties)
A constructor providing the command to be executed, sanitized query parameters, and the database to target.
|
KustoRequest(String command,
String database,
ClientRequestProperties properties,
CommandType commandType)
An all args constructor providing the command to be executed, sanitized query parameters, the database to target, and the command type.
|
KustoRequest(String command,
String database,
CommandType commandType)
A constructor providing the command to be executed, the database to target, and the command type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand()
A getter for this KustoRequest object's inner command String.
|
CommandType |
getCommandType()
A getter for this KustoRequest object's inner command type.
|
String |
getDatabase()
A getter for this KustoRequest object's inner database String.
|
ClientRequestProperties |
getProperties()
A getter for this KustoRequest object's inner ClientRequestProperties.
|
int |
getRedirectCount() |
void |
setCommand(String command)
A setter for this KustoRequest object's inner command String.
|
void |
setCommandType(CommandType commandType)
A setter for this KustoRequest object's inner command type.
|
void |
setDatabase(String database)
A setter for this KustoRequest object's inner database String.
|
void |
setProperties(ClientRequestProperties properties)
A setter for this KustoRequest object's inner ClientRequestProperties.
|
void |
validateAndOptimize()
Validates and optimizes the KustoQuery object.
|
public KustoRequest(String command)
command - the command to be executedpublic KustoRequest(String command, CommandType commandType)
command - the command to be executedcommandType - the command typepublic KustoRequest(String command, String database)
command - the command to be executeddatabase - the name of the database to targetpublic KustoRequest(String command, String database, CommandType commandType)
command - the command to be executeddatabase - the name of the database to targetcommandType - the command typepublic KustoRequest(String command, ClientRequestProperties properties)
command - the command to be executedproperties - a map of query parameters and other request propertiespublic KustoRequest(String command, ClientRequestProperties properties, CommandType commandType)
command - the command to be executedproperties - a map of query parameters and other request propertiescommandType - the command typepublic KustoRequest(String command, String database, ClientRequestProperties properties)
command - the command to be executeddatabase - the name of the database to targetproperties - a map of query parameters and other request propertiespublic KustoRequest(String command, String database, ClientRequestProperties properties, CommandType commandType)
command - the command to be executeddatabase - the name of the database to targetproperties - a map of query parameters and other request propertiescommandType - the command typepublic String getCommand()
public void setCommand(String command)
command - the commandpublic CommandType getCommandType()
public void setCommandType(CommandType commandType)
commandType - the command typepublic String getDatabase()
public void setDatabase(String database)
database - the database name@Nullable public ClientRequestProperties getProperties()
public void setProperties(ClientRequestProperties properties)
properties - the propertiespublic void validateAndOptimize()
public int getRedirectCount()
Copyright © 2025. All rights reserved.