public class Nrql extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Nrql.Builder
Builder to make nrql construction easier.
|
Modifier and Type | Field and Description |
---|---|
static String |
QUERY |
static String |
SINCE_VALUE |
Constructor and Description |
---|
Nrql()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static Nrql.Builder |
builder()
Returns a builder for the nrql.
|
String |
getQuery()
Returns the query of the nrql.
|
String |
getSinceValue()
Returns the since value of the nrql.
|
void |
setQuery(String query)
Sets the query of the nrql.
|
void |
setSinceValue(int sinceValue)
Sets the since value of the nrql in minutes.
|
void |
setSinceValue(String sinceValue)
Sets the since value of the nrql in minutes.
|
String |
toString()
Returns a string representation of the object.
|
public static final String QUERY
public static final String SINCE_VALUE
public void setQuery(String query)
query
- The query of the nrqlpublic String getQuery()
public void setSinceValue(String sinceValue)
sinceValue
- The since value of the nrqlpublic void setSinceValue(int sinceValue)
sinceValue
- The since value of the nrqlpublic String getSinceValue()
public String toString()
public static Nrql.Builder builder()
Copyright © 2018. All rights reserved.