public class ResultEnvelope extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ResultEnvelope.Which |
Modifier and Type | Field and Description |
---|---|
ResultSet |
avgCase
The average case (e.g.
|
ResultSet |
bestCase
The best case/upper bound (e.g.
|
String |
destinationPointsetId
The ID of the shapefile/pointset from whence this result envelope came
|
String |
id
The ID of the feature from whence this result envelope came
|
String |
jobId
The ID of the job of which this resultenvelope is a part
|
ResultSet |
pointEstimate
A point estimate of accessibility, in the statistical sense: a single result that serves as a representative point
in a distribution.
|
boolean |
profile
Is this a profile request?
If so, upperBound and lowerBound will be defined, and pointEstimate not.
|
ResultSet |
spread
The spread of results (future use).
|
ResultSet |
worstCase
The lower bound (e.g.
|
Constructor and Description |
---|
ResultEnvelope()
Build an empty result envelope.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ResultEnvelope> |
explode()
Explode this result envelope into a result envelope for each contained attribute
We do this because we need to retrieve all of the values for a particular variable quickly, in order to display the map,
and looping over 10GB of data to do this is not tractable.
|
ResultSet |
get(ResultEnvelope.Which key) |
void |
put(ResultEnvelope.Which key,
ResultSet val) |
public ResultSet bestCase
public ResultSet worstCase
public ResultSet avgCase
public ResultSet pointEstimate
public ResultSet spread
public boolean profile
public String jobId
public String id
public String destinationPointsetId
public ResultSet get(ResultEnvelope.Which key)
public void put(ResultEnvelope.Which key, ResultSet val)
public Map<String,ResultEnvelope> explode()
Copyright © 2019. All rights reserved.