Searched refs:QueryType (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/ |
D | SqlParser.kt | 42 private val queryType: QueryType 47 }.filterNot { it == QueryType.UNKNOWN }.firstOrNull() ?: QueryType.UNKNOWN in <lambda>() 52 private fun findQueryType(statement: ParseTree): QueryType { in findQueryType() 58 QueryType.SELECT in findQueryType() 62 QueryType.DELETE in findQueryType() 65 QueryType.INSERT in findQueryType() 68 QueryType.UPDATE in findQueryType() 70 "EXPLAIN" -> QueryType.EXPLAIN in findQueryType() 71 else -> QueryType.UNKNOWN in findQueryType() 73 else -> QueryType.UNKNOWN in findQueryType() [all …]
|
D | ParserErrors.kt | 25 fun invalidQueryType(type: QueryType): String { in invalidQueryType() 27 QueryType.SUPPORTED.joinToString(", ") { it.name } in invalidQueryType()
|
D | ParsedQuery.kt | 43 val type: QueryType, in text() 51 val MISSING = ParsedQuery("missing query", QueryType.UNKNOWN, emptyList(), emptySet(), in text() 102 return if (QueryType.SUPPORTED.contains(type)) { in text()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | QueryMethodProcessor.kt | 25 import androidx.room.parser.QueryType in <lambda>() 99 if (query.type == QueryType.DELETE) { in <lambda>() 108 context.checker.check(resultBinder.adapter != null || query.type != QueryType.SELECT, in <lambda>() 111 context.checker.check(query.type == QueryType.SELECT, executableElement, in <lambda>() 116 QueryType.SELECT -> executableElement.hasAnnotation(Transaction::class) in <lambda>() 120 if (query.type == QueryType.SELECT && !inTransaction) { in <lambda>()
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/parser/ |
D | SqlParserTest.kt | 44 assertThat(parsed.type, `is`(QueryType.DELETE)) in deleteQuery() 57 assertThat(parsed.type, `is`(QueryType.UPDATE)) in updateQuery() 63 ParserErrors.invalidQueryType(QueryType.EXPLAIN)) in explain()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
D | DaoWriter.kt | 25 import androidx.room.parser.QueryType in <lambda>() 84 .filter { it.query.type == QueryType.DELETE || it.query.type == QueryType.UPDATE } in <lambda>() 111 dao.queryMethods.filter { it.query.type == QueryType.SELECT }.forEach { method -> in <lambda>()
|
/frameworks/support/jetifier/jetifier/core/src/main/resources/ |
D | default.generated.config | 2350 "android/arch/persistence/room/parser/QueryType": "androidx/room/parser/QueryType",
|