Package org.aksw.facete.v3.impl
Interface RangeSpec
- All Superinterfaces:
org.apache.jena.graph.FrontsNode,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
- All Known Implementing Classes:
RangeSpecImpl
public interface RangeSpec
extends org.apache.jena.rdf.model.Resource
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
com.google.common.collect.Range<T>createRange(T min, boolean isMinInclusive, T max, boolean isMaxInclusive) Utility function for creating ranges with null values.static <T extends Comparable<T>>
com.google.common.collect.Range<T>createRange(T min, com.google.common.collect.BoundType minBoundType, T max, com.google.common.collect.BoundType maxBoundType) Utility function for creating ranges with null values.org.apache.jena.rdf.model.RDFNodegetMax()default <T> Torg.apache.jena.rdf.model.RDFNodegetMin()default <T> TbooleanbooleanvoidsetMax(org.apache.jena.rdf.model.RDFNode max) voidsetMaxInclusive(boolean onOrOff) voidsetMin(org.apache.jena.rdf.model.RDFNode min) voidsetMinInclusive(boolean onOrOff) default <T extends Comparable<T>>
com.google.common.collect.Range<T>Methods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithMethods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
-
Method Details
-
getMin
org.apache.jena.rdf.model.RDFNode getMin() -
setMin
void setMin(org.apache.jena.rdf.model.RDFNode min) -
isMinInclusive
boolean isMinInclusive() -
setMinInclusive
void setMinInclusive(boolean onOrOff) -
getMax
org.apache.jena.rdf.model.RDFNode getMax() -
setMax
void setMax(org.apache.jena.rdf.model.RDFNode max) -
isMaxInclusive
boolean isMaxInclusive() -
setMaxInclusive
void setMaxInclusive(boolean onOrOff) -
getMin
-
getMax
-
toRange
-
createRange
static <T extends Comparable<T>> com.google.common.collect.Range<T> createRange(T min, boolean isMinInclusive, T max, boolean isMaxInclusive) Utility function for creating ranges with null values. Null is interpreted as the absence of a boundary, hence createRange(null, null) yields Range.all(). If min or max is null, the corresponding value for inclusiveness is ignored.- Parameters:
min-isMinInclusive-max-isMaxInclusive-- Returns:
-
createRange
static <T extends Comparable<T>> com.google.common.collect.Range<T> createRange(T min, com.google.common.collect.BoundType minBoundType, T max, com.google.common.collect.BoundType maxBoundType) Utility function for creating ranges with null values. Null is interpreted as the absence of a boundary, hence createRange(null, null) yields Range.all(). If min or max is null, the corresponding value for inclusiveness is ignored.- Parameters:
min-minBoundType-max-maxBoundType-- Returns:
-