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 boolean
add(Item item)
boolean
addAll(Collection<? extends Item> list)
void
clear()
boolean
contains(Object obj)
boolean
containsAll(Collection<?> list)
boolean
isEmpty()
Iterator<Item>
iterator()
boolean
remove(Object obj)
boolean
removeAll(Collection<?> list)
boolean
retainAll(Collection<?> list)
int
size()
Table
table()
Get back to the table this frame came from.Frame
through(Valve valve)
Change valve for items fetching.Object[]
toArray()
<T> T[]
toArray(T[] arr)
Frame
where(String name, com.amazonaws.services.dynamodbv2.model.Condition condition)
Refine using this condition.Frame
where(String name, String value)
Refine using this EQ condition argument.Frame
where(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:Frame
Refine 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:Frame
Refine 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:Frame
Refine using these conditions.It is recommended to use
Conditions
supplementary class instead of a rawMap
.- Specified by:
where
in 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:Frame
Get 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:Frame
Change valve for items fetching.
-
size
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public int size()
- Specified by:
size
in interfaceCollection<Item>
-
isEmpty
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean isEmpty()
- Specified by:
isEmpty
in interfaceCollection<Item>
-
contains
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean contains(Object obj)
- Specified by:
contains
in interfaceCollection<Item>
-
toArray
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public Object[] toArray()
- Specified by:
toArray
in interfaceCollection<Item>
-
toArray
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public <T> T[] toArray(T[] arr)
- Specified by:
toArray
in interfaceCollection<Item>
-
add
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean add(Item item)
- Specified by:
add
in interfaceCollection<Item>
-
remove
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean remove(Object obj)
- Specified by:
remove
in interfaceCollection<Item>
-
containsAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean containsAll(Collection<?> list)
- Specified by:
containsAll
in interfaceCollection<Item>
-
addAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean addAll(Collection<? extends Item> list)
- Specified by:
addAll
in interfaceCollection<Item>
-
removeAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean removeAll(Collection<?> list)
- Specified by:
removeAll
in interfaceCollection<Item>
-
retainAll
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public boolean retainAll(Collection<?> list)
- Specified by:
retainAll
in interfaceCollection<Item>
-
clear
@RetryOnFailure(verbose=false, delay=5L, unit=SECONDS) public void clear()
- Specified by:
clear
in interfaceCollection<Item>
-
-