Skip to content

Java SDK refresh method via gRPC #15

@sgrebnov

Description

@sgrebnov
  1. Add client.refresh method to perform Accelerated Dataset refresh.

Example usage:

try (SpiceClient client = SpiceClient.builder()
                .build()) {

            client.refresh("taxi_trips");
            System.out.println("Dataset refresh triggered for taxi_trips");

        } catch (Exception e) {
            System.err.println("An unexpected error occurred: " + e.getMessage());
        }
    }

Refresh should work over gRPC (not HTTP) using a Flight "Action".

  1. As part of this item there should be an additional configuration param introduced withHttpOnly(true/false) switching both refresh and query logic to use Http

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions