public class PylaskiUtilities extends java.lang.Object
https://github.com/words-sdsc/wifire/blob/master/pylaski.ipynb
Modifier and Type | Class and Description |
---|---|
static class |
PylaskiUtilities.Selection
Station selection types
|
static class |
PylaskiUtilities.Settings
Configure settings for sending REST API requests.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT
The format of the date/time values provided by the Pylaski API
|
static java.lang.String |
DEFAULT_HOST
The host URL of the REST API - all requests are made to this URL
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getSelectionString(PylaskiUtilities.Selection selection)
Maps the selection enums (see above) to their string counterparts.
|
static VectorToken |
mergeVectors(VectorToken tokenA,
VectorToken tokenB)
Merges two vector tokens together into one.
|
public static final java.lang.String DEFAULT_HOST
public static final java.lang.String DATE_FORMAT
public static java.lang.String getSelectionString(PylaskiUtilities.Selection selection)
selection
- The selection enumpublic static VectorToken mergeVectors(VectorToken tokenA, VectorToken tokenB) throws java.lang.Exception
tokenA
- The first vector tokentokenB
- The second vector tokenjava.lang.Exception
- Raised if both tokens are null