com.thinkaurelius.titan.graphdb.transaction.addedrelations

## Interface AddedRelationsContainer

- All Known Implementing Classes:
    ConcurrentAddedRelations, ConcurrentBufferAddedRelations, SimpleAddedRelations, SimpleBufferAddedRelations

      public interface AddedRelationsContainer

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static AddedRelationsContainer` | `EMPTY`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `add(InternalRelation relation)`
    `Collection<InternalRelation>` | `getAll()` This method returns all relations in this container.
    `List<InternalRelation>` | `getView(com.google.common.base.Predicate<InternalRelation> filter)`
    `boolean` | `isEmpty()`
    `boolean` | `remove(InternalRelation relation)`

- - ### Field Detail

    - #### EMPTY

          static final AddedRelationsContainer EMPTY

  - ### Method Detail

    - #### add

          boolean add(InternalRelation relation)

    - #### remove

          boolean remove(InternalRelation relation)

    - #### getView

          List<InternalRelation> getView(com.google.common.base.Predicate<InternalRelation> filter)

    - #### isEmpty

          boolean isEmpty()

    - #### getAll

          Collection<InternalRelation> getAll()

      This method returns all relations in this container. It may only be invoked at the end of the transaction after there are no additional changes. Otherwise the behavior is non deterministic.
      Returns:

Copyright © 2012–2014. All rights reserved.