belongs to Maven artifact android.arch.persistence:db:1.1.0-beta2
SupportSQLiteProgram
  public
  
  
  
  interface
  SupportSQLiteProgram
  
  
      implements
      
        Closeable
      
  
  
| android.arch.persistence.db.SupportSQLiteProgram | 
An interface to map the behavior of SQLiteProgram.
Summary
Public methods | |
|---|---|
        abstract
        
        
        
        
        void
     | 
  
    
      
      bindBlob(int index, byte[] value)
      
      
        Bind a byte array value to this statement.  | 
  
        abstract
        
        
        
        
        void
     | 
  
    
      
      bindDouble(int index, double value)
      
      
        Bind a double value to this statement.  | 
  
        abstract
        
        
        
        
        void
     | 
  
    
      
      bindLong(int index, long value)
      
      
        Bind a long value to this statement.  | 
  
        abstract
        
        
        
        
        void
     | 
  
    
      
      bindNull(int index)
      
      
        Bind a NULL value to this statement.  | 
  
        abstract
        
        
        
        
        void
     | 
  
    
      
      bindString(int index, String value)
      
      
        Bind a String value to this statement.  | 
  
        abstract
        
        
        
        
        void
     | 
  
    
      
      clearBindings()
      
      
        Clears all existing bindings.  | 
  
Inherited methods | |
|---|---|
Public methods
bindBlob
void bindBlob (int index, 
                byte[] value)Bind a byte array value to this statement. The value remains bound until
 clearBindings() is called.
| Parameters | |
|---|---|
index | 
        
          int: The 1-based index to the parameter to bind | 
      
value | 
        
          byte: The value to bind, must not be null
 | 
      
bindDouble
void bindDouble (int index, 
                double value)Bind a double value to this statement. The value remains bound until
 clearBindings() is called.
| Parameters | |
|---|---|
index | 
        
          int: The 1-based index to the parameter to bind | 
      
value | 
        
          double: The value to bind
 | 
      
bindLong
void bindLong (int index, 
                long value)Bind a long value to this statement. The value remains bound until
 clearBindings() is called.
addToBindArgs
| Parameters | |
|---|---|
index | 
        
          int: The 1-based index to the parameter to bind | 
      
value | 
        
          long: The value to bind
 | 
      
bindNull
void bindNull (int index)
Bind a NULL value to this statement. The value remains bound until
 clearBindings() is called.
| Parameters | |
|---|---|
index | 
        
          int: The 1-based index to the parameter to bind null to
 | 
      
bindString
void bindString (int index, 
                String value)Bind a String value to this statement. The value remains bound until
 clearBindings() is called.
| Parameters | |
|---|---|
index | 
        
          int: The 1-based index to the parameter to bind | 
      
value | 
        
          String: The value to bind, must not be null
 | 
      
clearBindings
void clearBindings ()
Clears all existing bindings. Unset bindings are treated as NULL.
Interfaces
Classes