Skip navigation links
A B C D E G H I M N O R S W 

A

add(T) - Method in class com.netflix.nfgraph.util.OrdinalMap
Add an object into this OrdinalMap.
addConnection(String, int, String, int) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Add a connection to this graph.
addConnection(String, String, int, String, int) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Add a connection to this graph.
addConnection(NFBuildGraphNode, NFPropertySpec, int, NFBuildGraphNode) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Add a connection to this graph.
addConnectionModel(String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Add a connection model, identified by the parameter connectionModel to this graph.
addNodeSpec(NFNodeSpec) - Method in class com.netflix.nfgraph.spec.NFGraphSpec
Add a node type to this graph specification.
asArray() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
Returns an array containing all elements in the set.
asArray() - Method in class com.netflix.nfgraph.OrdinalSet
Returns an array containing all elements in the set.

B

BitSetOrdinalIterator - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalIterator returned for ordinals represented as bit sets in an NFCompressedGraph.
BitSetOrdinalIterator(ByteArrayReader) - Constructor for class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
 
BitSetOrdinalSet - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalSet, returned for connections represented as a bit set in an NFCompressedGraph.
BitSetOrdinalSet(ByteArrayReader) - Constructor for class com.netflix.nfgraph.compressed.BitSetOrdinalSet
 

C

com.netflix.nfgraph - package com.netflix.nfgraph
 
com.netflix.nfgraph.build - package com.netflix.nfgraph.build
 
com.netflix.nfgraph.compressed - package com.netflix.nfgraph.compressed
 
com.netflix.nfgraph.exception - package com.netflix.nfgraph.exception
 
com.netflix.nfgraph.spec - package com.netflix.nfgraph.spec
 
com.netflix.nfgraph.util - package com.netflix.nfgraph.util
 
COMPACT - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A NFPropertySpec.MULTIPLE property instantiated with this flag will be represented as a CompactOrdinalSet in an NFCompressedGraph.
CompactOrdinalIterator - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalIterator returned for ordinals represented as variable-byte deltas in an NFCompressedGraph.
CompactOrdinalSet - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalSet, returned for connections represented as variable-byte deltas in an NFCompressedGraph.
CompactOrdinalSet(ByteArrayReader) - Constructor for class com.netflix.nfgraph.compressed.CompactOrdinalSet
 
compress() - Method in class com.netflix.nfgraph.build.NFBuildGraph
Return a NFCompressedGraph containing all connections which have been added to this NFBuildGraph.
contains(int) - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
Returns true when the specified value is contained in this set.
contains(int) - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalSet
 
contains(int) - Method in class com.netflix.nfgraph.compressed.CompactOrdinalSet
 
contains(int) - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalSet
 
contains(int) - Method in class com.netflix.nfgraph.OrdinalSet
Returns true when the specified value is contained in this set.
containsAll(int...) - Method in class com.netflix.nfgraph.compressed.CompactOrdinalSet
 
containsAll(int...) - Method in class com.netflix.nfgraph.OrdinalSet
Returns true when all specified values are contained in this set.
copy() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalIterator
 
copy() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
Obtain a copy of this OrdinalIterator.
copy() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalIterator
 
copy() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalIterator
 
copy() - Method in interface com.netflix.nfgraph.OrdinalIterator
Obtain a copy of this OrdinalIterator.

D

destroy() - Method in class com.netflix.nfgraph.compressed.NFCompressedGraph
When using a ByteSegmentPool, this method will return all borrowed arrays back to that pool.

E

EMPTY_ITERATOR - Static variable in interface com.netflix.nfgraph.OrdinalIterator
An iterator which always return OrdinalIterator.NO_MORE_ORDINALS
EMPTY_SET - Static variable in class com.netflix.nfgraph.OrdinalSet
An empty OrdinalSet.

G

get(T) - Method in class com.netflix.nfgraph.util.OrdinalMap
 
get(int) - Method in class com.netflix.nfgraph.util.OrdinalMap
 
getConnection(int, String, int, String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
 
getConnection(int, String, int, String) - Method in class com.netflix.nfgraph.compressed.NFCompressedGraph
 
getConnection(String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve a single connected ordinal, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnection(String, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve a single connected ordinal in a given connection model, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnection(int, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
 
getConnectionIterator(int, String, int, String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
 
getConnectionIterator(int, String, int, String) - Method in class com.netflix.nfgraph.compressed.NFCompressedGraph
 
getConnectionIterator(String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve an OrdinalIterator over all connected ordinals, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnectionIterator(String, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve an OrdinalIterator over all connected ordinals in a given connection model, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnectionIterator(int, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
 
getConnectionSet(int, String, int, String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
 
getConnectionSet(int, String, int, String) - Method in class com.netflix.nfgraph.compressed.NFCompressedGraph
 
getConnectionSet(String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve an OrdinalSet over all connected ordinals, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnectionSet(String, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
Retrieve an OrdinalSet over all connected ordinals in a given connection model, given the type and ordinal of the originating node, and the property by which this node is connected.
getConnectionSet(int, String, int, String) - Method in class com.netflix.nfgraph.NFGraph
 
getName() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
getNodes(String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Returns the list of NFBuildGraphNodes associated with the specified nodeType.
getNodeSpec(String) - Method in class com.netflix.nfgraph.spec.NFGraphSpec
 
getNodeTypeName() - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
getNodeTypes() - Method in class com.netflix.nfgraph.spec.NFGraphSpec
 
getNumMultipleProperties() - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
getNumSingleProperties() - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
getOrCreateNode(NFBuildGraphNodeList, NFNodeSpec, int) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Creates an NFBuildGraphNode for nodeSpec and ordinal and adds it to nodes.
getPropertyIndex() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
Used by the NFBuildGraph.
getPropertySpec(String, String) - Method in class com.netflix.nfgraph.build.NFBuildGraph
Returns the NFPropertySpec associated with the supplied node type and property name.
getPropertySpec(String) - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
getPropertySpecs() - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
getToNodeType() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
GLOBAL - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A property spec instantiated with this flag will not be separable into connection models.
graphSpec - Variable in class com.netflix.nfgraph.NFGraph
 

H

HASH - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A NFPropertySpec.MULTIPLE property instantiated with this flag will be represented as a BitSetOrdinalSet in an NFCompressedGraph.
HashSetOrdinalIterator - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalIterator returned for ordinals represented as variable-byte hashed integer arrays in an NFCompressedGraph.
HashSetOrdinalIterator(ByteArrayReader) - Constructor for class com.netflix.nfgraph.compressed.HashSetOrdinalIterator
 
HashSetOrdinalSet - Class in com.netflix.nfgraph.compressed
An implementation of OrdinalSet, returned for connections represented as variable-byte hashed integer arrays in an NFCompressedGraph.
HashSetOrdinalSet(ByteArrayReader) - Constructor for class com.netflix.nfgraph.compressed.HashSetOrdinalSet
 

I

isCompact() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
isConnectionModelSpecific() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
isGlobal() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
isHashed() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
isMultiple() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
isOrdered() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalIterator
 
isOrdered() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
 
isOrdered() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalIterator
 
isOrdered() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalIterator
 
isOrdered() - Method in interface com.netflix.nfgraph.OrdinalIterator
 
isSingle() - Method in class com.netflix.nfgraph.spec.NFPropertySpec
 
iterator() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
iterator() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalSet
 
iterator() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalSet
 
iterator() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalSet
 
iterator() - Method in class com.netflix.nfgraph.OrdinalSet
 
iterator() - Method in class com.netflix.nfgraph.spec.NFGraphSpec
Returns an Iterator over the NFNodeSpecs contained in this graph specification.
iterator() - Method in class com.netflix.nfgraph.spec.NFNodeSpec
 
iterator() - Method in class com.netflix.nfgraph.util.OrdinalMap
 

M

MODEL_SPECIFIC - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A property spec instantiated with this flag will be separable into connection models.
modelHolder - Variable in class com.netflix.nfgraph.NFGraph
 
MULTIPLE - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A property spec instantiated with this flag will be allowed multiple connections.

N

nextOrdinal() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalIterator
 
nextOrdinal() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
nextOrdinal() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalIterator
 
nextOrdinal() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalIterator
 
nextOrdinal() - Method in interface com.netflix.nfgraph.OrdinalIterator
 
NFBuildGraph - Class in com.netflix.nfgraph.build
An NFBuildGraph is used to create a new graph.
NFBuildGraph(NFGraphSpec) - Constructor for class com.netflix.nfgraph.build.NFBuildGraph
 
NFBuildGraphOrdinalIterator - Class in com.netflix.nfgraph.build
An implementation of OrdinalIterator returned for connections in an NFBuildGraph.
NFBuildGraphOrdinalSet - Class in com.netflix.nfgraph.build
And implementation of OrdinalSet returned for connections in an NFBuildGraph.
NFBuildGraphOrdinalSet(int[], int) - Constructor for class com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
 
NFCompressedGraph - Class in com.netflix.nfgraph.compressed
A read-only, memory-efficient implementation of an NFGraph.
NFCompressedGraph(NFGraphSpec, NFGraphModelHolder, ByteData, long, NFCompressedGraphPointers) - Constructor for class com.netflix.nfgraph.compressed.NFCompressedGraph
 
NFGraph - Class in com.netflix.nfgraph
NFGraph represents a directed graph and is the base class for the two flavors of NetflixGraph (NFBuildGraph and NFCompressedGraph).
NFGraph(NFGraphSpec) - Constructor for class com.netflix.nfgraph.NFGraph
 
NFGraph(NFGraphSpec, NFGraphModelHolder) - Constructor for class com.netflix.nfgraph.NFGraph
 
NFGraphException - Exception in com.netflix.nfgraph.exception
This Exception is thrown when an invalid connection model, node type, or property type is specified in NFGraph API calls.
NFGraphException(String) - Constructor for exception com.netflix.nfgraph.exception.NFGraphException
 
NFGraphSpec - Class in com.netflix.nfgraph.spec
An NFGraphSpec defines the schema for a graph.
NFGraphSpec() - Constructor for class com.netflix.nfgraph.spec.NFGraphSpec
Instantiate a graph specification with no NFNodeSpecs.
NFGraphSpec(NFNodeSpec...) - Constructor for class com.netflix.nfgraph.spec.NFGraphSpec
Instantiate a graph specification with the given NFNodeSpec.
NFNodeSpec - Class in com.netflix.nfgraph.spec
An NFNodeSpec specifies the schema for a node type.
NFNodeSpec(String, NFPropertySpec...) - Constructor for class com.netflix.nfgraph.spec.NFNodeSpec
The constructor for an NFNodeSpec.
NFPropertySpec - Class in com.netflix.nfgraph.spec
This class defines a specification for a single property.
NFPropertySpec(String, String, int) - Constructor for class com.netflix.nfgraph.spec.NFPropertySpec
The recommended constructor.
NFPropertySpec(String, String, boolean, boolean, boolean) - Constructor for class com.netflix.nfgraph.spec.NFPropertySpec
 
NO_MORE_ORDINALS - Static variable in interface com.netflix.nfgraph.OrdinalIterator
This value will be returned from nextOrdinal() after the iteration is completed.

O

offset - Variable in class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
 
OrdinalIterator - Interface in com.netflix.nfgraph
OrdinalIterator is the interface used to iterate over a set of connections.
OrdinalMap<T> - Class in com.netflix.nfgraph.util
An OrdinalMap will generate and maintain a mapping between objects added and an integer value between 0 and n, where n is the number of objects in the map.
OrdinalMap() - Constructor for class com.netflix.nfgraph.util.OrdinalMap
 
OrdinalMap(int) - Constructor for class com.netflix.nfgraph.util.OrdinalMap
 
OrdinalSet - Class in com.netflix.nfgraph
OrdinalSet is the interface used to represent a set of connections.
OrdinalSet() - Constructor for class com.netflix.nfgraph.OrdinalSet
 

R

readFrom(InputStream) - Static method in class com.netflix.nfgraph.compressed.NFCompressedGraph
 
readFrom(InputStream, ByteSegmentPool) - Static method in class com.netflix.nfgraph.compressed.NFCompressedGraph
When using a ByteSegmentPool, this method will borrow arrays used to construct the NFCompressedGraph from that pool.
reset() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalIterator
 
reset() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalIterator
Rewinds this OrdinalIterator to the beginning of the set.
reset() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalIterator
 
reset() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalIterator
 
reset() - Method in interface com.netflix.nfgraph.OrdinalIterator
Rewinds this OrdinalIterator to the beginning of the set.

S

SINGLE - Static variable in class com.netflix.nfgraph.spec.NFPropertySpec
A property spec instantiated with this flag will be allowed only a single connection.
size() - Method in class com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
size() - Method in class com.netflix.nfgraph.compressed.BitSetOrdinalSet
 
size() - Method in class com.netflix.nfgraph.compressed.CompactOrdinalSet
 
size() - Method in class com.netflix.nfgraph.compressed.HashSetOrdinalSet
 
size() - Method in class com.netflix.nfgraph.OrdinalSet
 
size() - Method in class com.netflix.nfgraph.spec.NFGraphSpec
 
size() - Method in class com.netflix.nfgraph.util.OrdinalMap
 

W

writeTo(OutputStream) - Method in class com.netflix.nfgraph.compressed.NFCompressedGraph
 
A B C D E G H I M N O R S W 
Skip navigation links