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

List of all members.

Public Member Functions

String get (int index)
String getAuthor (int index)
String getDescription (int index)
long getTimestamp (int index)
String getUID (int index)
 RecipeList (String jsonText) throws InvalidSyntaxException
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_RECIPE
static final JsonNodeSelector
< JsonNode, List< JsonNode > > 
JSON_RECIPES
static final JsonNodeSelector
< JsonNode, String > 
JSON_TIMESTAMP
static final JsonNodeSelector
< JsonNode, String > 
JSON_UID

Detailed Description

A RecipeList object contains a JSON parser, that tries to extract the recipe and timestamp fields from elements of an array named recipes 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 1937 of file REConnectionHadoop.java.


Constructor & Destructor Documentation

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

Definition at line 1960 of file REConnectionHadoop.java.


Member Function Documentation

Definition at line 1965 of file REConnectionHadoop.java.

Definition at line 1985 of file REConnectionHadoop.java.

Definition at line 1981 of file REConnectionHadoop.java.

Definition at line 1973 of file REConnectionHadoop.java.

Definition at line 1989 of file REConnectionHadoop.java.

Definition at line 1994 of file REConnectionHadoop.java.


Member Data Documentation

Definition at line 1939 of file REConnectionHadoop.java.

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

Definition at line 1951 of file REConnectionHadoop.java.

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

Definition at line 1954 of file REConnectionHadoop.java.

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

Definition at line 1945 of file REConnectionHadoop.java.

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

Definition at line 1942 of file REConnectionHadoop.java.

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

Definition at line 1948 of file REConnectionHadoop.java.

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

Definition at line 1957 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