Package io.hstream.internal
Interface QueryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Query
,Query.Builder
public interface QueryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCreatedTime()
int64 createdTime = 3;
String
getId()
string id = 1;
com.google.protobuf.ByteString
getIdBytes()
string id = 1;
int
getNodeId()
Id of the node to execute the queryString
getQueryText()
string queryText = 4;
com.google.protobuf.ByteString
getQueryTextBytes()
string queryText = 4;
String
getResultName()
string resultName = 6;
com.google.protobuf.ByteString
getResultNameBytes()
string resultName = 6;
String
getSources(int index)
repeated string sources = 5;
com.google.protobuf.ByteString
getSourcesBytes(int index)
repeated string sources = 5;
int
getSourcesCount()
repeated string sources = 5;
List<String>
getSourcesList()
repeated string sources = 5;
TaskStatusPB
getStatus()
.hstream.server.TaskStatusPB status = 2;
int
getStatusValue()
.hstream.server.TaskStatusPB status = 2;
QueryType
getType()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view nameint
getTypeValue()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1;
- Returns:
- The bytes for id.
-
getStatusValue
int getStatusValue()
.hstream.server.TaskStatusPB status = 2;
- Returns:
- The enum numeric value on the wire for status.
-
getStatus
TaskStatusPB getStatus()
.hstream.server.TaskStatusPB status = 2;
- Returns:
- The status.
-
getCreatedTime
long getCreatedTime()
int64 createdTime = 3;
- Returns:
- The createdTime.
-
getQueryText
String getQueryText()
string queryText = 4;
- Returns:
- The queryText.
-
getQueryTextBytes
com.google.protobuf.ByteString getQueryTextBytes()
string queryText = 4;
- Returns:
- The bytes for queryText.
-
getSourcesList
List<String> getSourcesList()
repeated string sources = 5;
- Returns:
- A list containing the sources.
-
getSourcesCount
int getSourcesCount()
repeated string sources = 5;
- Returns:
- The count of sources.
-
getSources
String getSources(int index)
repeated string sources = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The sources at the given index.
-
getSourcesBytes
com.google.protobuf.ByteString getSourcesBytes(int index)
repeated string sources = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sources at the given index.
-
getResultName
String getResultName()
string resultName = 6;
- Returns:
- The resultName.
-
getResultNameBytes
com.google.protobuf.ByteString getResultNameBytes()
string resultName = 6;
- Returns:
- The bytes for resultName.
-
getTypeValue
int getTypeValue()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name
.hstream.server.QueryType type = 7;
- Returns:
- The enum numeric value on the wire for type.
-
getType
QueryType getType()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name
.hstream.server.QueryType type = 7;
- Returns:
- The type.
-
getNodeId
int getNodeId()
Id of the node to execute the query
uint32 nodeId = 8;
- Returns:
- The nodeId.
-
-