Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/io/hstream/ClientBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import io.hstream.impl.ClientImpl;

/** used to construct a hstreamdb client, which you can use it to interact with hstreamdb server */
/** used to construct a hstream client, which you can use it to interact with hstream server */
public class ClientBuilder {

private String serviceUrl;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/Consumer.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

import com.google.common.util.concurrent.Service;

/** The consumer interface of hstream consumer */
public interface Consumer extends Service {}
1 change: 1 addition & 0 deletions src/main/java/io/hstream/HArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.google.protobuf.ListValue;

/** a data structure like array */
public class HArray {

private ListValue delegate;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/HArrayBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.google.protobuf.ListValue;
import com.google.protobuf.util.Values;

/** the {@link HArray} constructor */
public class HArrayBuilder {

private ListValue.Builder delegate;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/HRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.google.protobuf.ByteString;
import com.google.protobuf.Struct;

/** the data structure defined by hstream */
public class HRecord {

private Struct delegate;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/HRecordReceiver.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.hstream;

/** the interface that user use to process {@link HRecord} received from server */
public interface HRecordReceiver {

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/hstream/HStreamClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.util.List;

/** HstreamClient implement the hstreamdb client */
/** HstreamClient implement the hstream client, user can use it to interact with server */
public interface HStreamClient extends AutoCloseable {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/HStreamDBClientException.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.hstream;

/** Client exception definition */
public class HStreamDBClientException extends RuntimeException {

public HStreamDBClientException(final String message) {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/Observer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.hstream;

/** user can define actions when consume data from {@link Publisher} */
public interface Observer<V> {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/Producer.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.concurrent.CompletableFuture;

/** the interface of hstream producer */
public interface Producer {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/Publisher.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.hstream;

/** a Publisher is a provider of a potentially unbounded number of sequenced elements */
public interface Publisher<V> {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/hstream/RawRecordReceiver.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.hstream;

/** the interface that user use to process raw record received from server */
public interface RawRecordReceiver {

/**
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/hstream/Responder.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package io.hstream;

/**
* after receiving messages from the server, the interface defines methods related to the response
*/
public interface Responder {

/** used to respond server when receive messages. */
Expand Down