Class SQLCipherConnection

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      SQLiteStatement prepare(@NonNull() String sql) Transform SQL string into SQLiteStatement.
      boolean inTransaction()
      void changePassword(Array<byte> newPassword)
      void close()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • prepare

        @NonNull() SQLiteStatement prepare(@NonNull() String sql)

        Transform SQL string into SQLiteStatement. We preprocess the SQL with the following rules: - When a journal mode is set, dispatch the operation, specifically when WAL is used we dispatch using the enableWriteAheadLogging which will reconfigure the underlying connection pool. - For all other statements, we return a default SQLCipherStatement for processing.