Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbortOnBlockingTimeoutPolicy(long, TimeUnit) - Constructor for class io.greptime.limit.LimitedPolicy.AbortOnBlockingTimeoutPolicy
 
AbortPolicy() - Constructor for class io.greptime.limit.LimitedPolicy.AbortPolicy
 
AbstractLimiter<In,Out> - Class in io.greptime.limit
A Write/Query limiter that limits traffic according to the number of query requests or write request's data items in-flight.
AbstractLimiter(int, LimitedPolicy, String) - Constructor for class io.greptime.limit.AbstractLimiter
 
AbstractLimiter.RejectedState - Class in io.greptime.limit
 
acquire(int) - Method in class io.greptime.limit.InFlightLimiter
 
acquire(Limiter, int) - Method in class io.greptime.limit.LimitedPolicy.AbortOnBlockingTimeoutPolicy
 
acquire(Limiter, int) - Method in class io.greptime.limit.LimitedPolicy.AbortPolicy
 
acquire(Limiter, int) - Method in interface io.greptime.limit.LimitedPolicy
Acquires the given number of permits from the given Limiter.
acquire(Limiter, int) - Method in class io.greptime.limit.LimitedPolicy.BlockingPolicy
 
acquire(Limiter, int) - Method in class io.greptime.limit.LimitedPolicy.BlockingTimeoutPolicy
 
acquire(Limiter, int) - Method in class io.greptime.limit.LimitedPolicy.DiscardPolicy
 
acquire(int) - Method in interface io.greptime.limit.Limiter
Acquires the given number of permits from this Limiter, blocking until the request can be granted.
acquireAndDo(In, Supplier<CompletableFuture<Out>>) - Method in class io.greptime.limit.AbstractLimiter
Acquire permits and do the action.
acquirePermits() - Method in class io.greptime.limit.AbstractLimiter.RejectedState
 
addColumn(String, SemanticType, DataType) - Method in class io.greptime.models.TableSchema.Builder
Add column schema.
addColumn(String, SemanticType, DataType, DataType.DecimalTypeExtension) - Method in class io.greptime.models.TableSchema.Builder
Add column schema.
addField(String, DataType) - Method in class io.greptime.models.TableSchema.Builder
Add field schema.
addRow(Object...) - Method in interface io.greptime.models.Table
Inserts one row with all columns.
addRow(Object...) - Method in class io.greptime.models.Table.BulkTable
 
addRow(Object...) - Method in class io.greptime.models.Table.RowBasedTable
 
addTag(String, DataType) - Method in class io.greptime.models.TableSchema.Builder
Add tag schema.
addTimestamp(String, DataType) - Method in class io.greptime.models.TableSchema.Builder
Add timestamp schema.
addValue(RowData.Row.Builder, Common.ColumnDataType, Common.ColumnDataTypeExtension, Object) - Static method in class io.greptime.models.RowHelper
 
addValues(FieldVector, int, Common.ColumnDataType, Common.ColumnDataTypeExtension, Iterator<Object>) - Static method in class io.greptime.models.ArrowHelper
 
allocatorInitReservation(long) - Method in class io.greptime.BulkWrite.Config.Builder
Set the initial space reservation for the allocator.
allocatorMaxAllocation(long) - Method in class io.greptime.BulkWrite.Config.Builder
Set the maximum amount of space the new child allocator can allocate.
andThen(Function<Ok, Result<U, Err>>) - Method in class io.greptime.models.Result
Calls `mapper` if the result is [`Ok`], otherwise returns the [`Err`] value.
ArrowHelper - Class in io.greptime.models
Helper class for Arrow schema creation.
asyncPool(Executor) - Method in class io.greptime.options.GreptimeOptions.Builder
Asynchronous thread pool, which is used to handle various asynchronous tasks in the SDK (You are using a purely asynchronous SDK).
AuthInfo - Class in io.greptime.models
Greptime authentication information
AuthInfo(String, String) - Constructor for class io.greptime.models.AuthInfo
Create AuthInfo from username/password.
authInfo(AuthInfo) - Method in class io.greptime.options.GreptimeOptions.Builder
Sets authentication information.
autoReportPeriodMin() - Static method in class io.greptime.Util
Auto report self period.
availablePermits() - Method in class io.greptime.limit.AbstractLimiter.RejectedState
 
availablePermits() - Method in class io.greptime.limit.InFlightLimiter
 
availablePermits() - Method in interface io.greptime.limit.Limiter
Returns the current number of permits available in this Limiter.

B

BlockingPolicy() - Constructor for class io.greptime.limit.LimitedPolicy.BlockingPolicy
 
BlockingTimeoutPolicy(long, TimeUnit) - Constructor for class io.greptime.limit.LimitedPolicy.BlockingTimeoutPolicy
 
build() - Method in class io.greptime.BulkWrite.Config.Builder
 
build() - Method in class io.greptime.models.Table.Builder
 
build() - Method in class io.greptime.models.Table.BulkTableBuilder
 
build() - Method in class io.greptime.models.TableSchema.Builder
Build the table schema.
build() - Method in class io.greptime.options.GreptimeOptions.Builder
A good start, happy coding.
Builder() - Constructor for class io.greptime.BulkWrite.Config.Builder
 
Builder(TableSchema) - Constructor for class io.greptime.models.Table.Builder
 
Builder(String) - Constructor for class io.greptime.models.TableSchema.Builder
 
Builder(List<Endpoint>, String) - Constructor for class io.greptime.options.GreptimeOptions.Builder
 
BulkStreamWriter - Interface in io.greptime
BulkStreamWriter is a specialized interface for efficiently writing data to the server in bulk operations.
bulkStreamWriter(TableSchema) - Method in interface io.greptime.BulkWrite
 
bulkStreamWriter(TableSchema, BulkWrite.Config) - Method in interface io.greptime.BulkWrite
 
bulkStreamWriter(TableSchema, BulkWrite.Config, Context) - Method in interface io.greptime.BulkWrite
 
bulkStreamWriter(TableSchema, long, long, long, int, Context) - Method in interface io.greptime.BulkWrite
Creates a bulk stream writer for efficiently writing data to the server.
bulkStreamWriter(TableSchema, long, long, long, int, Context) - Method in class io.greptime.BulkWriteClient
 
bulkStreamWriter(TableSchema, long, long, long, int, Context) - Method in class io.greptime.GreptimeDB
 
BulkTable(String, List<Common.ColumnDataType>, List<Common.ColumnDataTypeExtension>, VectorSchemaRoot, int) - Constructor for class io.greptime.models.Table.BulkTable
 
BulkTableBuilder(TableSchema, VectorSchemaRoot, int) - Constructor for class io.greptime.models.Table.BulkTableBuilder
 
BulkWrite - Interface in io.greptime
BulkWrite API: writes data to the database in bulk.
BulkWrite.Config - Class in io.greptime
 
BulkWrite.Config.Builder - Class in io.greptime
 
BulkWriteClient - Class in io.greptime
Client for bulk writing data to GreptimeDB.
BulkWriteClient() - Constructor for class io.greptime.BulkWriteClient
 
BulkWriteLoggingSignalHandler - Class in io.greptime.signal
 
BulkWriteLoggingSignalHandler() - Constructor for class io.greptime.signal.BulkWriteLoggingSignalHandler
 
BulkWriteOptions - Class in io.greptime.options
BulkWrite options.
BulkWriteOptions() - Constructor for class io.greptime.options.BulkWriteOptions
 
bytesUsed() - Method in class io.greptime.models.Table.BulkTable
 
bytesUsed() - Method in interface io.greptime.models.Table
Gets the bytes used by the table.
bytesUsed() - Method in class io.greptime.models.Table.RowBasedTable
This is an expensive operation, only used for testing

C

CachedPojoObjectMapper - Class in io.greptime
This utility class converts POJO objects into Table objects, inspired by InfluxDB client-java.
CachedPojoObjectMapper() - Constructor for class io.greptime.CachedPojoObjectMapper
 
CachedPojoObjectMapper(int) - Constructor for class io.greptime.CachedPojoObjectMapper
 
calculatePermits(In) - Method in class io.greptime.limit.AbstractLimiter
Calculate the number of permits to acquire.
checkHealth() - Method in class io.greptime.BulkWriteClient
 
checkHealth() - Method in class io.greptime.GreptimeDB
 
checkHealth() - Method in interface io.greptime.Health
 
checkHealth() - Method in class io.greptime.RouterClient
 
checkHealth() - Method in class io.greptime.WriteClient
 
checkHealthTimeoutMs(long) - Method in class io.greptime.options.GreptimeOptions.Builder
Timeout for health check.
checkNumValues(int) - Method in interface io.greptime.models.Table
 
checkSelf(GreptimeOptions) - Static method in class io.greptime.options.GreptimeOptions
 
clientVersion() - Static method in class io.greptime.Util
Returns the version of this client.
Column - Annotation Type in io.greptime.models
This annotation is used to mapping POJO class into Table.
columnCount() - Method in class io.greptime.models.Table.BulkTable
 
columnCount() - Method in interface io.greptime.models.Table
Gets the columns count to write.
columnCount() - Method in class io.greptime.models.Table.RowBasedTable
 
complete() - Method in class io.greptime.models.Table.BulkTable
 
complete() - Method in interface io.greptime.models.Table
Completes the table data construction and prevents further row additions.
complete() - Method in class io.greptime.models.Table.RowBasedTable
 
completed() - Method in interface io.greptime.BulkStreamWriter
Completes the bulk write operation by signaling the end of transmission and waits for the server to finish processing the data.
completed() - Method in interface io.greptime.StreamWriter
Tell server that the stream-write has completed.
completedCf(U) - Static method in class io.greptime.Util
Returns a new CompletableFuture that is already completed with the given value.
copy() - Method in class io.greptime.options.BulkWriteOptions
 
copy() - Method in class io.greptime.options.GreptimeOptions
 
copy() - Method in class io.greptime.options.RouterOptions
 
copy() - Method in class io.greptime.options.WriteOptions
 
create(GreptimeOptions) - Static method in class io.greptime.GreptimeDB
Creates a new GreptimeDB instance.
createSchema(TableSchema) - Static method in class io.greptime.models.ArrowHelper
Create an Arrow schema from a table schema.

D

DataType - Enum in io.greptime.models
GreptimeDB's data type.
DataType.DecimalTypeExtension - Class in io.greptime.models
 
DecimalTypeExtension(int, int) - Constructor for class io.greptime.models.DataType.DecimalTypeExtension
 
DEFAULT - Static variable in class io.greptime.models.DataType.DecimalTypeExtension
 
DEFAULT_ALLOCATOR_INIT_RESERVATION - Static variable in interface io.greptime.BulkWrite
The default allocator init reservation bytes.
DEFAULT_ALLOCATOR_MAX_ALLOCATION - Static variable in interface io.greptime.BulkWrite
The default allocator max allocation bytes.
DEFAULT_CHECK_HEALTH_TIMEOUT_MS - Static variable in class io.greptime.options.GreptimeOptions
 
DEFAULT_DEFAULT_STREAM_MAX_WRITE_POINTS_PER_SECOND - Static variable in class io.greptime.options.GreptimeOptions
 
DEFAULT_MAX_IN_FLIGHT_WRITE_POINTS - Static variable in class io.greptime.options.GreptimeOptions
 
DEFAULT_MAX_REQUESTS_IN_FLIGHT - Static variable in interface io.greptime.BulkWrite
The default max in-flight requests in the stream.
DEFAULT_ROUTE_TABLE_REFRESH_PERIOD_SECONDS - Static variable in class io.greptime.options.GreptimeOptions
 
DEFAULT_TIMEOUT_MS_PER_MESSAGE - Static variable in interface io.greptime.BulkWrite
The default timeout in milliseconds for each message.
DEFAULT_WRITE_MAX_RETRIES - Static variable in class io.greptime.options.GreptimeOptions
 
defaultStreamMaxWritePointsPerSecond(int) - Method in class io.greptime.options.GreptimeOptions.Builder
The default rate limit value(points per second) for `StreamWriter`.
defaultWriteLimitedPolicy() - Static method in interface io.greptime.limit.LimitedPolicy
 
DiscardPolicy() - Constructor for class io.greptime.limit.LimitedPolicy.DiscardPolicy
 
display(Display.Printer) - Method in class io.greptime.BulkWriteClient
 
display(Display.Printer) - Method in class io.greptime.GreptimeDB
 
display(Display.Printer) - Method in class io.greptime.RouterClient
 
display(Display.Printer) - Method in class io.greptime.WriteClient
 
DisplaySignalHandler - Class in io.greptime.signal
A signal handler that can display all client instance's memory state.
DisplaySignalHandler() - Constructor for class io.greptime.signal.DisplaySignalHandler
 

E

emptyOk() - Static method in class io.greptime.models.WriteOk
Creates an empty WriteOk.
ensureInitialized() - Method in class io.greptime.GreptimeDB
 
Err - Class in io.greptime.models
Contains the write/query error value.
Err() - Constructor for class io.greptime.models.Err
 
err(Err) - Static method in class io.greptime.models.Result
Creates a new `Result` from the given error.
errorCf(Throwable) - Static method in class io.greptime.Util
Returns a new CompletableFuture that is already exceptionally with the given error.

F

FLOW_CONTROL - Static variable in class io.greptime.models.Result
 
from(TableSchema) - Static method in interface io.greptime.models.Table
Create a table from a table schema.

G

getAllocatorInitReservation() - Method in class io.greptime.BulkWrite.Config
 
getAllocatorMaxAllocation() - Method in class io.greptime.BulkWrite.Config
 
getArrowCompressionType(Context) - Static method in class io.greptime.models.ArrowHelper
Get the Arrow compression type from the context.
getAsyncPool() - Method in class io.greptime.options.BulkWriteOptions
 
getAsyncPool() - Method in class io.greptime.options.WriteOptions
 
getAuthInfo() - Method in class io.greptime.options.BulkWriteOptions
 
getAuthInfo() - Method in class io.greptime.options.WriteOptions
 
getBulkWriteOptions() - Method in class io.greptime.options.GreptimeOptions
 
getCheckHealthTimeoutMs() - Method in class io.greptime.options.RouterOptions
 
getCode() - Method in class io.greptime.models.Err
Gets the error code.
getColumnNames() - Method in class io.greptime.models.TableSchema
 
getDatabase() - Method in class io.greptime.options.BulkWriteOptions
 
getDatabase() - Method in class io.greptime.options.GreptimeOptions
 
getDatabase() - Method in class io.greptime.options.WriteOptions
 
getDataTypeExtensions() - Method in class io.greptime.models.TableSchema
 
getDataTypes() - Method in class io.greptime.models.TableSchema
 
getDefaultStreamMaxWritePointsPerSecond() - Method in class io.greptime.options.WriteOptions
 
getEndpoints() - Method in class io.greptime.options.GreptimeOptions
 
getEndpoints() - Method in class io.greptime.options.RouterOptions
 
getErr() - Method in class io.greptime.models.Result
Gets the [`Err`].
getError() - Method in class io.greptime.models.Err
Gets the error.
getErrTo() - Method in class io.greptime.models.Err
Gets the server address where the error occurred.
getFailure() - Method in class io.greptime.models.WriteOk
Gets the number of failed writes.
getLimitedPolicy() - Method in class io.greptime.options.WriteOptions
 
getMaxInFlightWritePoints() - Method in class io.greptime.options.WriteOptions
 
getMaxRequestsInFlight() - Method in class io.greptime.BulkWrite.Config
 
getMaxRetries() - Method in class io.greptime.options.WriteOptions
 
getOk() - Method in class io.greptime.models.Result
Gets the [`Ok`] value.
getRefreshPeriodSeconds() - Method in class io.greptime.options.RouterOptions
 
getRouter() - Method in class io.greptime.options.RouterOptions
 
getRouterClient() - Method in class io.greptime.options.BulkWriteOptions
 
getRouterClient() - Method in class io.greptime.options.WriteOptions
 
getRouterOptions() - Method in class io.greptime.options.GreptimeOptions
 
getRpcClient() - Method in class io.greptime.options.RouterOptions
 
getRpcOptions() - Method in class io.greptime.options.GreptimeOptions
 
getSemanticTypes() - Method in class io.greptime.models.TableSchema
 
getSharedScheduledPool(String, int) - Static method in class io.greptime.Util
Create a shared scheduler pool with the given name.
getStatusCode() - Method in enum io.greptime.Status
Gets the status code.
getSuccess() - Method in class io.greptime.models.WriteOk
Gets the number of successful writes.
getTableName() - Method in class io.greptime.models.TableSchema
 
getTables() - Method in class io.greptime.models.WriteTables
 
getTimeoutMsPerMessage() - Method in class io.greptime.BulkWrite.Config
 
getTlsOptions() - Method in class io.greptime.options.BulkWriteOptions
 
getWriteOp() - Method in class io.greptime.models.WriteTables
 
getWriteOptions() - Method in class io.greptime.options.GreptimeOptions
 
GreptimeDB - Class in io.greptime
The GreptimeDB client.
GreptimeOptions - Class in io.greptime.options
GreptimeDB client options.
GreptimeOptions() - Constructor for class io.greptime.options.GreptimeOptions
 
GreptimeOptions.Builder - Class in io.greptime.options
 

H

handle(String) - Method in class io.greptime.signal.BulkWriteLoggingSignalHandler
 
handle(String) - Method in class io.greptime.signal.DisplaySignalHandler
 
handle(String) - Method in class io.greptime.signal.MetricsSignalHandler
 
handle(String) - Method in class io.greptime.signal.ShowHelpSignalHandler
 
handle(String) - Method in class io.greptime.signal.WriteLoggingSignalHandler
 
Health - Interface in io.greptime
Health check.

I

InFlightLimiter - Class in io.greptime.limit
In-flight limiter.
InFlightLimiter(int, String) - Constructor for class io.greptime.limit.InFlightLimiter
 
init(BulkWriteOptions) - Method in class io.greptime.BulkWriteClient
 
init(GreptimeOptions) - Method in class io.greptime.GreptimeDB
 
init(RouterOptions) - Method in class io.greptime.RouterClient
 
init(WriteOptions) - Method in class io.greptime.WriteClient
 
instances() - Static method in class io.greptime.GreptimeDB
Gets all instances of GreptimeDB.
IntervalMonthDayNano - Class in io.greptime.models
 
IntervalMonthDayNano(int, int, long) - Constructor for class io.greptime.models.IntervalMonthDayNano
 
into() - Method in class io.greptime.models.AuthInfo
 
into() - Method in class io.greptime.models.DataType.DecimalTypeExtension
 
into() - Method in class io.greptime.models.IntervalMonthDayNano
 
into() - Method in class io.greptime.models.Table.RowBasedTable
 
intoRowDeleteRequest() - Method in interface io.greptime.models.Table
Converts to Database.RowDeleteRequest.
intoRowDeleteRequest() - Method in class io.greptime.models.Table.RowBasedTable
 
intoRowInsertRequest() - Method in interface io.greptime.models.Table
Converts to Database.RowInsertRequest.
intoRowInsertRequest() - Method in class io.greptime.models.Table.RowBasedTable
 
invoke(Endpoint, Req, Context) - Method in class io.greptime.RouterClient
 
invoke(Endpoint, Req, Context, long) - Method in class io.greptime.RouterClient
Invoke the rpc request to the given endpoint.
invokeClientStreaming(Endpoint, Req, Context, Observer<Resp>) - Method in class io.greptime.RouterClient
Invoke a client streaming rpc request to the given endpoint.
invokeServerStreaming(Endpoint, Req, Context, Observer<Resp>) - Method in class io.greptime.RouterClient
Invoke a server streaming rpc request to the given endpoint.
io.greptime - package io.greptime
 
io.greptime.errors - package io.greptime.errors
 
io.greptime.limit - package io.greptime.limit
 
io.greptime.models - package io.greptime.models
 
io.greptime.options - package io.greptime.options
 
io.greptime.signal - package io.greptime.signal
 
isBulkWriteLogging() - Static method in class io.greptime.Util
Whether to output concise bulk write logs.
isCompleted() - Method in class io.greptime.models.Table.BulkTable
 
isCompleted() - Method in interface io.greptime.models.Table
Checks if the table has been completed.
isCompleted() - Method in class io.greptime.models.Table.RowBasedTable
 
isOk() - Method in class io.greptime.models.Result
Checks if the result is [`Ok`].
isShouldRetry() - Method in enum io.greptime.Status
Checks if the status code represents a retry-needed error.
isStreamReady() - Method in interface io.greptime.BulkStreamWriter
If the stream is not ready, calling writeNext() will block until the stream becomes ready for writing, potentially using a busy-wait mechanism.
isSuccess(int) - Static method in enum io.greptime.Status
Checks if the status code is Status.Success.
isTimestamp() - Method in enum io.greptime.models.DataType
 
isUseZeroCopyWrite() - Method in class io.greptime.options.BulkWriteOptions
 
isWriteLogging() - Static method in class io.greptime.Util
Whether to output concise write logs.

L

LimitedException - Exception in io.greptime.errors
A flow control exception that can be thrown by AbortPolicy.
LimitedException(String) - Constructor for exception io.greptime.errors.LimitedException
 
LimitedException(Throwable) - Constructor for exception io.greptime.errors.LimitedException
 
LimitedPolicy - Interface in io.greptime.limit
A limited policy using a given Limiter.
LimitedPolicy.AbortOnBlockingTimeoutPolicy - Class in io.greptime.limit
A limited policy that first blocks if the Limiter is full, and aborts if the blocking time exceeds the given timeout.
LimitedPolicy.AbortPolicy - Class in io.greptime.limit
A limited policy that aborts if the Limiter is full.
LimitedPolicy.BlockingPolicy - Class in io.greptime.limit
A limited policy that blocks if the Limiter is full.
LimitedPolicy.BlockingTimeoutPolicy - Class in io.greptime.limit
A limited policy that blocks the specified time if the Limiter is full.
LimitedPolicy.DiscardPolicy - Class in io.greptime.limit
A limited policy that discards the data if the Limiter is full.
Limiter - Interface in io.greptime.limit
A rate limiter.
loadProps(ClassLoader, String) - Static method in class io.greptime.Util
 

M

map(Function<Ok, U>) - Method in class io.greptime.models.Result
Maps a Result<Ok, Err> to Result<U, Err> by applying a function to a contained [`Ok`] value, leaving an [`Err`] value untouched.
mapErr(Function<Err, F>) - Method in class io.greptime.models.Result
Maps a Result<Ok, Err> to Result<Ok, F> by applying a function to a contained [`Err`] value, leaving an [`Ok`] value untouched.
mapOr(U, Function<Ok, U>) - Method in class io.greptime.models.Result
Returns the provided default (if [`Err`]), or applies a function to the contained value (if [`Ok`]).
mapOrElse(Function<Err, U>, Function<Ok, U>) - Method in class io.greptime.models.Result
Maps a Result<OK, Err> to U by applying a fallback function to a contained [`Err`] value, or a default function to a contained [`Ok`] value.
mapToResult() - Method in class io.greptime.models.Err
Maps this error to a Result.
mapToResult() - Method in class io.greptime.models.WriteOk
Map the WriteOk to Result.
mapToTable(List<M>) - Method in class io.greptime.CachedPojoObjectMapper
 
mapToTable(List<M>) - Method in interface io.greptime.PojoObjectMapper
 
maxInFlightWritePoints(int) - Method in class io.greptime.options.GreptimeOptions.Builder
Write flow limit: maximum number of data points in-flight.
maxPermits() - Method in class io.greptime.limit.AbstractLimiter.RejectedState
 
maxPermits() - Method in class io.greptime.limit.InFlightLimiter
 
maxPermits() - Method in interface io.greptime.limit.Limiter
Returns the max number of permits in this Limiter.
maxRequestsInFlight(int) - Method in class io.greptime.BulkWrite.Config.Builder
Set the max in-flight requests in the stream.
Metric - Annotation Type in io.greptime.models
This annotation is used to mapping POJO class into Table.
MetricsSignalHandler - Class in io.greptime.signal
A signal handle that can write the metrics into a file.
MetricsSignalHandler() - Constructor for class io.greptime.signal.MetricsSignalHandler
 

N

newBuilder() - Static method in class io.greptime.BulkWrite.Config
 
newBuilder(String) - Static method in class io.greptime.models.TableSchema
 
newBuilder(String, String) - Static method in class io.greptime.options.GreptimeOptions
 
newBuilder(Endpoint, String) - Static method in class io.greptime.options.GreptimeOptions
 
newBuilder(String[], String) - Static method in class io.greptime.options.GreptimeOptions
 
newBuilder(Endpoint[], String) - Static method in class io.greptime.options.GreptimeOptions
 
noAuthorization() - Static method in class io.greptime.models.AuthInfo
Creates an AuthInfo with no authorization.

O

objectsStreamWriter(int, Context) - Method in class io.greptime.GreptimeDB
 
objectsStreamWriter() - Method in interface io.greptime.WriteObject
 
objectsStreamWriter(int) - Method in interface io.greptime.WriteObject
 
objectsStreamWriter(int, Context) - Method in interface io.greptime.WriteObject
Create a `Stream` to continuously write data to the database, typically used in data import scenarios.
ok(Ok) - Static method in class io.greptime.models.Result
Creates a new `Result` from the given value.
ok(int, int) - Static method in class io.greptime.models.WriteOk
Creates a new WriteOk from the given values.
onRefresh(List<E>, List<E>) - Method in interface io.greptime.Router
Refresh the routing table.
orElse(Function<Err, Result<Ok, F>>) - Method in class io.greptime.models.Result
Calls `mapper` if the result is [`Err`], otherwise returns the [`Ok`] value.

P

parse(int) - Static method in enum io.greptime.Status
Gets the Status for the specified status code.
pointCount() - Method in interface io.greptime.models.Table
Gets the points count to write.
PojoException - Exception in io.greptime.errors
Exception for pojo errors.
PojoException(String) - Constructor for exception io.greptime.errors.PojoException
 
PojoException(Throwable) - Constructor for exception io.greptime.errors.PojoException
 
PojoObjectMapper - Interface in io.greptime
Converts POJO objects into Table objects

R

randomInitialDelay(long) - Static method in class io.greptime.Util
 
registerAllService() - Static method in class io.greptime.RpcServiceRegister
 
rejected(In, AbstractLimiter.RejectedState) - Method in class io.greptime.limit.AbstractLimiter
The rejected action.
RejectedState(int, int, int) - Constructor for class io.greptime.limit.AbstractLimiter.RejectedState
 
release(int) - Method in class io.greptime.limit.InFlightLimiter
 
release(int) - Method in interface io.greptime.limit.Limiter
Releases the given number of permits to this Limiter.
resetBulkWriteLogging() - Static method in class io.greptime.Util
See Util.isBulkWriteLogging() Reset `bulkWriteLogging`, set to the opposite of the old value.
resetWriteLogging() - Static method in class io.greptime.Util
See Util.isWriteLogging() Reset `writeLogging`, set to the opposite of the old value.
Result<Ok,Err> - Class in io.greptime.models
`Result` is a type that represents either success ([`Ok`]) or failure ([`Err`]).
route() - Method in class io.greptime.RouterClient
Gets the current routing table.
routeFor(R) - Method in interface io.greptime.Router
For a given request return the routing decision for the call.
router(Router<Void, Endpoint>) - Method in class io.greptime.options.GreptimeOptions.Builder
Sets the request router.
Router<R,E> - Interface in io.greptime
RPC router for GreptimeDB.
RouterClient - Class in io.greptime
A route rpc client which cached the routing table information locally and will auto refresh.
RouterClient() - Constructor for class io.greptime.RouterClient
 
RouterOptions - Class in io.greptime.options
Router options.
RouterOptions() - Constructor for class io.greptime.options.RouterOptions
 
routeTableRefreshPeriodSeconds(long) - Method in class io.greptime.options.GreptimeOptions.Builder
Refresh frequency of route tables.
RowBasedTable(String, List<RowData.ColumnSchema>) - Constructor for class io.greptime.models.Table.RowBasedTable
 
rowCount() - Method in class io.greptime.models.Table.BulkTable
 
rowCount() - Method in class io.greptime.models.Table.RowBasedTable
 
rowCount() - Method in interface io.greptime.models.Table
Gets the rows count to write.
RowHelper - Class in io.greptime.models
A utility that handles some processing of row based data.
rpcOptions(RpcOptions) - Method in class io.greptime.options.GreptimeOptions.Builder
Sets the RPC options, in general, the default configuration is fine.
RpcServiceRegister - Class in io.greptime
The RPC service register.
RpcServiceRegister() - Constructor for class io.greptime.RpcServiceRegister
 

S

scheduleDisplaySelf(Display, Display.Printer) - Static method in class io.greptime.Util
Only used to schedule to display the self of client.
SemanticType - Enum in io.greptime.models
The semantic type.
ServerException - Exception in io.greptime.errors
Exception for server side errors.
ServerException(String) - Constructor for exception io.greptime.errors.ServerException
 
setAsyncPool(Executor) - Method in class io.greptime.options.BulkWriteOptions
 
setAsyncPool(Executor) - Method in class io.greptime.options.WriteOptions
 
setAuthInfo(AuthInfo) - Method in class io.greptime.options.BulkWriteOptions
 
setAuthInfo(AuthInfo) - Method in class io.greptime.options.WriteOptions
 
setBulkWriteOptions(BulkWriteOptions) - Method in class io.greptime.options.GreptimeOptions
 
setCheckHealthTimeoutMs(long) - Method in class io.greptime.options.RouterOptions
 
setDatabase(String) - Method in class io.greptime.options.BulkWriteOptions
 
setDatabase(String) - Method in class io.greptime.options.GreptimeOptions
 
setDatabase(String) - Method in class io.greptime.options.WriteOptions
 
setDefaultStreamMaxWritePointsPerSecond(int) - Method in class io.greptime.options.WriteOptions
 
setEndpoints(List<Endpoint>) - Method in class io.greptime.options.GreptimeOptions
 
setEndpoints(List<Endpoint>) - Method in class io.greptime.options.RouterOptions
 
setLimitedPolicy(LimitedPolicy) - Method in class io.greptime.options.WriteOptions
 
setMaxInFlightWritePoints(int) - Method in class io.greptime.options.WriteOptions
 
setMaxRetries(int) - Method in class io.greptime.options.WriteOptions
 
setRefreshPeriodSeconds(long) - Method in class io.greptime.options.RouterOptions
 
setRouter(Router<Void, Endpoint>) - Method in class io.greptime.options.RouterOptions
 
setRouterClient(RouterClient) - Method in class io.greptime.options.BulkWriteOptions
 
setRouterClient(RouterClient) - Method in class io.greptime.options.WriteOptions
 
setRouterOptions(RouterOptions) - Method in class io.greptime.options.GreptimeOptions
 
setRpcClient(RpcClient) - Method in class io.greptime.options.RouterOptions
 
setRpcOptions(RpcOptions) - Method in class io.greptime.options.GreptimeOptions
 
setTlsOptions(TlsOptions) - Method in class io.greptime.options.BulkWriteOptions
 
setUseZeroCopyWrite(boolean) - Method in class io.greptime.options.BulkWriteOptions
 
setWriteOptions(WriteOptions) - Method in class io.greptime.options.GreptimeOptions
 
shouldNotRetry(Err) - Static method in class io.greptime.Util
 
shouldRetry(Err) - Static method in class io.greptime.Util
 
ShowHelpSignalHandler - Class in io.greptime.signal
A signal handler that can show help info.
ShowHelpSignalHandler() - Constructor for class io.greptime.signal.ShowHelpSignalHandler
 
shutdownGracefully() - Method in class io.greptime.BulkWriteClient
 
shutdownGracefully() - Method in class io.greptime.GreptimeDB
 
shutdownGracefully() - Method in class io.greptime.RouterClient
 
shutdownGracefully() - Method in class io.greptime.WriteClient
 
Status - Enum in io.greptime
Common status code for public API.
StreamException - Exception in io.greptime.errors
Exception for streaming errors.
StreamException(String) - Constructor for exception io.greptime.errors.StreamException
 
streamWriter(int, Context) - Method in class io.greptime.GreptimeDB
 
StreamWriter<V,R> - Interface in io.greptime
A stream writer to continuously write data to the database, typically used in data import scenarios.
streamWriter() - Method in interface io.greptime.Write
 
streamWriter(int) - Method in interface io.greptime.Write
 
streamWriter(int, Context) - Method in interface io.greptime.Write
Create a `Stream` to continuously write data to the database, typically used in data import scenarios.
streamWriter(int, Context) - Method in class io.greptime.WriteClient
 
subRange(int, int) - Method in class io.greptime.models.Table.BulkTable
 
subRange(int, int) - Method in class io.greptime.models.Table.RowBasedTable
 
subRange(int, int) - Method in interface io.greptime.models.Table
Gets a sub-range of the table.

T

Table - Interface in io.greptime.models
A table represents data in row format that can be written to the database.
Table.Builder - Class in io.greptime.models
 
Table.BulkTable - Class in io.greptime.models
 
Table.BulkTableBuilder - Class in io.greptime.models
 
Table.RowBasedTable - Class in io.greptime.models
 
Table.TableBufferRoot - Interface in io.greptime.models
`TableBufferRoot` is an internal interface that represents a reference to table data stored in direct memory.
tableBufferRoot(int) - Method in interface io.greptime.BulkStreamWriter
Returns the TableBufferRoot instance associated with this writer.
tableBufferRoot(TableSchema, VectorSchemaRoot, int) - Static method in interface io.greptime.models.Table
Create a bulk table buffer root from a table schema and a vector schema root.
TableHelper - Class in io.greptime.models
Helper class for table data to GreptimeRequest.
tableName() - Method in class io.greptime.models.Table.BulkTable
 
tableName() - Method in class io.greptime.models.Table.RowBasedTable
 
tableName() - Method in interface io.greptime.models.Table
Gets the table name to write.
TableSchema - Class in io.greptime.models
Defines the schema structure for writing data to the database.
TableSchema.Builder - Class in io.greptime.models
 
timeout() - Method in class io.greptime.limit.LimitedPolicy.BlockingTimeoutPolicy
 
timeoutMsPerMessage(long) - Method in class io.greptime.BulkWrite.Config.Builder
Set the timeout in milliseconds for each message.
tlsOptions(TlsOptions) - Method in class io.greptime.options.GreptimeOptions.Builder
Set `TlsOptions` to use secure connection between client and server.
toBase64() - Method in class io.greptime.models.AuthInfo
Converts the AuthInfo to a base64 encoded string.
toGreptimeRequest(WriteTables, String, AuthInfo) - Static method in class io.greptime.models.TableHelper
 
toObserver(CompletableFuture<V>) - Static method in class io.greptime.Util
 
toProtoValue() - Method in enum io.greptime.models.DataType
 
toProtoValue() - Method in enum io.greptime.models.SemanticType
Converts to the corresponding proto value.
toString() - Method in class io.greptime.BulkWriteClient
 
toString() - Method in class io.greptime.GreptimeDB
 
toString() - Method in class io.greptime.models.Err
 
toString() - Method in class io.greptime.models.Result
 
toString() - Method in class io.greptime.models.WriteOk
 
toString() - Method in class io.greptime.options.BulkWriteOptions
 
toString() - Method in class io.greptime.options.GreptimeOptions
 
toString() - Method in class io.greptime.options.RouterOptions
 
toString() - Method in class io.greptime.options.WriteOptions
 
toString() - Method in class io.greptime.RouterClient
 
toString() - Method in class io.greptime.WriteClient
 
tryAcquire(int, long, TimeUnit) - Method in class io.greptime.limit.InFlightLimiter
 
tryAcquire(int, long, TimeUnit) - Method in interface io.greptime.limit.Limiter
Acquires the given number of permits from this Limiter if it can be obtained without exceeding the specified timeout, or returns false immediately (without waiting) if the permits had not been granted before the timeout expired.
tryAcquire(int) - Method in interface io.greptime.limit.Limiter
 

U

unit() - Method in class io.greptime.limit.LimitedPolicy.BlockingTimeoutPolicy
 
unwrapOr(Ok) - Method in class io.greptime.models.Result
Returns the contained [`Ok`] value or a provided default.
unwrapOrElse(Function<Err, Ok>) - Method in class io.greptime.models.Result
Returns the contained [`Ok`] value or computes it from a function.
useZeroCopyWriteInBulkWrite(boolean) - Method in class io.greptime.options.GreptimeOptions.Builder
Use zero copy write in bulk write.
Util - Class in io.greptime
Util for GreptimeDB Ingester.
Util() - Constructor for class io.greptime.Util
 

V

valueOf(String) - Static method in enum io.greptime.models.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.greptime.models.SemanticType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.greptime.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.greptime.WriteOp
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.greptime.models.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.greptime.models.SemanticType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.greptime.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.greptime.WriteOp
Returns an array containing the constants of this enum type, in the order they are declared.
ValueUtil - Class in io.greptime.models
 
ValueUtil() - Constructor for class io.greptime.models.ValueUtil
 

W

write(Collection<Table>, WriteOp, Context) - Method in class io.greptime.GreptimeDB
 
write(V) - Method in interface io.greptime.StreamWriter
 
write(V, WriteOp) - Method in interface io.greptime.StreamWriter
Write data to this stream.
Write - Interface in io.greptime
Write API: writes data to the database.
write(Table...) - Method in interface io.greptime.Write
 
write(Collection<Table>) - Method in interface io.greptime.Write
 
write(Collection<Table>, WriteOp) - Method in interface io.greptime.Write
 
write(Collection<Table>, WriteOp, Context) - Method in interface io.greptime.Write
Write multiple rows of data (which can belong to multiple tables) to the database at once.
write(Collection<Table>, WriteOp, Context) - Method in class io.greptime.WriteClient
 
WriteClient - Class in io.greptime
Default Write API impl.
WriteClient() - Constructor for class io.greptime.WriteClient
 
writeErr(int, Throwable, Endpoint) - Static method in class io.greptime.models.Err
Creates a new Err for write error.
writeLimitedPolicy(LimitedPolicy) - Method in class io.greptime.options.GreptimeOptions.Builder
Write flow limit: the policy to use when the write flow limit is exceeded.
WriteLimiter - Class in io.greptime.limit
Like rust: pub type WriteLimiter = AbstractLimiter<WriteRows, Result<WriteOk, Err>>
WriteLimiter(int, LimitedPolicy, String) - Constructor for class io.greptime.limit.WriteLimiter
 
WriteLoggingSignalHandler - Class in io.greptime.signal
A signal handler that can reset WRITE_LOGGING by Util.resetWriteLogging().
WriteLoggingSignalHandler() - Constructor for class io.greptime.signal.WriteLoggingSignalHandler
 
writeMaxRetries(int) - Method in class io.greptime.options.GreptimeOptions.Builder
In some case of failure, a retry of write can be attempted.
writeNext() - Method in interface io.greptime.BulkStreamWriter
Writes current table data to the stream.
WriteObject - Interface in io.greptime
Write POJO object API: writes data in POJO object format to the DB.
writeObjects(Collection<List<?>>, WriteOp, Context) - Method in class io.greptime.GreptimeDB
 
writeObjects(List<?>...) - Method in interface io.greptime.WriteObject
 
writeObjects(Collection<List<?>>) - Method in interface io.greptime.WriteObject
 
writeObjects(Collection<List<?>>, WriteOp) - Method in interface io.greptime.WriteObject
 
writeObjects(Collection<List<?>>, WriteOp, Context) - Method in interface io.greptime.WriteObject
Write multiple rows of data (which can belong to multiple tables) to the database at once.
WriteOk - Class in io.greptime.models
Contains the success value of write.
WriteOk() - Constructor for class io.greptime.models.WriteOk
 
WriteOp - Enum in io.greptime
 
WriteOptions - Class in io.greptime.options
Write options.
WriteOptions() - Constructor for class io.greptime.options.WriteOptions
 
WriteTables - Class in io.greptime.models
 
WriteTables(Table, WriteOp) - Constructor for class io.greptime.models.WriteTables
 
WriteTables(Collection<Table>, WriteOp) - Constructor for class io.greptime.models.WriteTables
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2025. All rights reserved.