/// <summary> /// Initializes a new instance of the <see cref="RiakIntIndexEqualityInput"/> class. /// </summary> /// <param name="indexId"> /// The <see cref="RiakIndexId"/> that specifies which index to query. /// The output of that query will be used as input for the mapreduce job. /// </param> /// <param name="key">The index key to query for.</param> public RiakIntIndexEqualityInput(RiakIndexId indexId, BigInteger key) : base(indexId.ToIntIndexId()) { Key = key; }
/// <summary> /// Initializes a new instance of the <see cref="RiakIntIndexRangeInput"/> class. /// </summary> /// <param name="indexId"> /// The <see cref="RiakIndexId"/> that specifies which index to query. /// The output of that query will be used as input for the mapreduce job. /// </param> /// <param name="start">The inclusive lower bound of the integer range to query for.</param> /// <param name="end">The inclusive upper bound of the integer range to query for.</param> public RiakIntIndexRangeInput(RiakIndexId indexId, BigInteger start, BigInteger end) : base(indexId.ToIntIndexId()) { Start = start; End = end; }