Package com.jcabi.dynamo.retry
Class ReFrame
- java.lang.Object
-
- com.jcabi.dynamo.retry.ReFrame
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Item item)booleanaddAll(Collection<? extends Item> list)voidclear()booleancontains(Object obj)booleancontainsAll(Collection<?> list)booleanisEmpty()Iterator<Item>iterator()booleanremove(Object obj)booleanremoveAll(Collection<?> list)booleanretainAll(Collection<?> list)intsize()Tabletable()Get back to the table this frame came from.Framethrough(Valve valve)Change valve for items fetching.Object[]toArray()<T> T[]toArray(T[] arr)Framewhere(String name, com.amazonaws.services.dynamodbv2.model.Condition condition)Refine using this condition.Framewhere(String name, String value)Refine using this EQ condition argument.Framewhere(Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions)Refine using these conditions.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Constructor Detail
-
ReFrame
public ReFrame(Frame frame)
Public ctor.- Parameters:
frame- Origin frame
-
-
Method Detail
-
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(String name, String value)Description copied from interface:FrameRefine using this EQ condition argument.
-
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(String name, com.amazonaws.services.dynamodbv2.model.Condition condition)Description copied from interface:FrameRefine using this condition.It is recommended to use a utility static method
Conditions.equalTo(Object), when condition is simply an equation to a plain string value.
-
where
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame where(Map<String,com.amazonaws.services.dynamodbv2.model.Condition> conditions)Description copied from interface:FrameRefine using these conditions.It is recommended to use
Conditionssupplementary class instead of a rawMap.- Specified by:
wherein interfaceFrame- Parameters:
conditions- The conditions- Returns:
- New frame
- See Also:
Conditions
-
table
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Table table()Description copied from interface:FrameGet back to the table this frame came from.
-
through
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Frame through(Valve valve)Description copied from interface:FrameChange valve for items fetching.
-
size
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public int size()- Specified by:
sizein interfaceCollection<Item>
-
isEmpty
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Item>
-
contains
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean contains(Object obj)- Specified by:
containsin interfaceCollection<Item>
-
toArray
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Object[] toArray()- Specified by:
toArrayin interfaceCollection<Item>
-
toArray
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public <T> T[] toArray(T[] arr)- Specified by:
toArrayin interfaceCollection<Item>
-
add
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean add(Item item)- Specified by:
addin interfaceCollection<Item>
-
remove
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean remove(Object obj)- Specified by:
removein interfaceCollection<Item>
-
containsAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean containsAll(Collection<?> list)- Specified by:
containsAllin interfaceCollection<Item>
-
addAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean addAll(Collection<? extends Item> list)- Specified by:
addAllin interfaceCollection<Item>
-
removeAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean removeAll(Collection<?> list)- Specified by:
removeAllin interfaceCollection<Item>
-
retainAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean retainAll(Collection<?> list)- Specified by:
retainAllin interfaceCollection<Item>
-
clear
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public void clear()- Specified by:
clearin interfaceCollection<Item>
-
-