OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:objectstoreid
(Results
1 - 7
of
7
) sorted by null
/external/webkit/Source/WebCore/storage/
IDBLevelDBBackingStore.h
50
virtual void deleteObjectStore(int64_t databaseId, int64_t
objectStoreId
);
52
virtual String getObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&);
53
virtual bool putObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*);
54
virtual void clearObjectStore(int64_t databaseId, int64_t
objectStoreId
);
55
virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const ObjectStoreRecordIdentifier*);
56
virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t
objectStoreId
);
57
virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier);
59
virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, ObjectStoreRecordCallback&);
61
virtual void getIndexes(int64_t databaseId, int64_t
objectStoreId
, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags);
62
virtual bool createIndex(int64_t databaseId, int64_t
objectStoreId
, const String& name, const String& keyPath, bool isUnique, int64_t& indexId)
[
all
...]
IDBSQLiteBackingStore.h
45
virtual void deleteObjectStore(int64_t databaseId, int64_t
objectStoreId
);
47
virtual String getObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&);
48
virtual bool putObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*);
49
virtual void clearObjectStore(int64_t databaseId, int64_t
objectStoreId
);
50
virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const ObjectStoreRecordIdentifier*);
51
virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t
objectStoreId
);
52
virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier);
54
virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, ObjectStoreRecordCallback&);
56
virtual void getIndexes(int64_t databaseId, int64_t
objectStoreId
, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags);
57
virtual bool createIndex(int64_t databaseId, int64_t
objectStoreId
, const String& name, const String& keyPath, bool isUnique, int64_t& indexId)
[
all
...]
IDBBackingStore.h
54
virtual void deleteObjectStore(int64_t databaseId, int64_t
objectStoreId
) = 0;
63
virtual String getObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&) = 0;
64
virtual bool putObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, const String& value, ObjectStoreRecordIdentifier*) = 0;
65
virtual void clearObjectStore(int64_t databaseId, int64_t
objectStoreId
) = 0;
66
virtual void deleteObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, const ObjectStoreRecordIdentifier*) = 0;
67
virtual double nextAutoIncrementNumber(int64_t databaseId, int64_t
objectStoreId
) = 0;
68
virtual bool keyExistsInObjectStore(int64_t databaseId, int64_t
objectStoreId
, const IDBKey&, ObjectStoreRecordIdentifier* foundRecordIdentifier) = 0;
75
virtual bool forEachObjectStoreRecord(int64_t databaseId, int64_t
objectStoreId
, ObjectStoreRecordCallback&) = 0;
77
virtual void getIndexes(int64_t databaseId, int64_t
objectStoreId
, Vector<int64_t>& foundIds, Vector<String>& foundNames, Vector<String>& foundKeyPaths, Vector<bool>& foundUniqueFlags) = 0;
78
virtual bool createIndex(int64_t databaseId, int64_t
objectStoreId
, const String& name, const String& keyPath, bool isUnique, int64_t& indexId) = 0
[
all
...]
IDBSQLiteBackingStore.cpp
79
"CREATE TABLE Indexes (id INTEGER PRIMARY KEY,
objectStoreId
INTEGER NOT NULL REFERENCES ObjectStore(id), name TEXT NOT NULL, keyPath TEXT, isUnique INTEGER NOT NULL)",
80
"CREATE UNIQUE INDEX Indexes_composit ON Indexes(
objectStoreId
, name)",
82
"CREATE TABLE ObjectStoreData (id INTEGER PRIMARY KEY,
objectStoreId
INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate INTEGER, keyNumber INTEGER, value TEXT NOT NULL)",
83
"CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber,
objectStoreId
)",
128
"CREATE TABLE ObjectStoreData2 (id INTEGER PRIMARY KEY,
objectStoreId
INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate REAL, keyNumber REAL, value TEXT NOT NULL)",
132
"CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber,
objectStoreId
)",
154
"CREATE TABLE ObjectStoreData (id INTEGER PRIMARY KEY,
objectStoreId
INTEGER NOT NULL REFERENCES ObjectStore(id), keyString TEXT, keyDate REAL, keyNumber REAL, value BLOB NOT NULL)",
155
"CREATE UNIQUE INDEX ObjectStoreData_composit ON ObjectStoreData(keyString, keyDate, keyNumber,
objectStoreId
)",
294
void IDBSQLiteBackingStore::deleteObjectStore(int64_t, int64_t
objectStoreId
)
296
doDelete(m_db, "DELETE FROM ObjectStores WHERE id = ?",
objectStoreId
);
[
all
...]
IDBLevelDBBackingStore.cpp
509
KeyPrefix(int64_t databaseId, int64_t
objectStoreId
, int64_t indexId)
511
, m_objectStoreId(
objectStoreId
)
787
static Vector<char> encode(int64_t databaseId, int64_t
objectStoreId
, int64_t metaDataType)
792
ret.append(encodeVarInt(
objectStoreId
));
797
int64_t
objectStoreId
() const
858
static Vector<char> encode(int64_t databaseId, int64_t
objectStoreId
, int64_t indexId, unsigned char metaDataType)
863
ret.append(encodeVarInt(
objectStoreId
));
920
static Vector<char> encode(int64_t databaseId, int64_t
objectStoreId
)
925
ret.append(encodeVarInt(
objectStoreId
));
929
int64_t
objectStoreId
() cons
[
all
...]
IDBDatabaseBackendImpl.cpp
126
int64_t
objectStoreId
;
128
if (!database->m_backingStore->createObjectStore(database->id(), objectStore->name(), objectStore->keyPath(), objectStore->autoIncrement(),
objectStoreId
)) {
133
objectStore->setId(
objectStoreId
);
IDBObjectStoreBackendImpl.cpp
330
PopulateIndexCallback(IDBBackingStore& backingStore, const String& indexKeyPath, int64_t databaseId, int64_t
objectStoreId
, int64_t indexId)
334
, m_objectStoreId(
objectStoreId
)
361
static bool populateIndex(IDBBackingStore& backingStore, int64_t databaseId, int64_t
objectStoreId
, int64_t indexId, const String& indexKeyPath)
363
PopulateIndexCallback callback(backingStore, indexKeyPath, databaseId,
objectStoreId
, indexId);
364
if (!backingStore.forEachObjectStoreRecord(databaseId,
objectStoreId
, callback))
Completed in 166 milliseconds