io.keen.client.java.result.LongResult 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;
/**
* LongResult is for if the QueryResult object is of type Long.
*
* @author claireyoung
* @since 1.0.0, 07/06/15
*/
public class LongResult extends QueryResult {
private final long result;
/**
* @param result the result.
*/
public LongResult(long result) {
this.result = result;
}
/**
* @return {@code true}
*/
@Override
public boolean isLong() {
return true;
}
/**
* @return long value
*/
@Override
public long longValue() {
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy