A B C D E F G H I L N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ack() - Method in class io.hstream.impl.ResponderImpl
- ack() - Method in interface io.hstream.Responder
-
used to respond server when receive messages.
- add(boolean) - Method in class io.hstream.HArrayBuilder
- add(double) - Method in class io.hstream.HArrayBuilder
- add(int) - Method in class io.hstream.HArrayBuilder
- add(long) - Method in class io.hstream.HArrayBuilder
- add(HArray) - Method in class io.hstream.HArrayBuilder
- add(HRecord) - Method in class io.hstream.HArrayBuilder
- add(String) - Method in class io.hstream.HArrayBuilder
B
- build() - Method in class io.hstream.ClientBuilder
- build() - Method in class io.hstream.ConsumerBuilder
- build() - Method in class io.hstream.HArrayBuilder
- build() - Method in class io.hstream.HRecordBuilder
- build() - Method in class io.hstream.ProducerBuilder
- build() - Method in class io.hstream.QueryerBuilder
-
Construct the final
Queryer
instance. - builder() - Static method in interface io.hstream.HStreamClient
-
a static method use to create a new client.
- buildHStreamRecordFromHRecord(HRecord) - Static method in class io.hstream.util.RecordUtils
- buildHStreamRecordFromRawRecord(byte[]) - Static method in class io.hstream.util.RecordUtils
C
- ClientBuilder - Class in io.hstream
-
used to construct a hstream client, which you can use it to interact with hstream server
- ClientBuilder() - Constructor for class io.hstream.ClientBuilder
- ClientImpl - Class in io.hstream.impl
- ClientImpl(String) - Constructor for class io.hstream.impl.ClientImpl
- close() - Method in class io.hstream.impl.ClientImpl
- Consumer - Interface in io.hstream
-
The consumer interface of hstream consumer
- ConsumerBuilder - Class in io.hstream
-
used to construct a consumer
- ConsumerBuilder(HStreamApiGrpc.HStreamApiStub, HStreamApiGrpc.HStreamApiBlockingStub) - Constructor for class io.hstream.ConsumerBuilder
- ConsumerException(String) - Constructor for exception io.hstream.HStreamDBClientException.ConsumerException
- ConsumerException(String, Throwable) - Constructor for exception io.hstream.HStreamDBClientException.ConsumerException
- ConsumerImpl - Class in io.hstream.impl
- ConsumerImpl(HStreamApiGrpc.HStreamApiStub, HStreamApiGrpc.HStreamApiBlockingStub, String, String, RawRecordReceiver, HRecordReceiver) - Constructor for class io.hstream.impl.ConsumerImpl
- createStream(String) - Method in interface io.hstream.HStreamClient
-
Create a stream.
- createStream(String) - Method in class io.hstream.impl.ClientImpl
- createSubscription(Subscription) - Method in interface io.hstream.HStreamClient
-
Create a new Subscription.
- createSubscription(Subscription) - Method in class io.hstream.impl.ClientImpl
D
- deleteStream(String) - Method in interface io.hstream.HStreamClient
-
Delete specified stream with streamName.
- deleteStream(String) - Method in class io.hstream.impl.ClientImpl
- deleteSubscription(String) - Method in interface io.hstream.HStreamClient
-
Delete specified subscription with subscriptionId.
- deleteSubscription(String) - Method in class io.hstream.impl.ClientImpl
- doStart() - Method in class io.hstream.impl.ConsumerImpl
- doStart() - Method in class io.hstream.impl.QueryerImpl
- doStop() - Method in class io.hstream.impl.ConsumerImpl
- doStop() - Method in class io.hstream.impl.QueryerImpl
E
- EARLIEST - io.hstream.SubscriptionOffset.SpecialOffset
-
Start consuming messages from the earliest position in the stream
- enableBatch() - Method in class io.hstream.ProducerBuilder
- equals(Object) - Method in class io.hstream.RecordId
- equals(Object) - Method in class io.hstream.Stream
- equals(Object) - Method in class io.hstream.Subscription
- equals(Object) - Method in class io.hstream.SubscriptionOffset
F
- flush() - Method in class io.hstream.impl.ProducerImpl
- flush() - Method in interface io.hstream.Producer
-
Flush buffed message.
G
- getBatchId() - Method in class io.hstream.RecordId
-
get the unique identification number of the data record
- getBatchIndex() - Method in class io.hstream.RecordId
-
get the index of the data record in its own batch
- getBoolean(int) - Method in class io.hstream.HArray
- getBoolean(String) - Method in class io.hstream.HRecord
- getDelegate() - Method in class io.hstream.HArray
- getDelegate() - Method in class io.hstream.HRecord
- getDouble(int) - Method in class io.hstream.HArray
- getDouble(String) - Method in class io.hstream.HRecord
- getHArray(int) - Method in class io.hstream.HArray
- getHArray(String) - Method in class io.hstream.HRecord
- getHRecord() - Method in class io.hstream.ReceivedHRecord
- getHRecord(int) - Method in class io.hstream.HArray
- getHRecord(String) - Method in class io.hstream.HRecord
- getInt(int) - Method in class io.hstream.HArray
- getInt(String) - Method in class io.hstream.HRecord
- getLong(int) - Method in class io.hstream.HArray
- getLong(String) - Method in class io.hstream.HRecord
- getRawRecord() - Method in class io.hstream.ReceivedRawRecord
- getRecordId() - Method in class io.hstream.ReceivedHRecord
- getRecordId() - Method in class io.hstream.ReceivedRawRecord
- getReplicationFactor() - Method in class io.hstream.Stream
-
get the replication factor of the stream
- getSpecialOffset() - Method in class io.hstream.SubscriptionOffset
-
get the offset
- getStreamName() - Method in class io.hstream.Stream
-
get the name of the stream
- getStreamName() - Method in class io.hstream.Subscription
-
get the name of stream being subscribed to
- getString(int) - Method in class io.hstream.HArray
- getString(String) - Method in class io.hstream.HRecord
- getSubscriptionId() - Method in class io.hstream.Subscription
-
get the identifier of the subscription
- getSubscriptionOffset() - Method in class io.hstream.Subscription
-
get the subscription offset
- GrpcUtils - Class in io.hstream.util
-
A class of utility functions to convert between the GRPC generated classes and the custom classes e.g.
- GrpcUtils() - Constructor for class io.hstream.util.GrpcUtils
H
- HArray - Class in io.hstream
-
a data structure like array
- HArray(ListValue) - Constructor for class io.hstream.HArray
- HArrayBuilder - Class in io.hstream
-
the
HArray
constructor - HArrayBuilder() - Constructor for class io.hstream.HArrayBuilder
- hashCode() - Method in class io.hstream.RecordId
- hashCode() - Method in class io.hstream.Stream
- hashCode() - Method in class io.hstream.Subscription
- hashCode() - Method in class io.hstream.SubscriptionOffset
- HRecord - Class in io.hstream
-
the data structure defined by hstream
- HRecord(Struct) - Constructor for class io.hstream.HRecord
- HRecordBuilder - Class in io.hstream
-
used to construct a
HRecord
- HRecordBuilder() - Constructor for class io.hstream.HRecordBuilder
- hRecordReceiver(HRecordReceiver) - Method in class io.hstream.ConsumerBuilder
- HRecordReceiver - Interface in io.hstream
-
the interface that user use to process
HRecord
received from server - HStreamClient - Interface in io.hstream
-
HstreamClient implement the hstream client, user can use it to interact with server
- HStreamDBClientException - Exception in io.hstream
-
Client exception definition
- HStreamDBClientException(String) - Constructor for exception io.hstream.HStreamDBClientException
- HStreamDBClientException(String, Throwable) - Constructor for exception io.hstream.HStreamDBClientException
- HStreamDBClientException(Throwable) - Constructor for exception io.hstream.HStreamDBClientException
- HStreamDBClientException.ConsumerException - Exception in io.hstream
- HStreamDBClientException.InvalidRecordException - Exception in io.hstream
- HStreamDBClientException.SubscribeException - Exception in io.hstream
I
- InvalidRecordException(String) - Constructor for exception io.hstream.HStreamDBClientException.InvalidRecordException
- InvalidRecordException(String, Throwable) - Constructor for exception io.hstream.HStreamDBClientException.InvalidRecordException
- io.hstream - package io.hstream
- io.hstream.impl - package io.hstream.impl
- io.hstream.util - package io.hstream.util
- isHRecord(HStreamRecord) - Static method in class io.hstream.util.RecordUtils
- isHRecord(ReceivedRecord) - Static method in class io.hstream.util.RecordUtils
- isRawRecord(HStreamRecord) - Static method in class io.hstream.util.RecordUtils
- isRawRecord(ReceivedRecord) - Static method in class io.hstream.util.RecordUtils
L
- LATEST - io.hstream.SubscriptionOffset.SpecialOffset
-
Ignore the history messages up to the moment of subscription and ead the messages thereafter.
- listStreams() - Method in interface io.hstream.HStreamClient
-
Return all created
Stream
. - listStreams() - Method in class io.hstream.impl.ClientImpl
- listSubscriptions() - Method in interface io.hstream.HStreamClient
-
Return all created
Subscription
. - listSubscriptions() - Method in class io.hstream.impl.ClientImpl
N
- name(String) - Method in class io.hstream.ConsumerBuilder
- newBuilder() - Static method in class io.hstream.HArray
- newBuilder() - Static method in class io.hstream.HRecord
- newConsumer() - Method in interface io.hstream.HStreamClient
-
create a consumer.
- newConsumer() - Method in class io.hstream.impl.ClientImpl
- newProducer() - Method in interface io.hstream.HStreamClient
-
create a producer.
- newProducer() - Method in class io.hstream.impl.ClientImpl
- newQueryer() - Method in interface io.hstream.HStreamClient
-
create a
QueryerBuilder
. - newQueryer() - Method in class io.hstream.impl.ClientImpl
O
- Observer<V> - Interface in io.hstream
-
Receives notifications from an observable stream of results
- onCompleted() - Method in interface io.hstream.Observer
-
Receives a notification of successful completion.
- onError(Throwable) - Method in interface io.hstream.Observer
-
Receives a terminating error.
- onNext(V) - Method in interface io.hstream.Observer
-
Receives a value.
P
- parseHRecordFromHStreamRecord(HStreamRecord) - Static method in class io.hstream.util.RecordUtils
- parseRawRecordFromHStreamRecord(HStreamRecord) - Static method in class io.hstream.util.RecordUtils
- processHRecord(ReceivedHRecord, Responder) - Method in interface io.hstream.HRecordReceiver
-
used to consume
HRecord
format message. - processRawRecord(ReceivedRawRecord, Responder) - Method in interface io.hstream.RawRecordReceiver
-
used to consume raw format record.
- Producer - Interface in io.hstream
-
the interface of hstream producer
- ProducerBuilder - Class in io.hstream
-
used to construct a producer
- ProducerBuilder(HStreamApiGrpc.HStreamApiStub) - Constructor for class io.hstream.ProducerBuilder
- ProducerImpl - Class in io.hstream.impl
- ProducerImpl(HStreamApiGrpc.HStreamApiStub, String, boolean, int) - Constructor for class io.hstream.impl.ProducerImpl
- put(String, boolean) - Method in class io.hstream.HRecordBuilder
- put(String, double) - Method in class io.hstream.HRecordBuilder
- put(String, HArray) - Method in class io.hstream.HRecordBuilder
- put(String, HRecord) - Method in class io.hstream.HRecordBuilder
- put(String, String) - Method in class io.hstream.HRecordBuilder
Q
- Queryer - Interface in io.hstream
-
The interface that abstracts behavior of HStream's queryer
- QueryerBuilder - Class in io.hstream
-
Builder used to configure and construct a
Queryer
instance. - QueryerBuilder(HStreamClient, HStreamApiGrpc.HStreamApiStub) - Constructor for class io.hstream.QueryerBuilder
- QueryerImpl - Class in io.hstream.impl
- QueryerImpl(HStreamClient, HStreamApiGrpc.HStreamApiStub, String, Observer<HRecord>) - Constructor for class io.hstream.impl.QueryerImpl
R
- rawRecordReceiver(RawRecordReceiver) - Method in class io.hstream.ConsumerBuilder
- RawRecordReceiver - Interface in io.hstream
-
the interface that user use to process raw record received from server
- ReceivedHRecord - Class in io.hstream
-
refer to a
HRecord
format record - ReceivedHRecord(RecordId, HRecord) - Constructor for class io.hstream.ReceivedHRecord
- ReceivedRawRecord - Class in io.hstream
-
refer to a raw format record
- ReceivedRawRecord(RecordId, byte[]) - Constructor for class io.hstream.ReceivedRawRecord
- recordCountLimit(int) - Method in class io.hstream.ProducerBuilder
- RecordId - Class in io.hstream
-
A class for storing identification information of data records
- RecordId(long, int) - Constructor for class io.hstream.RecordId
-
A constructor for RecordId
- recordIdFromGrpc(RecordId) - Static method in class io.hstream.util.GrpcUtils
- recordIdToGrpc(RecordId) - Static method in class io.hstream.util.GrpcUtils
- RecordUtils - Class in io.hstream.util
- RecordUtils() - Constructor for class io.hstream.util.RecordUtils
- Responder - Interface in io.hstream
-
after receiving messages from the server, the interface defines methods related to the response
- ResponderImpl - Class in io.hstream.impl
- ResponderImpl(HStreamApiGrpc.HStreamApiBlockingStub, String, RecordId) - Constructor for class io.hstream.impl.ResponderImpl
- resultObserver(Observer<HRecord>) - Method in class io.hstream.QueryerBuilder
-
Set
Observer
for sql results.
S
- serviceUrl(String) - Method in class io.hstream.ClientBuilder
- setBatchId(long) - Method in class io.hstream.RecordId
-
update the identification number
- setBatchIndex(int) - Method in class io.hstream.RecordId
-
update the data record index
- setReplicationFactor(int) - Method in class io.hstream.Stream
-
update the replication factor of the stream
- setSpecialOffset(SubscriptionOffset.SpecialOffset) - Method in class io.hstream.SubscriptionOffset
-
update the offset
- setStreamName(String) - Method in class io.hstream.Stream
-
update the name of the stream
- setStreamName(String) - Method in class io.hstream.Subscription
-
update the name of the stream
- setSubscriptionId(String) - Method in class io.hstream.Subscription
-
update the identifier of the subscription
- setSubscriptionOffset(SubscriptionOffset) - Method in class io.hstream.Subscription
-
update the subscription offset
- size() - Method in class io.hstream.HArray
- specialOffsetFromGrpc(SubscriptionOffset.SpecialOffset) - Static method in class io.hstream.util.GrpcUtils
- specialOffsetToGrpc(SubscriptionOffset.SpecialOffset) - Static method in class io.hstream.util.GrpcUtils
- sql(String) - Method in class io.hstream.QueryerBuilder
-
Set SQL statement the queryer will execute.
- stream(String) - Method in class io.hstream.ProducerBuilder
- Stream - Class in io.hstream
-
A class for storing information about streams
- Stream(String, int) - Constructor for class io.hstream.Stream
-
a constructor for a real-time data stream
- streamFromGrpc(Stream) - Static method in class io.hstream.util.GrpcUtils
- streamToGrpc(Stream) - Static method in class io.hstream.util.GrpcUtils
- SubscribeException(String) - Constructor for exception io.hstream.HStreamDBClientException.SubscribeException
- SubscribeException(String, Throwable) - Constructor for exception io.hstream.HStreamDBClientException.SubscribeException
- subscription(String) - Method in class io.hstream.ConsumerBuilder
- Subscription - Class in io.hstream
-
A class for storing information about subscriptions
- Subscription(String, String, SubscriptionOffset) - Constructor for class io.hstream.Subscription
-
A constructor for subscriptions
- subscriptionFromGrpc(Subscription) - Static method in class io.hstream.util.GrpcUtils
- SubscriptionOffset - Class in io.hstream
-
A class with information about subscription offset
- SubscriptionOffset(SubscriptionOffset.SpecialOffset) - Constructor for class io.hstream.SubscriptionOffset
-
A constructor for subscription offset
- SubscriptionOffset.SpecialOffset - Enum in io.hstream
-
Subscription offsets that can be used
- subscriptionOffsetFromGrpc(SubscriptionOffset) - Static method in class io.hstream.util.GrpcUtils
- subscriptionOffsetToGrpc(SubscriptionOffset) - Static method in class io.hstream.util.GrpcUtils
- subscriptionToGrpc(Subscription) - Static method in class io.hstream.util.GrpcUtils
T
- toByteString() - Method in class io.hstream.HRecord
- toString() - Method in class io.hstream.HRecord
U
- UNRECOGNIZED - io.hstream.SubscriptionOffset.SpecialOffset
V
- valueOf(String) - Static method in enum io.hstream.SubscriptionOffset.SpecialOffset
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.hstream.SubscriptionOffset.SpecialOffset
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(byte[]) - Method in class io.hstream.impl.ProducerImpl
- write(byte[]) - Method in interface io.hstream.Producer
-
Sync method to generate a raw format message.
- write(HRecord) - Method in class io.hstream.impl.ProducerImpl
- write(HRecord) - Method in interface io.hstream.Producer
-
Sync method to generate a
HRecord
format message. - writeAsync(byte[]) - Method in class io.hstream.impl.ProducerImpl
- writeAsync(byte[]) - Method in interface io.hstream.Producer
-
Async method to generate a raw format message.
- writeAsync(HRecord) - Method in class io.hstream.impl.ProducerImpl
- writeAsync(HRecord) - Method in interface io.hstream.Producer
-
Async method to generate a
HRecord
format message.
All Classes All Packages