Neo4j

org.neo4j.server.rest.repr
Class ListRepresentation

java.lang.Object
  extended by org.neo4j.server.rest.repr.Representation
      extended by org.neo4j.server.rest.repr.ListRepresentation

public class ListRepresentation
extends Representation


Field Summary
 
Fields inherited from class org.neo4j.server.rest.repr.Representation
BOOLEAN, BOOLEAN_LIST, BYTE, BYTE_LIST, CHARACTER, CHARACTER_LIST, DOUBLE, DOUBLE_LIST, EXCEPTION, EXTENSION, EXTENSIONS_MAP, FLOAT, FLOAT_LIST, GRAPHDB, INDEX, INTEGER, INTEGER_LIST, LONG, LONG_LIST, MAP, NODE, NODE_INDEXES, NODE_LIST, PATH, PATH_LIST, PROPERTIES_MAP, RELATIONSHIP, RELATIONSHIP_INDEXES, RELATIONSHIP_LIST, RELATIONSHIP_TYPE, SHORT, SHORT_LIST, STRING, STRING_LIST, URI, URI_TEMPLATE
 
Constructor Summary
ListRepresentation(RepresentationType type, Iterable<? extends Representation> content)
           
ListRepresentation(String type, Iterable<? extends Representation> content)
           
 
Method Summary
static ListRepresentation numbers(double[] values)
           
static ListRepresentation numbers(long... values)
           
static ListRepresentation relationshipTypes(Iterable<RelationshipType> types)
           
static ListRepresentation string(Iterable<String> values)
           
static ListRepresentation strings(String... values)
           
 
Methods inherited from class org.neo4j.server.rest.repr.Representation
emptyRepresentation, getRepresentationType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListRepresentation

public ListRepresentation(String type,
                          Iterable<? extends Representation> content)

ListRepresentation

public ListRepresentation(RepresentationType type,
                          Iterable<? extends Representation> content)
Method Detail

strings

public static ListRepresentation strings(String... values)

string

public static ListRepresentation string(Iterable<String> values)

relationshipTypes

public static ListRepresentation relationshipTypes(Iterable<RelationshipType> types)

numbers

public static ListRepresentation numbers(long... values)

numbers

public static ListRepresentation numbers(double[] values)

Neo4j

Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.