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 Summary
Nested Classes Modifier and Type Class Description static classQuery.BuilderProtobuf typehstream.server.Query-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.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 Summary
Fields 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 Summary
All 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.GeneratedMessageV3
canUseUnsafe, 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.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATEDTIME_FIELD_NUMBER
public static final int CREATEDTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERYTEXT_FIELD_NUMBER
public static final int QUERYTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCES_FIELD_NUMBER
public static final int SOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESULTNAME_FIELD_NUMBER
public static final int RESULTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODEID_FIELD_NUMBER
public static final int NODEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getId
public String getId()
string id = 1;- Specified by:
getIdin interfaceQueryOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceQueryOrBuilder- Returns:
- The bytes for id.
-
getStatusValue
public int getStatusValue()
.hstream.server.TaskStatusPB status = 2;- Specified by:
getStatusValuein interfaceQueryOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public TaskStatusPB getStatus()
.hstream.server.TaskStatusPB status = 2;- Specified by:
getStatusin interfaceQueryOrBuilder- Returns:
- The status.
-
getCreatedTime
public long getCreatedTime()
int64 createdTime = 3;- Specified by:
getCreatedTimein interfaceQueryOrBuilder- Returns:
- The createdTime.
-
getQueryText
public String getQueryText()
string queryText = 4;- Specified by:
getQueryTextin interfaceQueryOrBuilder- Returns:
- The queryText.
-
getQueryTextBytes
public com.google.protobuf.ByteString getQueryTextBytes()
string queryText = 4;- Specified by:
getQueryTextBytesin interfaceQueryOrBuilder- Returns:
- The bytes for queryText.
-
getSourcesList
public com.google.protobuf.ProtocolStringList getSourcesList()
repeated string sources = 5;- Specified by:
getSourcesListin interfaceQueryOrBuilder- Returns:
- A list containing the sources.
-
getSourcesCount
public int getSourcesCount()
repeated string sources = 5;- Specified by:
getSourcesCountin interfaceQueryOrBuilder- Returns:
- The count of sources.
-
getSources
public String getSources(int index)
repeated string sources = 5;- Specified by:
getSourcesin interfaceQueryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sources at the given index.
-
getSourcesBytes
public com.google.protobuf.ByteString getSourcesBytes(int index)
repeated string sources = 5;- Specified by:
getSourcesBytesin interfaceQueryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sources at the given index.
-
getResultName
public String getResultName()
string resultName = 6;- Specified by:
getResultNamein interfaceQueryOrBuilder- Returns:
- The resultName.
-
getResultNameBytes
public com.google.protobuf.ByteString getResultNameBytes()
string resultName = 6;- Specified by:
getResultNameBytesin interfaceQueryOrBuilder- Returns:
- The bytes for resultName.
-
getTypeValue
public int getTypeValue()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name.hstream.server.QueryType type = 7;- Specified by:
getTypeValuein interfaceQueryOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public QueryType getType()
type: CreateStreamAs: resultName is result stream name CreateViewAs: resultName is result view name.hstream.server.QueryType type = 7;- Specified by:
getTypein interfaceQueryOrBuilder- Returns:
- The type.
-
getNodeId
public int getNodeId()
Id of the node to execute the query
uint32 nodeId = 8;- Specified by:
getNodeIdin interfaceQueryOrBuilder- Returns:
- The nodeId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Query parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Query parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Query parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Query parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Query parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Query parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Query parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Query.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Query.Builder newBuilder()
-
newBuilder
public static Query.Builder newBuilder(Query prototype)
-
toBuilder
public Query.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Query.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Query getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Query> parser()
-
getParserForType
public com.google.protobuf.Parser<Query> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Query getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-