FieldKeyProvider (gCube Species Discovery 3.3.0-SNAPSHOT API)
Date: 2013-07-19

org.gcube.portlets.user.speciesdiscovery.server.stream.aggregation

## Class FieldKeyProvider<F extends GridField,T>

- java.lang.Object
- - org.gcube.portlets.user.speciesdiscovery.server.stream.aggregation.FieldKeyProvider<F,T>

- All Implemented Interfaces:
    KeyProvider<T>
  Direct Known Subclasses:
    SpeciesKeyProvider, TaxonomyKeyProvider

      public abstract class FieldKeyProvider<F extends GridField,T>
      extends Object
      implements KeyProvider<T>

  Author:
    "Federico De Faveri defaveri@isti.cnr.it"

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected F` | `field`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldKeyProvider(F field)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `F` | `getField()`
    `String` | `getKey(T value)`
    `abstract String` | `getKey(T value, F field)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### field

          protected F extends GridField field

  - ### Constructor Detail

    - #### FieldKeyProvider

          public FieldKeyProvider(F field)

      Parameters:
        `field` -

  - ### Method Detail

    - #### getField

          public F getField()

      Returns:
        the field

    - #### getKey

          public String getKey(T value)

      Specified by:
        `getKey` in interface `KeyProvider<T>`

    - #### getKey

          public abstract String getKey(T value,
                      F field)

Copyright © 2013. All Rights Reserved.