Package io.hstream.internal
Class Query
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite
- 
- com.google.protobuf.AbstractMessage
- 
- com.google.protobuf.GeneratedMessageV3
- 
- io.hstream.internal.Query
 
 
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Message,- com.google.protobuf.MessageLite,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- QueryOrBuilder,- Serializable
 
 public final class Query extends com.google.protobuf.GeneratedMessageV3 implements QueryOrBuilder Protobuf typehstream.server.Query- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classQuery.BuilderProtobuf typehstream.server.Query- 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intCREATEDTIME_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNODEID_FIELD_NUMBERstatic intQUERYTEXT_FIELD_NUMBERstatic intRESULTNAME_FIELD_NUMBERstatic intSOURCES_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetCreatedTime()int64 createdTime = 3;static QuerygetDefaultInstance()QuerygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;intgetNodeId()Id of the node to execute the querycom.google.protobuf.Parser<Query>getParserForType()StringgetQueryText()string queryText = 4;com.google.protobuf.ByteStringgetQueryTextBytes()string queryText = 4;StringgetResultName()string resultName = 6;com.google.protobuf.ByteStringgetResultNameBytes()string resultName = 6;intgetSerializedSize()StringgetSources(int index)repeated string sources = 5;com.google.protobuf.ByteStringgetSourcesBytes(int index)repeated string sources = 5;intgetSourcesCount()repeated string sources = 5;com.google.protobuf.ProtocolStringListgetSourcesList()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 nameinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Query.BuildernewBuilder()static Query.BuildernewBuilder(Query prototype)Query.BuildernewBuilderForType()protected Query.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static QueryparseDelimitedFrom(InputStream input)static QueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryparseFrom(byte[] data)static QueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryparseFrom(com.google.protobuf.ByteString data)static QueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryparseFrom(com.google.protobuf.CodedInputStream input)static QueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryparseFrom(InputStream input)static QueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QueryparseFrom(ByteBuffer data)static QueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Query>parser()Query.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
 - 
Methods inherited from class com.google.protobuf.AbstractMessagefindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLiteaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Field Detail- 
ID_FIELD_NUMBERpublic static final int ID_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
STATUS_FIELD_NUMBERpublic static final int STATUS_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
CREATEDTIME_FIELD_NUMBERpublic static final int CREATEDTIME_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
QUERYTEXT_FIELD_NUMBERpublic static final int QUERYTEXT_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
SOURCES_FIELD_NUMBERpublic static final int SOURCES_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
RESULTNAME_FIELD_NUMBERpublic static final int RESULTNAME_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
TYPE_FIELD_NUMBERpublic static final int TYPE_FIELD_NUMBER - See Also:
- Constant Field Values
 
 - 
NODEID_FIELD_NUMBERpublic static final int NODEID_FIELD_NUMBER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
newInstanceprotected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) - Overrides:
- newInstancein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getIdpublic String getId() string id = 1;- Specified by:
- getIdin interface- QueryOrBuilder
- Returns:
- The id.
 
 - 
getIdBytespublic com.google.protobuf.ByteString getIdBytes() string id = 1;- Specified by:
- getIdBytesin interface- QueryOrBuilder
- Returns:
- The bytes for id.
 
 - 
getStatusValuepublic int getStatusValue() .hstream.server.TaskStatusPB status = 2;- Specified by:
- getStatusValuein interface- QueryOrBuilder
- Returns:
- The enum numeric value on the wire for status.
 
 - 
getStatuspublic TaskStatusPB getStatus() .hstream.server.TaskStatusPB status = 2;- Specified by:
- getStatusin interface- QueryOrBuilder
- Returns:
- The status.
 
 - 
getCreatedTimepublic long getCreatedTime() int64 createdTime = 3;- Specified by:
- getCreatedTimein interface- QueryOrBuilder
- Returns:
- The createdTime.
 
 - 
getQueryTextpublic String getQueryText() string queryText = 4;- Specified by:
- getQueryTextin interface- QueryOrBuilder
- Returns:
- The queryText.
 
 - 
getQueryTextBytespublic com.google.protobuf.ByteString getQueryTextBytes() string queryText = 4;- Specified by:
- getQueryTextBytesin interface- QueryOrBuilder
- Returns:
- The bytes for queryText.
 
 - 
getSourcesListpublic com.google.protobuf.ProtocolStringList getSourcesList() repeated string sources = 5;- Specified by:
- getSourcesListin interface- QueryOrBuilder
- Returns:
- A list containing the sources.
 
 - 
getSourcesCountpublic int getSourcesCount() repeated string sources = 5;- Specified by:
- getSourcesCountin interface- QueryOrBuilder
- Returns:
- The count of sources.
 
 - 
getSourcespublic String getSources(int index) repeated string sources = 5;- Specified by:
- getSourcesin interface- QueryOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The sources at the given index.
 
 - 
getSourcesBytespublic com.google.protobuf.ByteString getSourcesBytes(int index) repeated string sources = 5;- Specified by:
- getSourcesBytesin interface- QueryOrBuilder
- Parameters:
- index- The index of the value to return.
- Returns:
- The bytes of the sources at the given index.
 
 - 
getResultNamepublic String getResultName() string resultName = 6;- Specified by:
- getResultNamein interface- QueryOrBuilder
- Returns:
- The resultName.
 
 - 
getResultNameBytespublic com.google.protobuf.ByteString getResultNameBytes() string resultName = 6;- Specified by:
- getResultNameBytesin interface- QueryOrBuilder
- Returns:
- The bytes for resultName.
 
 - 
getTypeValuepublic int getTypeValue() type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name.hstream.server.QueryType type = 7;- Specified by:
- getTypeValuein interface- QueryOrBuilder
- Returns:
- The enum numeric value on the wire for type.
 
 - 
getTypepublic QueryType getType() type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name.hstream.server.QueryType type = 7;- Specified by:
- getTypein interface- QueryOrBuilder
- Returns:
- The type.
 
 - 
getNodeIdpublic int getNodeId() Id of the node to execute the query uint32 nodeId = 8;- Specified by:
- getNodeIdin interface- QueryOrBuilder
- Returns:
- The nodeId.
 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3
 
 - 
writeTopublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
- writeToin interface- com.google.protobuf.MessageLite
- Overrides:
- writeToin class- com.google.protobuf.GeneratedMessageV3
- Throws:
- IOException
 
 - 
getSerializedSizepublic int getSerializedSize() - Specified by:
- getSerializedSizein interface- com.google.protobuf.MessageLite
- Overrides:
- getSerializedSizein class- com.google.protobuf.GeneratedMessageV3
 
 - 
equalspublic boolean equals(Object obj) - Specified by:
- equalsin interface- com.google.protobuf.Message
- Overrides:
- equalsin class- com.google.protobuf.AbstractMessage
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- com.google.protobuf.Message
- Overrides:
- hashCodein class- com.google.protobuf.AbstractMessage
 
 - 
parseFrompublic static Query parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
- com.google.protobuf.InvalidProtocolBufferException
 
 - 
parseFrompublic static Query parseFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Query parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Query parseDelimitedFrom(InputStream input) throws IOException - Throws:
- IOException
 
 - 
parseDelimitedFrompublic static Query parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Query parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
- IOException
 
 - 
parseFrompublic static Query parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
- IOException
 
 - 
newBuilderForTypepublic Query.Builder newBuilderForType() - Specified by:
- newBuilderForTypein interface- com.google.protobuf.Message
- Specified by:
- newBuilderForTypein interface- com.google.protobuf.MessageLite
 
 - 
newBuilderpublic static Query.Builder newBuilder() 
 - 
newBuilderpublic static Query.Builder newBuilder(Query prototype) 
 - 
toBuilderpublic Query.Builder toBuilder() - Specified by:
- toBuilderin interface- com.google.protobuf.Message
- Specified by:
- toBuilderin interface- com.google.protobuf.MessageLite
 
 - 
newBuilderForTypeprotected Query.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
- newBuilderForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstancepublic static Query getDefaultInstance() 
 - 
parserpublic static com.google.protobuf.Parser<Query> parser() 
 - 
getParserForTypepublic com.google.protobuf.Parser<Query> getParserForType() - Specified by:
- getParserForTypein interface- com.google.protobuf.Message
- Specified by:
- getParserForTypein interface- com.google.protobuf.MessageLite
- Overrides:
- getParserForTypein class- com.google.protobuf.GeneratedMessageV3
 
 - 
getDefaultInstanceForTypepublic Query getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 
- 
 
-