public class DimensionSubset
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DimensionSubset.Type |
Modifier and Type | Field and Description |
---|---|
protected DomainCoordinate |
_domainCoordinate |
Constructor and Description |
---|
DimensionSubset(DimensionSubset source) |
DimensionSubset(DomainCoordinate dc)
Makes a DimensioSubset that requests the entire DomainCoordinate
|
DimensionSubset(org.jdom.Element dimensionSubsetType)
Accepts the an instance of the DomainSubset abstract element in WCS 2.0.
|
DimensionSubset(java.lang.String kvpSubsetString)
Accepts the KVP encoding of a subset parameter for WCS 2.0
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDap2GridValueConstraint()
The is method produces the correct DAP value based constraint for inclusion in a DAP constraint expression
call to the DAP server side function "grid"
If the time point/slice values are not integers (if they fail to parse as an Integer correctly) then they are
assumed to be in the target dataset DomainCoordinate units and they are used to construct a value based
constraint/filter expression for the DAP server side function "grid".
|
java.lang.String |
getDapArrayIndexConstraint()
The is method produces the DAP array index constraint that represents the subset.
|
java.lang.String |
getDimensionId() |
org.jdom.Element |
getDimensionSubsetElement() |
java.lang.String |
getSlicePoint() |
java.lang.String |
getTrimHigh() |
java.lang.String |
getTrimLow() |
DimensionSubset.Type |
getType() |
boolean |
isArraySubset() |
boolean |
isArraySubsetString(java.lang.String subsetStr) |
boolean |
isSliceSubset() |
boolean |
isTrimSubset() |
boolean |
isValueSubset() |
protected void |
setDimensionId(java.lang.String s) |
void |
setDomainCoordinate(DomainCoordinate dc) |
protected void |
setIsArraySubset(boolean s) |
protected void |
setSlicePoint(java.lang.String s) |
protected void |
setSubsetType(DimensionSubset.Type t) |
protected void |
setTrimHigh(java.lang.String s) |
protected void |
setTrimLow(java.lang.String s) |
protected DomainCoordinate _domainCoordinate
public DimensionSubset(DimensionSubset source)
public DimensionSubset(DomainCoordinate dc)
dc
- public DimensionSubset(java.lang.String kvpSubsetString) throws WcsException
kvpSubsetString
- the KVP encoding of a subset parameter value.WcsException
- When it's funky, like an old sock.public DimensionSubset(org.jdom.Element dimensionSubsetType) throws WcsException
dimensionSubsetType
- One of the DomainSubsetType elements from the WCS 2.0 GetCoverage element. This may be either
DimensionTrim or DimensionSliceWcsException
- When it's funky like an old sock.public void setDomainCoordinate(DomainCoordinate dc)
protected void setDimensionId(java.lang.String s) throws WcsException
WcsException
protected void setSubsetType(DimensionSubset.Type t)
protected void setTrimLow(java.lang.String s)
protected void setTrimHigh(java.lang.String s)
protected void setIsArraySubset(boolean s)
protected void setSlicePoint(java.lang.String s)
public boolean isArraySubsetString(java.lang.String subsetStr)
public boolean isValueSubset()
public boolean isArraySubset()
public DimensionSubset.Type getType()
public org.jdom.Element getDimensionSubsetElement()
public java.lang.String getDap2GridValueConstraint() throws WcsException
WcsException
public java.lang.String getDapArrayIndexConstraint() throws WcsException
WcsException
public boolean isSliceSubset()
public boolean isTrimSubset()
public java.lang.String getSlicePoint()
public java.lang.String getTrimHigh()
public java.lang.String getTrimLow()
public java.lang.String getDimensionId()