Lines Matching refs:index
127 * @param index The 1-based index to the parameter to bind null to
129 public void bindNull(int index) {
130 bind(index, null);
137 * @param index The 1-based index to the parameter to bind
140 public void bindLong(int index, long value) {
141 bind(index, value);
148 * @param index The 1-based index to the parameter to bind
151 public void bindDouble(int index, double value) {
152 bind(index, value);
159 * @param index The 1-based index to the parameter to bind
162 public void bindString(int index, String value) {
164 throw new IllegalArgumentException("the bind value at index " + index + " is null");
166 bind(index, value);
173 * @param index The 1-based index to the parameter to bind
176 public void bindBlob(int index, byte[] value) {
178 throw new IllegalArgumentException("the bind value at index " + index + " is null");
180 bind(index, value);
210 private void bind(int index, Object value) {
211 if (index < 1 || index > mNumParameters) {
212 throw new IllegalArgumentException("Cannot bind argument at index "
213 + index + " because the index is out of range. "
216 mBindArgs[index - 1] = value;