-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into multi-grid-download
- Loading branch information
Showing
7 changed files
with
108 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/com/conveyal/analysis/models/CsvResultOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.conveyal.analysis.models; | ||
|
||
import com.conveyal.r5.transit.TransitLayer.EntityRepresentation; | ||
|
||
import static com.conveyal.r5.transit.TransitLayer.EntityRepresentation.ID_ONLY; | ||
|
||
/** | ||
* API model type included in analysis requests to control details of CSV regional analysis output. | ||
* This type is shared between AnalysisRequest (Frontend -> Broker) and AnalysisWorkerTask (Broker -> Workers). | ||
* There is precedent for nested compound types shared across those top level request types (see DecayFunction). | ||
*/ | ||
public class CsvResultOptions { | ||
public EntityRepresentation routeRepresentation = ID_ONLY; | ||
public EntityRepresentation stopRepresentation = ID_ONLY; | ||
// Only feed ID representation is allowed to be null (no feed IDs at all, the default). | ||
public EntityRepresentation feedRepresentation = null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters