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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ target/
tests/data
tests/compatibility/*.jar
test-output
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The following example demonstrates how to upload data and load it into a table:
```java
// 1. Upload a file to the internal stage
Connection conn = DriverManager.getConnection("jdbc:databend://localhost:8000");
FileTransferAPI api = conn.unwrap(DatabendConnection.class);
DatabendConnection api = conn.unwrap(DatabendConnection.class);

FileInputStream fileStream = new FileInputStream("data.csv");
api.uploadStream(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.vdurmont.semver4j.Semver;

public class Capability {
class Capability {
private final boolean streamingLoad;
private final boolean heartbeat;
public Capability(Semver ver) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.Set;

// all possible JDBC properties options currently supported by databend driver
public final class ConnectionProperties {
final class ConnectionProperties {
public static final ConnectionProperty<String> USER = new User();
public static final ConnectionProperty<String> PASSWORD = new Password();
public static final ConnectionProperty<Boolean> SSL = new Ssl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.net.URI;
import java.util.List;

public class DatabendClientLoadBalancingPolicy {
class DatabendClientLoadBalancingPolicy {
static class DisabledPolicy extends DatabendClientLoadBalancingPolicy {
@Override
public String toString() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import static java.util.Objects.requireNonNull;

public class DatabendColumnInfo {
class DatabendColumnInfo {
private static final int VARBINARY_MAX = 1024 * 1024 * 1024;
// current longest time zone is 32
private static final int TIME_ZONE_MAX = 40;
Expand Down
Loading
Loading