io.keen.client.java.result.StringResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keen-client-api-query Show documentation
Show all versions of keen-client-api-query Show documentation
Java Query Client API for Keen IO
package io.keen.client.java.result;
/**
* StringResult is for if the QueryResult object is of type String.
*
* @author claireyoung
* @since 1.0.0, 07/06/15
*/
public class StringResult extends QueryResult {
private final String result;
/**
* @param result the result.
*/
public StringResult(String result) {
this.result = result;
}
/**
* @return {@code true}
*/
@Override
public boolean isString() {
return true;
}
/**
* @return String value.
*/
@Override
public String stringValue() {
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy