public class QueryConstraintSpec extends Object
Constructor and Description |
---|
QueryConstraintSpec()
Create instance with no constraints.
|
QueryConstraintSpec(Date oldestTime,
Double minScore)
Create instance with the specified constraints.
|
Modifier and Type | Method and Description |
---|---|
Double |
getMinScore()
Returns the minimum score of accepted named graphs of null if there is no
limit.
|
Date |
getOldestTime()
Returns the oldest time of accepted named graphs of null if there is no
limit.
|
void |
setMinScore(Double minScore)
Sets the minimum score of accepted named graphs of null if there is no
limit.
|
void |
setOldestTime(Date oldestTime)
Sets the oldest time of accepted named graphs.
|
public QueryConstraintSpec()
public Date getOldestTime()
public void setOldestTime(Date oldestTime)
oldestTime
- oldest time of accepted named graphs or nullpublic Double getMinScore()
public void setMinScore(Double minScore)
minScore
- minimum score of accepted named graphs or null; the value must be in [0, 1]Copyright © 2013. All Rights Reserved.