JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.dynamodbv2.document

Class RangeKeyCondition



  • public class RangeKeyCondition
    extends Object 
    A condition for selecting items with a range key. Typical usages:
    new RangeKeyCondition("strAttr").eq("attrValue");

    new RangeKeyCondition("intAttr").gt(42);

    ...

    • Constructor Detail

      • RangeKeyCondition

        public RangeKeyCondition(String attrName)
        A condition for selecting items with a range key. Typical usages:
        new RangeKeyCondition("strAttr").eq("attrValue");

        new RangeKeyCondition("intAttr").gt(42);

        ...

    • Method Detail

      • getAttrName

        public String getAttrName()
      • getValues

        public Object[] getValues()
      • eq

        public RangeKeyCondition eq(Object val)
        Creates and returns a condition of the range key being equal to the given value.
      • beginsWith

        public RangeKeyCondition beginsWith(String val)
        Creates and returns a condition of the range key with a value that begins with the given value.
      • between

        public RangeKeyCondition between(Object low,
         Object hi)
        Creates and returns a condition of the range key that has a value between the given values.
      • ge

        public RangeKeyCondition ge(Object val)
        Creates and returns a condition of the range key being greater than or equal to the given value.
      • gt

        public RangeKeyCondition gt(Object val)
        Creates and returns a condition of the range key being greater than the given value.
      • le

        public RangeKeyCondition le(Object val)
        Creates and returns a condition of the range key being less than or equal to the given value.
      • lt

        public RangeKeyCondition lt(Object val)
        Creates and returns a condition of the range key being less than the given value.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /