| Package | Description |
|---|---|
| io.picodata.compat.jdk11.sql |
This package contains shims for compatibility with JDK11 java.sql package.
|
| io.picodata.jdbc |
JDBC driver for Picodata
|
| io.picodata.jdbc.api.sharding |
This package contains classes and interfaces related to Picodata cluster sharding key model.
|
| io.picodata.jdbc.datasource |
JDBC DataSource implementation classes for Picodata
|
| io.picodata.jdbc.sharding |
Copyright (c) 2025, Picodata JDBC authors.
|
| Modifier and Type | Method and Description |
|---|---|
ShardingKey |
ShardingKeyBuilder.build()
Returns an instance of the object defined by this builder.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionBuilder |
ConnectionBuilder.shardingKey(ShardingKey shardingKey)
Specifies a
shardingKey to be used when creating a connection |
ConnectionBuilder |
ConnectionBuilder.superShardingKey(ShardingKey superShardingKey)
Specifies a
superShardingKey to be used when creating a connection |
| Modifier and Type | Method and Description |
|---|---|
ConnectionBuilder |
PicodataConnectionBuilder.shardingKey(ShardingKey shardingKey) |
ConnectionBuilder |
PicodataConnectionBuilder.superShardingKey(ShardingKey superShardingKey) |
| Modifier and Type | Method and Description |
|---|---|
ShardingKey |
ShardingKeyFactory.createKey(Function<String,Object> fieldValueMapper)
Creates an instance of a sharding key.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
PicodataBaseDataSource.getConnection(ShardingKey shardingKey)
Gets a connection to the Picodata shard based on the input sharding key.
|
Connection |
PicodataBaseDataSource.getConnection(ShardingKey shardingKey,
String username,
String password)
Gets a connection to the Picodata shard based on the input sharding key.
|
Connection |
PicodataClusterAwareDataSource.getConnection(ShardingKey shardingKey,
String username,
String password)
Gets a connection to the Picodata replicaset based on the input sharding key.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PicodataShardingKey
Represents a sharding key that identifies a specific
bucket in Picodata cluster.
|
| Modifier and Type | Method and Description |
|---|---|
ShardingKey |
PicodataShardingKeyFactory.createKey(Function<String,Object> fieldValueMapper) |
Copyright © 2026 Picodata. All rights reserved.