public final class GetRouteCostMatrixRequest extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GetRouteCostMatrixRequest.Builder
Builder class to create
GetRouteCostMatrixRequest object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDBResource()
Returns the name of Database resource used with this request.
|
CoordSys |
getDestinationSrs()
Returns the Destination Coordinate System associated with request.
|
LinearUnit |
getDistanceUnit()
Returns the Linear Unit for route request.
|
List<IPoint> |
getEndPoints()
Returns the list of end points for which this request was created.
|
HistoricSpeedBucket |
getHistoricSpeedBucket()
Returns the Historic Traffic time bucket used with this request.
|
int |
getLocalRoadsLoadFactor()
Returns the localRoadLoadFactor used for this request.
|
OptimizeBy |
getOptimizeBy()
Returns whether the fastest or shortest routes for route cost matrix are
to be calculated.
|
Map<RoadType,RoadTypePriority> |
getRoadTypePreferences()
|
List<IPoint> |
getStartPoints()
Returns the list of start points for which this request was created.
|
TimeUnit |
getTimeUnit()
Returns the Time Unit for route request.
|
List<Update> |
getUpdates()
|
VehicleAttributes |
getVehicleAttr()
Returns the Commercial Vehicle Restriction value used with this request.
|
boolean |
isAvoidTollRoad()
Returns whether the route is calculated using avoid toll roads only or
not.
|
boolean |
isMajorRoads()
Returns whether the route matrix is calculated using only major roads or
not.
|
boolean |
isReturnOptimalRoutesOnly()
Returns whether to return only optimal route costs or complete route cost
matrix.
|
public LinearUnit getDistanceUnit()
LinearUnitpublic TimeUnit getTimeUnit()
TimeUnitpublic List<IPoint> getStartPoints()
public List<IPoint> getEndPoints()
public OptimizeBy getOptimizeBy()
OptimizeBy.TIME means fastest and
OptimizeBy.DISTANCE means shortest.OptimizeBy value.public boolean isReturnOptimalRoutesOnly()
public Map<RoadType,RoadTypePriority> getRoadTypePreferences()
Map of RoadType and their
RoadTypePriority. Used to force usage or avoid certain type of
roads while route matrix calculation.Map of RoadType and their
RoadTypePriority.public boolean isMajorRoads()
public boolean isAvoidTollRoad()
public CoordSys getDestinationSrs()
CoordSys, destination coordinate system for response.public HistoricSpeedBucket getHistoricSpeedBucket()
HistoricSpeedBucket, used while processing the request.public VehicleAttributes getVehicleAttr()
VehicleAttributes to be used while processing the
request.public String getDBResource()
public int getLocalRoadsLoadFactor()