aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-05-16 13:20:56 +0200
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:22 +0200
commit4639be4f03d58a0b8df7b1ecb573e7d344a53ed5 (patch)
tree236d8b271e2e51c5e15df08bc19c4c97860ca16a /vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java
parent1e03a00cd6f69cf63d942885e97ff7582778c7f5 (diff)
Remove top-level <clients> element and LoadType concept
Load types have not been properly supported for some time, so remove the remaining API surfaces exposing them. Since load type config was the last remaining use of <clients> in services.xml, remove that one as well.
Diffstat (limited to 'vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java')
-rw-r--r--vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java13
1 files changed, 2 insertions, 11 deletions
diff --git a/vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java b/vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java
index d3431818b63..3ea641fc642 100644
--- a/vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java
+++ b/vespaclient-java/src/main/java/com/yahoo/vespaget/ClientParameters.java
@@ -35,8 +35,6 @@ public class ClientParameters {
public final int traceLevel;
// Document request priority
public final DocumentProtocol.Priority priority;
- // Determines the Vespa load type
- public final String loadTypeName;
// If full documents are printed, they will be printed as JSON (instead of XML)
public final boolean jsonOutput;
@@ -45,7 +43,7 @@ public class ClientParameters {
boolean help, Iterator<String> documentIds, boolean printIdsOnly,
String fieldSet, String route, String cluster, String configId,
boolean showDocSize, double timeout, boolean noRetry, int traceLevel,
- DocumentProtocol.Priority priority, String loadTypeName, boolean jsonOutput) {
+ DocumentProtocol.Priority priority, boolean jsonOutput) {
this.help = help;
this.documentIds = documentIds;
@@ -59,7 +57,6 @@ public class ClientParameters {
this.noRetry = noRetry;
this.traceLevel = traceLevel;
this.priority = priority;
- this.loadTypeName = loadTypeName;
this.jsonOutput = jsonOutput;
}
@@ -76,7 +73,6 @@ public class ClientParameters {
private boolean noRetry;
private int traceLevel;
private DocumentProtocol.Priority priority;
- private String loadTypeName;
private boolean jsonOutput;
public Builder setHelp(boolean help) {
@@ -139,11 +135,6 @@ public class ClientParameters {
return this;
}
- public Builder setLoadTypeName(String loadTypeName) {
- this.loadTypeName = loadTypeName;
- return this;
- }
-
public Builder setJsonOutput(boolean jsonOutput) {
this.jsonOutput = jsonOutput;
return this;
@@ -152,7 +143,7 @@ public class ClientParameters {
public ClientParameters build() {
return new ClientParameters(
help, documentIds, printIdsOnly, fieldSet, route, cluster, configId,
- showDocSize, timeout, noRetry, traceLevel, priority, loadTypeName, jsonOutput);
+ showDocSize, timeout, noRetry, traceLevel, priority, jsonOutput);
}
}