Public Member Functions | Private Attributes | Static Private Attributes
roboearth.wp5.conn.REConnectionHadoop.EnvironmentList Class Reference
Inheritance diagram for roboearth.wp5.conn.REConnectionHadoop.EnvironmentList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EnvironmentList (String jsonText) throws InvalidSyntaxException
String get (int index)
ArrayList< byte[]> get2dMap (int index, String targetFileNameWithoutExt)
String getAuthor (int index)
String getDescription (int index)
String[] getFilenames (int index)
String[] getFileURLs (int index)
long getTimestamp (int index)
String getUID (int index)
int size ()

Private Attributes

final JsonRootNode json

Static Private Attributes

static final JsonNodeSelector
< JsonNode, String > 
JSON_AUTHOR
static final JsonNodeSelector
< JsonNode, String > 
JSON_DESCRIPTION
static final JsonNodeSelector
< JsonNode, String > 
JSON_ENVIRONMENT
static final JsonNodeSelector
< JsonNode, List< JsonNode > > 
JSON_ENVIRONMENTS
static final JsonNodeSelector
< JsonNode, Map
< JsonStringNode, JsonNode > > 
JSON_FILES
static final JsonNodeSelector
< JsonNode, Map
< JsonStringNode, JsonNode > > 
JSON_MAPS
static final JsonNodeSelector
< JsonNode, String > 
JSON_TIMESTAMP
static final JsonNodeSelector
< JsonNode, String > 
JSON_UID
static final JsonNodeSelector
< JsonNode, String > 
JSON_URL

Detailed Description

A EnvironmentList object contains a JSON parser, that tries to extract the environment and timestamp fields from elements of an array named environments of a given JSON encoded string and presents the collected data in a convenient Java AbstractList derived object.

Author:
Alexander Perzylo, perzylo@cs.tum.edu

Definition at line 2185 of file REConnectionHadoop.java.


Constructor & Destructor Documentation

roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.EnvironmentList ( String  jsonText) throws InvalidSyntaxException [inline]

Definition at line 2217 of file REConnectionHadoop.java.


Member Function Documentation

Definition at line 2222 of file REConnectionHadoop.java.

ArrayList<byte[]> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.get2dMap ( int  index,
String  targetFileNameWithoutExt 
) [inline]

Definition at line 2296 of file REConnectionHadoop.java.

Definition at line 2242 of file REConnectionHadoop.java.

Definition at line 2238 of file REConnectionHadoop.java.

Definition at line 2250 of file REConnectionHadoop.java.

Definition at line 2273 of file REConnectionHadoop.java.

Definition at line 2230 of file REConnectionHadoop.java.

Definition at line 2246 of file REConnectionHadoop.java.

Definition at line 2414 of file REConnectionHadoop.java.


Member Data Documentation

Definition at line 2187 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_AUTHOR [static, private]
Initial value:
 
                                JsonNodeSelectors.aStringNode("author")

Definition at line 2199 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_DESCRIPTION [static, private]
Initial value:
 
                                JsonNodeSelectors.aStringNode("description")

Definition at line 2202 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_ENVIRONMENT [static, private]
Initial value:
 
                                JsonNodeSelectors.aStringNode("environment")

Definition at line 2193 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, List<JsonNode> > roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_ENVIRONMENTS [static, private]
Initial value:
 
                                JsonNodeSelectors.anArrayNode("environments")

Definition at line 2190 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, Map<JsonStringNode,JsonNode> > roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_FILES [static, private]
Initial value:
 
                        JsonNodeSelectors.anObjectNode("files")

Definition at line 2208 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, Map<JsonStringNode,JsonNode> > roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_MAPS [static, private]
Initial value:
 
                        JsonNodeSelectors.anObjectNode("2dmap")

Definition at line 2214 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_TIMESTAMP [static, private]
Initial value:
 
                                JsonNodeSelectors.aNumberNode("timestamp")

Definition at line 2196 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_UID [static, private]
Initial value:
 
                                JsonNodeSelectors.aStringNode("id")

Definition at line 2205 of file REConnectionHadoop.java.

final JsonNodeSelector<JsonNode, String> roboearth.wp5.conn.REConnectionHadoop.EnvironmentList.JSON_URL [static, private]
Initial value:
 
                        JsonNodeSelectors.aStringNode("url")

Definition at line 2211 of file REConnectionHadoop.java.


The documentation for this class was generated from the following file:


re_comm_core
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:29:33