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

- Packages that use KeyValue
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.process.computer |
  org.apache.tinkerpop.gremlin.structure.io |

- - ### 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`.
    `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.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.

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