Class SQLiteProgram

    • Method Detail

      • getConnectionFlags

        protected final int getConnectionFlags()
      • onCorruption

        protected final void onCorruption()
      • getUniqueId

        @Deprecated
        public final int getUniqueId()
        Deprecated.
        This method is deprecated and must not be used.
        Unimplemented.
      • bindNull

        public void bindNull​(int index)
        Bind a NULL value to this statement. The value remains bound until clearBindings() is called.
        Parameters:
        index - The 1-based index to the parameter to bind null to
      • bindLong

        public void bindLong​(int index,
                             long value)
        Bind a long value to this statement. The value remains bound until clearBindings() is called. addToBindArgs
        Parameters:
        index - The 1-based index to the parameter to bind
        value - The value to bind
      • bindDouble

        public void bindDouble​(int index,
                               double value)
        Bind a double value to this statement. The value remains bound until clearBindings() is called.
        Parameters:
        index - The 1-based index to the parameter to bind
        value - The value to bind
      • bindString

        public void bindString​(int index,
                               String value)
        Bind a String value to this statement. The value remains bound until clearBindings() is called.
        Parameters:
        index - The 1-based index to the parameter to bind
        value - The value to bind, must not be null
      • bindBlob

        public void bindBlob​(int index,
                             byte[] value)
        Bind a byte array value to this statement. The value remains bound until clearBindings() is called.
        Parameters:
        index - The 1-based index to the parameter to bind
        value - The value to bind, must not be null
      • clearBindings

        public void clearBindings()
        Clears all existing bindings. Unset bindings are treated as NULL.
      • bindAllArgsAsStrings

        public void bindAllArgsAsStrings​(String[] bindArgs)
        Given an array of String bindArgs, this method binds all of them in one single call.
        Parameters:
        bindArgs - the String array of bind args, none of which must be null.