aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java
diff options
context:
space:
mode:
authorGeir Storli <geirst@oath.com>2018-02-02 13:10:30 +0100
committerGeir Storli <geirst@oath.com>2018-02-02 13:50:00 +0100
commit0c29fb32d7263487ce5d722e95e2fb89166b00c8 (patch)
treea36bb045c70c7281b30d839ae46814bba5106500 /vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java
parent711bf1a14c15796e7be2fa96f30d0ad816465288 (diff)
Define and use fixed bucket spaces in Java code.
Diffstat (limited to 'vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java')
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java b/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java
index a05e4ed1e48..3a51e9c858f 100644
--- a/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java
+++ b/vespaclient-java/src/main/java/com/yahoo/vespastat/ClientParameters.java
@@ -1,6 +1,8 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespastat;
+import com.yahoo.document.FixedBucketSpaces;
+
/**
* This class contains the program parameters.
*
@@ -25,7 +27,7 @@ public class ClientParameters {
String route,
SelectionType selectionType,
String id) {
- this(help, dumpData, route, selectionType, id, "default");
+ this(help, dumpData, route, selectionType, id, FixedBucketSpaces.defaultSpace());
}
public ClientParameters(
@@ -51,7 +53,7 @@ public class ClientParameters {
private String route;
private SelectionType selectionType;
private String id;
- private String bucketSpace = "default"; // TODO repo etc etc
+ private String bucketSpace = FixedBucketSpaces.defaultSpace();
public Builder setHelp(boolean help) {
this.help = help;