public class ActiveSearch extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FORMAT_STRING |
static int |
SEARCH_MAX_LENGTH |
static int |
SEARCH_PAD_LENGTH |
static int |
SOURCE_MAX_LENGTH |
static int |
SOURCE_PAD_LENGTH |
static int |
TIME_MAX_LENGTH |
static int |
TIME_PAD_LENGTH |
static int |
USER_MAX_LENGTH |
static int |
USER_PAD_LENGTH |
static int |
UUID_MAX_LENGTH |
static int |
UUID_PAD_LENGTH |
Constructor and Description |
---|
ActiveSearch(Source source,
QueryRequest request) |
ActiveSearch(String cqlQuery,
Source source,
UUID uniqueID,
String clientInfo)
Constructor for an
ActiveSearch . |
Modifier and Type | Method and Description |
---|---|
String |
getClientInfo()
Returns the client information for this
ActiveSearch |
String |
getCQL() |
Source |
getSource()
Returns the source information for this
ActiveSearch |
Date |
getStartTime()
Returns a
Date representing the approximate time this search started. |
UUID |
getUniqueID()
Returns the
UUID for this ActiveSearch |
String |
toFormattedString() |
public static final int USER_PAD_LENGTH
public static final int SOURCE_PAD_LENGTH
public static final int SEARCH_PAD_LENGTH
public static final int TIME_PAD_LENGTH
public static final int UUID_PAD_LENGTH
public static final int USER_MAX_LENGTH
public static final int SOURCE_MAX_LENGTH
public static final int SEARCH_MAX_LENGTH
public static final int TIME_MAX_LENGTH
public static final int UUID_MAX_LENGTH
public static final String FORMAT_STRING
public ActiveSearch(String cqlQuery, Source source, UUID uniqueID, String clientInfo)
ActiveSearch
.public ActiveSearch(Source source, QueryRequest request)
public String getCQL()
public Date getStartTime()
Date
representing the approximate time this search started.Date
representing the approximate time the search started.public Source getSource()
ActiveSearch
Source
representing the source being queried by this ActiveSearch
. Can
return null
when the object was created using a null source parameter to the
constructor.public UUID getUniqueID()
UUID
for this ActiveSearch
UUID
representing the unique identifier for this ActiveSearch
.public String getClientInfo()
ActiveSearch
public String toFormattedString()
This work is licensed under a Creative Commons Attribution 4.0 International License.