Package fr.gouv.vitam.metadata.core.database.collections

# Class ResultDefault<T>

java.lang.Object
fr.gouv.vitam.metadata.core.database.collections.Result<T>
fr.gouv.vitam.metadata.core.database.collections.ResultDefault<T>

public class ResultDefault<T> extends Result<T>
Result LRU in memory version

- ## Field Summary

  ### Fields inherited from class fr.gouv.vitam.metadata.core.database.collections.Result

  `currentIds, facetResult, finalResult, IDLIST, nbResult, RESULT_FIELD, scores, scrollId, total, type`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResultDefault(BuilderToken.FILTERARGS type)`
  Constructor
  `ResultDefault(BuilderToken.FILTERARGS type, Collection<String> collection)`

- ## Method Summary

  ### Methods inherited from class fr.gouv.vitam.metadata.core.database.collections.Result

  `addFacetResult, addFinal, addId, clear, getCurrentIds, getCurrentScores, getFacet, getFinal, getListFiltered, getNbResult, getScrollId, getTotal, getType, hasFinalResult, isError, putFrom, setFinal, setScrollId, setTotal, setUpdatedResult, toString`

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

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

- ## Constructor Details

  - ### ResultDefault

    public ResultDefault(BuilderToken.FILTERARGS type)
    Constructor
    Parameters:
      `type` - of filter

  - ### ResultDefault

    public ResultDefault(BuilderToken.FILTERARGS type, Collection<String> collection)
    Parameters:
      `type` - of filter
      `collection` - as a set of collection