Package | Description |
---|---|
net.quasardb.qdb | |
net.quasardb.qdb.ts |
Modifier and Type | Method and Description |
---|---|
Session |
SessionPool.acquire()
Take a session from the pool.
|
static Session |
Session.connect(Session.SecurityOptions options,
String uri)
Establishes a secure connection
|
static Session |
Session.connect(String uri)
Establishes a connection
|
Session |
SessionFactory.newSession() |
Modifier and Type | Method and Description |
---|---|
static void |
PerformanceTrace.clear(Session s)
Clear performance trace cache.
|
static void |
PerformanceTrace.disable(Session s) |
static void |
PerformanceTrace.enable(Session s) |
static Collection<PerformanceTrace.Trace> |
PerformanceTrace.get(Session s)
Access available performance traces.
|
static void |
PerformanceTrace.log(Session s)
Log all available traces directly through slf4j.
|
static void |
PerformanceTrace.log(Session s,
boolean clear) |
static Collection<PerformanceTrace.Trace> |
PerformanceTrace.pop(Session s)
Access available performance traces, and clear the cache.
|
void |
SessionPool.release(Session s)
Release a session back to the pool.
|
static Buffer |
Buffer.wrap(Session session,
ByteBuffer buffer) |
static Buffer |
Buffer.wrap(Session session,
Reference<ByteBuffer> ref) |
Constructor and Description |
---|
Buffer(Session session,
ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
Tables |
Tables.add(Session session,
String name)
Returns a copy of this collection with the new table added.
|
static AutoFlushWriter |
Table.asyncAutoFlushWriter(Session session,
String name)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Table.asyncAutoFlushWriter(Session session,
String name,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Table.asyncAutoFlushWriter(Session session,
Table table)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.asyncAutoFlushWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.asyncAutoFlushWriter(Session session,
Table[] tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Table.asyncAutoFlushWriter(Session session,
Table table,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.asyncAutoFlushWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.asyncAutoFlushWriter(Session session,
Tables tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static Writer |
Table.asyncWriter(Session session,
String name)
Initializes new writer for a single timeseries table using
high-speed buffered writes.
|
static Writer |
Table.asyncWriter(Session session,
Table table)
Initializes new writer for a timeseries table using high-speed
buffered writes.
|
static Writer |
Tables.asyncWriter(Session session,
Table[] tables)
Initializes new writer for timeseries table using hgih-speed
buffered writes.
|
static Writer |
Tables.asyncWriter(Session session,
Tables tables)
Initializes new writer for timeseries table using high-speed
buffered writes.
|
static void |
Table.attachTag(Session session,
String tableName,
String tag)
Attaches a tag to an existing table.
|
static void |
Table.attachTag(Session session,
Table table,
String tag)
Attaches a tag to an existing table.
|
static void |
Table.attachTags(Session session,
String tableName,
List<String> tags)
Attaches tags to an existing table.
|
static void |
Table.attachTags(Session session,
Table table,
List<String> tags)
Attaches tags to an existing table.
|
static AutoFlushWriter |
Table.autoFlushWriter(Session session,
String name)
Initializes new writer for a timeseries table that periodically flushes
its local cache.
|
static AutoFlushWriter |
Table.autoFlushWriter(Session session,
String name,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache.
|
static AutoFlushWriter |
Table.autoFlushWriter(Session session,
Table table)
Initializes new writer for a timeseries table that periodically flushes
its local cache.
|
static AutoFlushWriter |
Tables.autoFlushWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache.
|
static AutoFlushWriter |
Tables.autoFlushWriter(Session session,
Table[] tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache.
|
static AutoFlushWriter |
Table.autoFlushWriter(Session session,
Table table,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache.
|
static AutoFlushWriter |
Tables.autoFlushWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache.
|
static AutoFlushWriter |
Tables.autoFlushWriter(Session session,
Tables tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache.
|
static Table |
Table.create(Session session,
String name,
Column[] columns)
Create new timeseries table with a default shard size.
|
static Table |
Table.create(Session session,
String name,
Column[] columns,
long shardSize)
Create new timeseries table.
|
static Table |
Table.create(Session session,
String name,
Table skeleton)
Create new timeseries table by copying a 'skeleton' table's schema and using
the default shard size.
|
static Table |
Table.create(Session session,
String name,
Table skeleton,
long shardSize)
Create new timeseries table by copying a 'skeleton' table's schema.
|
Result |
Query.execute(Session session) |
static Writer |
Table.expAsyncWriter(Session session,
String name)
Initializes new, experimental high-performance exp columns writer
with asynchronous push mode.
|
static Writer |
Table.expAsyncWriter(Session session,
Table table)
Initializes new, experimental high-performance exp columns writer
with asynchronous push mode.
|
static Writer |
Tables.expAsyncWriter(Session session,
Table[] tables)
Initializes new, experimental exp columns writer for timeseries tables.
|
static Writer |
Tables.expAsyncWriter(Session session,
Tables tables)
Initializes new, experimental exp columns writer for timeseries tables.
|
static Writer |
Table.expFastWriter(Session session,
String name)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Table.expFastWriter(Session session,
Table table)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.expFastWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.expFastWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Table.expTruncateWriter(Session session,
String name)
Initializes new, experimental high-performance exp columns writer.
|
static Writer |
Table.expTruncateWriter(Session session,
Table table)
Initializes new, experimental high-performance exp columns writer.
|
static Writer |
Tables.expTruncateWriter(Session session,
Table[] tables)
Initializes new, experimental exp columns writer for timeseries tables.
|
static Writer |
Tables.expTruncateWriter(Session session,
Tables tables)
Initializes new, experimental exp columns writer for timeseries tables.
|
static Writer |
Table.expWriter(Session session,
String name)
Initializes new, experimental high-performance writer.
|
static Writer |
Table.expWriter(Session session,
Table table)
Initializes new, experimental high-performance writer.
|
static Writer |
Tables.expWriter(Session session,
Table[] tables)
Initializes new, experimental writer for timeseries tables.
|
static Writer |
Tables.expWriter(Session session,
Table[] tables,
Writer.PushMode mode)
Initializes new, experimental exp columns writer for timeseries tables.
|
static Writer |
Tables.expWriter(Session session,
Tables tables)
Initializes new, experimental writer for timeseries tables.
|
static Writer |
Tables.expWriter(Session session,
Tables tables,
Writer.PushMode mode)
Initializes new, experimental writer for timeseries tables.
|
static AutoFlushWriter |
Table.fastAutoFlushWriter(Session session,
String name)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Table.fastAutoFlushWriter(Session session,
String name,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Table.fastAutoFlushWriter(Session session,
Table table)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.fastAutoFlushWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed in-place writes.
|
static AutoFlushWriter |
Tables.fastAutoFlushWriter(Session session,
Table[] tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed in-place writes.
|
static AutoFlushWriter |
Table.fastAutoFlushWriter(Session session,
Table table,
long threshold)
Initializes new writer for a timeseries table that periodically flushes
its local cache, and makes use of high-speed buffered writes.
|
static AutoFlushWriter |
Tables.fastAutoFlushWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed in-place writes.
|
static AutoFlushWriter |
Tables.fastAutoFlushWriter(Session session,
Tables tables,
long threshold)
Initializes new writer for timeseries tables that periodically flushes
its local cache, and makes use of high-speed in-place writes.
|
static Writer |
Table.fastWriter(Session session,
String name)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Table.fastWriter(Session session,
Table table)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.fastWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.fastWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Column[] |
Table.getColumns(Session session,
String name)
Returns column layout of table.
|
static long |
Table.getShardSize(Session session,
String tableName)
Returns the shard size (in milliseconds) of the table.
|
static long |
Table.getShardSize(Session session,
Table table)
Returns the shard size (in seconds) of the table.
|
static long |
Table.getShardSizeMillis(Session session,
Table table)
Returns the shard size (in milliseconds) of the table.
|
static Tables |
Tables.ofTag(Session session,
String tag) |
static Writer |
Table.pinnedAsyncWriter(Session session,
String name)
Initializes new, experimental high-performance pinned columns writer
with asynchronous push mode.
|
static Writer |
Table.pinnedAsyncWriter(Session session,
Table table)
Initializes new, experimental high-performance pinned columns writer
with asynchronous push mode.
|
static Writer |
Tables.pinnedAsyncWriter(Session session,
Table[] tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Tables.pinnedAsyncWriter(Session session,
Tables tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Table.pinnedFastWriter(Session session,
String name)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Table.pinnedFastWriter(Session session,
Table table)
Initializes new writer for a single table that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.pinnedFastWriter(Session session,
Table[] tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Tables.pinnedFastWriter(Session session,
Tables tables)
Initializes new writer for timeseries tables that makes use of
in-place updates rather than copy-on-write.
|
static Writer |
Table.pinnedTruncateWriter(Session session,
String name)
Initializes new, experimental high-performance pinned columns writer.
|
static Writer |
Table.pinnedTruncateWriter(Session session,
Table table)
Initializes new, experimental high-performance pinned columns writer.
|
static Writer |
Tables.pinnedTruncateWriter(Session session,
Table[] tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Tables.pinnedTruncateWriter(Session session,
Tables tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Table.pinnedWriter(Session session,
String name)
Initializes new, experimental high-performance pinned columns writer.
|
static Writer |
Table.pinnedWriter(Session session,
Table table)
Initializes new, experimental high-performance pinned columns writer.
|
static Writer |
Tables.pinnedWriter(Session session,
Table[] tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Tables.pinnedWriter(Session session,
Table[] tables,
Writer.PushMode mode)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Tables.pinnedWriter(Session session,
Tables tables)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Writer |
Tables.pinnedWriter(Session session,
Tables tables,
Writer.PushMode mode)
Initializes new, experimental pinned columns writer for timeseries tables.
|
static Reader |
Table.reader(Session session,
String name,
TimeRange[] ranges)
Initializes new reader for a timeseries table.
|
static Reader |
Table.reader(Session session,
Table table,
TimeRange[] ranges)
Initializes new reader for a timeseries table.
|
static void |
Table.remove(Session session,
String name)
Remove existing timeseries table.
|
static void |
Table.remove(Session session,
Table table)
Remove existing timeseries table.
|
static Writer |
Table.truncateWriter(Session session,
String name)
Initializes new writer for a single table that replaces any
existing data with the new data, rather than just adding.
|
static Writer |
Table.truncateWriter(Session session,
Table table)
Initializes new writer for a single table that replaces any
existing data with the new data, rather than just adding.
|
static Writer |
Tables.truncateWriter(Session session,
Table[] tables)
Initializes new writer for a single table that replaces any
existing data with the new data, rather than just adding.
|
static Writer |
Tables.truncateWriter(Session session,
Tables tables)
Initializes new writer for a single table that replaces any
existing data with the new data, rather than just adding.
|
static Writer |
Table.writer(Session session,
String name)
Initializes new writer for a single timeseries table.
|
static Writer |
Table.writer(Session session,
Table table)
Initializes new writer for a timeseries table.
|
static Writer |
Tables.writer(Session session,
Table[] tables)
Initializes new writer for timeseries table.
|
static Writer |
Tables.writer(Session session,
Table[] tables,
Writer.PushMode mode)
Initializes new writer for timeseries table.
|
static Writer |
Tables.writer(Session session,
Tables tables)
Initializes new writer for timeseries table.
|
static Writer |
Tables.writer(Session session,
Tables tables,
Writer.PushMode mode)
Initializes new writer for timeseries table.
|
Constructor and Description |
---|
AutoFlushWriter(Session session,
Table[] tables)
Initialize a new auto-flushing timeseries table with a default threshold of 50000 rows.
|
AutoFlushWriter(Session session,
Table[] tables,
long threshold)
Initialize a new auto-flushing timeseries table.
|
AutoFlushWriter(Session session,
Table[] tables,
long threshold,
Writer.PushMode pushMode)
Initialize a new auto-flushing timeseries table.
|
AutoFlushWriter(Session session,
Table[] tables,
Writer.PushMode pushMode)
Initialize a new auto-flushing timeseries table with a default threshold of 50000 rows.
|
ExpWriter(Session session,
Table[] tables) |
ExpWriter(Session session,
Table[] tables,
Writer.PushMode mode) |
PinnedWriter(Session session,
Table[] tables) |
PinnedWriter(Session session,
Table[] tables,
Writer.PushMode mode) |
Reader(Session session,
Table table,
TimeRange[] ranges) |
Table(Session session,
String name)
Initialize a new timeseries table.
|
Writer(Session session,
Table[] tables) |
Writer(Session session,
Table[] tables,
Writer.PushMode mode) |
Copyright © 2021. All rights reserved.