## Uses of Class
org.apache.tinkerpop.gremlin.process.computer.KeyValue

- Packages that use KeyValue
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.hadoop.structure.io |
  org.apache.tinkerpop.gremlin.process.computer |
  org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure |
  org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank |
  org.apache.tinkerpop.gremlin.spark.structure.io |
  org.apache.tinkerpop.gremlin.structure.io |
  org.apache.tinkerpop.gremlin.tinkergraph.process.computer |

- - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.hadoop.structure.io

    Methods in org.apache.tinkerpop.gremlin.hadoop.structure.io that return KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `KeyValue` | ObjectWritableIterator.`next()`

    Methods in org.apache.tinkerpop.gremlin.hadoop.structure.io that return types with arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `<K,V> Iterator<KeyValue<K,V>>` | FileSystemStorage.`head(String location, String memoryKey, Class readerClass, int totalLines)`

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.process.computer

    Method parameters in org.apache.tinkerpop.gremlin.process.computer with type arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `default void` | MapReduce.`addResultToMemory(Memory.Admin memory, Iterator<KeyValue<RK,RV>> keyValues)` The final result can be generated and added to `Memory` and accessible via `DefaultComputerResult`.
    `List<Integer>` | GraphComputerTest.MapReduceB.`generateFinalResult(Iterator<KeyValue<Integer,Integer>> keyValues)`
    `List<Integer>` | GraphComputerTest.MapReduceBB.`generateFinalResult(Iterator<KeyValue<Integer,Integer>> keyValues)`
    `MapReduce.NullObject` | GraphComputerTest.MapReduceC.`generateFinalResult(Iterator<KeyValue<MapReduce.NullObject,MapReduce.NullObject>> keyValues)`
    `R` | MapReduce.`generateFinalResult(Iterator<KeyValue<RK,RV>> keyValues)` The key/value pairs emitted by reduce() (or map() in a map-only job) can be iterated to generate a local JVM Java object.

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure

    Method parameters in org.apache.tinkerpop.gremlin.process.computer.clustering.peerpressure with type arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `Integer` | ClusterCountMapReduce.`generateFinalResult(Iterator<KeyValue<MapReduce.NullObject,Integer>> keyValues)`
    `Map<Serializable,Long>` | ClusterPopulationMapReduce.`generateFinalResult(Iterator<KeyValue<Serializable,Long>> keyValues)`

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank

    Methods in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank that return types with arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<KeyValue<Object,Double>>` | PageRankMapReduce.`generateFinalResult(Iterator<KeyValue<Object,Double>> keyValues)`

    Method parameters in org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank with type arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<KeyValue<Object,Double>>` | PageRankMapReduce.`generateFinalResult(Iterator<KeyValue<Object,Double>> keyValues)`

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.spark.structure.io

    Methods in org.apache.tinkerpop.gremlin.spark.structure.io that return types with arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `<K,V> Iterator<KeyValue<K,V>>` | SparkContextStorage.`head(String location, String memoryKey, Class readerClass, int totalLines)`
    `<K,V> Iterator<KeyValue<K,V>>` | PersistedOutputRDD.`writeMemoryRDD(Configuration configuration, String memoryKey, <any> memoryRDD)`
    `default <K,V> Iterator<KeyValue<K,V>>` | OutputRDD.`writeMemoryRDD(Configuration configuration, String memoryKey, <any> memoryRDD)` Write the sideEffect memoryRDD to an output location.
    `<K,V> Iterator<KeyValue<K,V>>` | OutputFormatRDD.`writeMemoryRDD(Configuration configuration, String memoryKey, <any> memoryRDD)`

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.structure.io

    Methods in org.apache.tinkerpop.gremlin.structure.io that return types with arguments of type KeyValue
    Modifier and Type | Method and Description
    --- | ---
    `default <K,V> Iterator<KeyValue<K,V>>` | Storage.`head(String location, String memoryKey, Class readerClass)` Get the `KeyValue` data at the specified memory location.
    `<K,V> Iterator<KeyValue<K,V>>` | Storage.`head(String location, String memoryKey, Class readerClass, int totalLines)` Get the `KeyValue` data at the specified memory location.

  - ### Uses of KeyValue in org.apache.tinkerpop.gremlin.tinkergraph.process.computer

    Fields in org.apache.tinkerpop.gremlin.tinkergraph.process.computer with type parameters of type KeyValue
    Modifier and Type | Field and Description
    --- | ---
    `Queue<KeyValue<K,V>>` | TinkerMapEmitter.`mapQueue`
    `protected Queue<KeyValue<OK,OV>>` | TinkerReduceEmitter.`reduceQueue`

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.