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 longgetCreatedTime()int64 createdTime = 3;StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;intgetNodeId()Id of the node to execute the queryStringgetQueryText()string queryText = 4;com.google.protobuf.ByteStringgetQueryTextBytes()string queryText = 4;StringgetResultName()string resultName = 6;com.google.protobuf.ByteStringgetResultNameBytes()string resultName = 6;StringgetSources(int index)repeated string sources = 5;com.google.protobuf.ByteStringgetSourcesBytes(int index)repeated string sources = 5;intgetSourcesCount()repeated string sources = 5;List<String>getSourcesList()repeated string sources = 5;TaskStatusPBgetStatus().hstream.server.TaskStatusPB status = 2;intgetStatusValue().hstream.server.TaskStatusPB status = 2;QueryTypegetType()type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view nameintgetTypeValue()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.
-
-