SYMBOL INDEX (461 symbols across 24 files) FILE: cmd/handy-spanner/main.go function main (line 39) | func main() { function runMain (line 50) | func runMain() error { FILE: fake/example_test.go function Example_spannerClient (line 29) | func Example_spannerClient() { function Example_adminClient (line 58) | func Example_adminClient() { function Example_applyDDL (line 91) | func Example_applyDDL() { FILE: fake/integration_test.go type FullType (line 40) | type FullType struct type Simple (line 68) | type Simple struct function prepareSimpleData (line 73) | func prepareSimpleData(t *testing.T, ctx context.Context, client *spanne... function prepareFullTypeData (line 99) | func prepareFullTypeData(t *testing.T, ctx context.Context, client *span... function TestIntegration_ReadWrite (line 155) | func TestIntegration_ReadWrite(t *testing.T) { function TestIntegration_ReadWrite_AtomicCount (line 294) | func TestIntegration_ReadWrite_AtomicCount(t *testing.T) { function TestIntegration_Read_KeySet (line 406) | func TestIntegration_Read_KeySet(t *testing.T) { function TestIntegration_Read_KeySet2 (line 545) | func TestIntegration_Read_KeySet2(t *testing.T) { function TestIntegration_ReadWrite_Update (line 683) | func TestIntegration_ReadWrite_Update(t *testing.T) { function TestIntegration_ReadWrite_BatchUpdate (line 789) | func TestIntegration_ReadWrite_BatchUpdate(t *testing.T) { function TestIntegration_Query (line 907) | func TestIntegration_Query(t *testing.T) { function TestIntegration_Query2 (line 1040) | func TestIntegration_Query2(t *testing.T) { function TestIntegration_Query_Detail (line 1122) | func TestIntegration_Query_Detail(t *testing.T) { function TestIntegration_CreateDatabase (line 1240) | func TestIntegration_CreateDatabase(t *testing.T) { function TestIntegration_UpdateDatbaseDdl (line 1291) | func TestIntegration_UpdateDatbaseDdl(t *testing.T) { function TestIntegration_DropDatabase (line 1337) | func TestIntegration_DropDatabase(t *testing.T) { FILE: fake/server.go type Server (line 36) | type Server struct method Addr (line 88) | func (s *Server) Addr() string { method Start (line 92) | func (s *Server) Start() error { method Stop (line 96) | func (s *Server) Stop() { method ApplyDDL (line 101) | func (s *Server) ApplyDDL(ctx context.Context, databaseName string, dd... method ParseAndApplyDDL (line 110) | func (s *Server) ParseAndApplyDDL(ctx context.Context, databaseName st... function Run (line 43) | func Run() (*Server, *grpc.ClientConn, error) { function New (line 70) | func New(lis net.Listener) (*Server, error) { FILE: fake/testdata/schema.sql type Simple (line 1) | CREATE TABLE Simple ( type CompositePrimaryKeys (line 6) | CREATE TABLE CompositePrimaryKeys ( type CompositePrimaryKeysByXY (line 16) | CREATE INDEX CompositePrimaryKeysByXY ON CompositePrimaryKeys(X, Y) type CompositePrimaryKeysByError (line 17) | CREATE INDEX CompositePrimaryKeysByError ON CompositePrimaryKeys(Error) type FullTypes (line 19) | CREATE TABLE FullTypes ( type FullTypesByFTString (line 37) | CREATE UNIQUE INDEX FullTypesByFTString ON FullTypes(FTString) type FullTypesByIntDate (line 38) | CREATE INDEX FullTypesByIntDate ON FullTypes(FTInt, FTDate) type FullTypesByIntTimestamp (line 39) | CREATE INDEX FullTypesByIntTimestamp ON FullTypes(FTInt, FTTimestamp) type FullTypesByIntTimestampReverse (line 40) | CREATE INDEX FullTypesByIntTimestampReverse ON FullTypes(FTInt, FTTimest... type FullTypesByTimestamp (line 41) | CREATE INDEX FullTypesByTimestamp ON FullTypes(FTTimestamp) type ArrayTypes (line 43) | CREATE TABLE ArrayTypes ( FILE: server/database.go type Database (line 36) | type Database interface type barrier (line 56) | type barrier struct method TryAcquire (line 75) | func (l *barrier) TryAcquire() bool { method Release (line 85) | func (l *barrier) Release() { method Wait (line 93) | func (l *barrier) Wait() { method Released (line 104) | func (l *barrier) Released() bool { function newBarrier (line 62) | func newBarrier() *barrier { type database (line 111) | type database struct method prepareMetaTables (line 295) | func (d *database) prepareMetaTables(ctx context.Context) error { method waitUntilReadable (line 325) | func (d *database) waitUntilReadable(ctx context.Context, tx *transact... method waitUntilWritable (line 367) | func (d *database) waitUntilWritable(ctx context.Context, tx *transact... method releaseWriteLock (line 435) | func (d *database) releaseWriteLock(tx *transaction) { method useTable (line 460) | func (d *database) useTable(tbl string, tx *transaction) (*Table, erro... method useTableExclusive (line 493) | func (d *database) useTableExclusive(tbl string, tx *transaction) (*Ta... method ApplyDDL (line 518) | func (d *database) ApplyDDL(ctx context.Context, ddl ast.DDL) error { method Read (line 552) | func (d *database) Read(ctx context.Context, tx *transaction, tbl, idx... method Query (line 634) | func (d *database) Query(ctx context.Context, tx *transaction, stmt *a... method Execute (line 660) | func (d *database) Execute(ctx context.Context, tx *transaction, dml a... method write (line 710) | func (d *database) write(ctx context.Context, tx *transaction, tbl str... method Insert (line 868) | func (d *database) Insert(ctx context.Context, tx *transaction, tbl st... method Update (line 885) | func (d *database) Update(ctx context.Context, tx *transaction, tbl st... method Replace (line 935) | func (d *database) Replace(ctx context.Context, tx *transaction, tbl s... method InsertOrUpdate (line 952) | func (d *database) InsertOrUpdate(ctx context.Context, tx *transaction... method Delete (line 994) | func (d *database) Delete(ctx context.Context, tx *transaction, tbl st... method BeginTransaction (line 1028) | func (d *database) BeginTransaction(tx *transaction) error { method endTransaction (line 1051) | func (d *database) endTransaction(tx *transaction, dbtx *sql.Tx) { method Commit (line 1092) | func (d *database) Commit(tx *transaction) error { method Rollback (line 1113) | func (d *database) Rollback(tx *transaction) error { method CreateTable (line 1142) | func (db *database) CreateTable(ctx context.Context, stmt *ast.CreateT... method registerInformationSchemaTables (line 1250) | func (db *database) registerInformationSchemaTables(ctx context.Contex... method CreateIndex (line 1367) | func (db *database) CreateIndex(ctx context.Context, stmt *ast.CreateI... method registerInformationSchemaIndexes (line 1396) | func (db *database) registerInformationSchemaIndexes(ctx context.Conte... method Close (line 1497) | func (d *database) Close() error { type tableTransaction (line 133) | type tableTransaction struct method Dump (line 140) | func (tt *tableTransaction) Dump() { method Use (line 152) | func (tt *tableTransaction) Use(tx *transaction) { method Lock (line 175) | func (tt *tableTransaction) Lock(tx *transaction) { method Release (line 216) | func (tt *tableTransaction) Release(tx *transaction) { function newTableTransaction (line 234) | func newTableTransaction() *tableTransaction { function newDatabase (line 240) | func newDatabase() *database { function joinIdentNames (line 1134) | func joinIdentNames(idents []*ast.Ident) string { function QuoteString (line 1516) | func QuoteString(s string) string { function QuoteStringSlice (line 1520) | func QuoteStringSlice(ss []string) []string { FILE: server/database_function.go function init (line 29) | func init() { type CustomFunction (line 46) | type CustomFunction struct function exactMatchArgumentTypes (line 54) | func exactMatchArgumentTypes(vts ...ValueType) func([]ValueType) bool { function staticReturnType (line 70) | func staticReturnType(vt ValueType) func([]ValueType) ValueType { constant SqliteArgumentRuntimeErrorPrefix (line 76) | SqliteArgumentRuntimeErrorPrefix = "_sqlite_argument_runtime_error_: " constant SqliteOutOfRangeRuntimeErrorPrefix (line 77) | SqliteOutOfRangeRuntimeErrorPrefix = "_sqlite_ooo_runtime_error_: " type sqliteArgumentRuntimeError (line 84) | type sqliteArgumentRuntimeError struct method Error (line 88) | func (e *sqliteArgumentRuntimeError) Error() string { type sqliteOutOfRangeRuntimeError (line 92) | type sqliteOutOfRangeRuntimeError struct method Error (line 96) | func (e *sqliteOutOfRangeRuntimeError) Error() string { function sqlite3FnGenerateArray (line 509) | func sqlite3FnGenerateArray(xs ...int64) []byte { function sqlite3FnMod (line 522) | func sqlite3FnMod(a, b int64) int64 { function sqlite3FnFarmFingerprint (line 526) | func sqlite3FnFarmFingerprint(s string) int64 { function sqlite3FnSign (line 530) | func sqlite3FnSign(x int64) int64 { function sqlite3FnStartsWith (line 540) | func sqlite3FnStartsWith(a, b string) bool { function sqlite3FnEndsWith (line 544) | func sqlite3FnEndsWith(a, b string) bool { function sqlite3FnConcat (line 548) | func sqlite3FnConcat(xs ...string) string { function sqlite3FnExtractFromTimestamp (line 554) | func sqlite3FnExtractFromTimestamp(part string, timestamp string, tz str... function sqlite3FnExtractFromDate (line 672) | func sqlite3FnExtractFromDate(part string, date string) (int64, error) { function sqlite3FnCastInt64ToBool (line 709) | func sqlite3FnCastInt64ToBool(i int64) bool { function sqlite3FnCastInt64ToString (line 713) | func sqlite3FnCastInt64ToString(i int64) string { function sqlite3FnCastInt64ToFloat64 (line 717) | func sqlite3FnCastInt64ToFloat64(i int64) float64 { function sqlite3FnCastFloat64ToString (line 721) | func sqlite3FnCastFloat64ToString(f float64) string { function sqlite3FnCastFloat64ToInt64 (line 732) | func sqlite3FnCastFloat64ToInt64(f float64) (int64, error) { function sqlite3FnCastBoolToString (line 754) | func sqlite3FnCastBoolToString(b bool) string { function sqlite3FnCastBoolToInt64 (line 761) | func sqlite3FnCastBoolToInt64(b bool) int64 { function sqlite3FnCastStringToBool (line 768) | func sqlite3FnCastStringToBool(s string) (bool, error) { function sqlite3FnCastStringToInt64 (line 781) | func sqlite3FnCastStringToInt64(s string) (int64, error) { function sqlite3FnCastStringToFloat64 (line 821) | func sqlite3FnCastStringToFloat64(s string) (float64, error) { function sqlite3FnCastStringToDate (line 831) | func sqlite3FnCastStringToDate(s string) (string, error) { function sqlite3FnCastStringToTimestamp (line 841) | func sqlite3FnCastStringToTimestamp(s string) (string, error) { function sqlite3FnCastDateToString (line 851) | func sqlite3FnCastDateToString(s string) (string, error) { function sqlite3FnCastDateToTimestamp (line 861) | func sqlite3FnCastDateToTimestamp(s string) (string, error) { function sqlite3FnCastTimestampToString (line 871) | func sqlite3FnCastTimestampToString(s string) (string, error) { function sqlite3FnCastTimestampToDate (line 881) | func sqlite3FnCastTimestampToDate(s string) (string, error) { function sqlite3FnCurrentTimestamp (line 891) | func sqlite3FnCurrentTimestamp() string { function getCustomFunctionForCurrentTime (line 895) | func getCustomFunctionForCurrentTime() CustomFunction { FILE: server/database_json.go function useSqliteJSON (line 19) | func useSqliteJSON() { return } FILE: server/database_nonjson.go function useSqliteJSON (line 19) | func useSqliteJSON() { panic(`Require "json1" build tag to use some feat... FILE: server/database_query_test.go function TestQuery (line 31) | func TestQuery(t *testing.T) { function TestQuery_ArbitraryAssertion (line 3519) | func TestQuery_ArbitraryAssertion(t *testing.T) { FILE: server/database_test.go function testRunInTransaction (line 364) | func testRunInTransaction(t *testing.T, ses *session, fn func(*transacti... function createInitialData (line 380) | func createInitialData(t *testing.T, ctx context.Context, db Database, t... function makeNullValue (line 395) | func makeNullValue() *structpb.Value { function makeNumberValue (line 399) | func makeNumberValue(n float64) *structpb.Value { function makeStringValue (line 403) | func makeStringValue(s string) *structpb.Value { function makeBoolValue (line 407) | func makeBoolValue(b bool) *structpb.Value { function makeStructValue (line 411) | func makeStructValue(v map[string]*structpb.Value) *structpb.Value { function makeListValue (line 417) | func makeListValue(vs ...*structpb.Value) *structpb.ListValue { function makeListValueAsValue (line 421) | func makeListValueAsValue(v *structpb.ListValue) *structpb.Value { function makeTestValue (line 425) | func makeTestValue(v interface{}) Value { function makeTestWrappedArray (line 469) | func makeTestWrappedArray(code TypeCode, vs ...interface{}) interface{} { function makeTestArray (line 538) | func makeTestArray(code TypeCode, vs ...interface{}) interface{} { function parseDDL (line 607) | func parseDDL(t *testing.T, s string) []ast.DDL { function TestApplyDDL (line 630) | func TestApplyDDL(t *testing.T) { function TestClose (line 664) | func TestClose(t *testing.T) { function TestRead (line 677) | func TestRead(t *testing.T) { function TestReadError (line 1248) | func TestReadError(t *testing.T) { function TestRead_FullType_Range (line 1380) | func TestRead_FullType_Range(t *testing.T) { function TestInsertAndReplace (line 1510) | func TestInsertAndReplace(t *testing.T) { function TestInsertOrRepace_CommitTimestamp (line 1814) | func TestInsertOrRepace_CommitTimestamp(t *testing.T) { function TestReplace (line 1911) | func TestReplace(t *testing.T) { function TestUpdate (line 2106) | func TestUpdate(t *testing.T) { function TestInsertOrUpdate (line 2322) | func TestInsertOrUpdate(t *testing.T) { function TestDelete (line 2503) | func TestDelete(t *testing.T) { function TestMutationError (line 2708) | func TestMutationError(t *testing.T) { function TestExecute (line 3025) | func TestExecute(t *testing.T) { function TestInterleaveInsert (line 3350) | func TestInterleaveInsert(t *testing.T) { function testInsertHelper (line 3539) | func testInsertHelper( function TestInterleaveDeleteParent (line 3580) | func TestInterleaveDeleteParent(t *testing.T) { function TestInformationSchema (line 3778) | func TestInformationSchema(t *testing.T) { function TestInsertUnderForeignConstraint (line 4321) | func TestInsertUnderForeignConstraint(t *testing.T) { function TestDeleteUnderForeignConstraint (line 4470) | func TestDeleteUnderForeignConstraint(t *testing.T) { FILE: server/debug.go function Debugf (line 21) | func Debugf(format string, args ...interface{}) { function IsDebug (line 27) | func IsDebug() bool { function DebugStartEnd (line 31) | func DebugStartEnd(format string, args ...interface{}) func() { FILE: server/keyset.go type KeySet (line 27) | type KeySet struct type KeyRange (line 33) | type KeyRange struct function makeKeySet (line 40) | func makeKeySet(set *spannerpb.KeySet) *KeySet { function makeKeyRange (line 52) | func makeKeyRange(r *spannerpb.KeyRange) *KeyRange { function buildWhereClauseFromKeySet (line 71) | func buildWhereClauseFromKeySet(keyset *KeySet, indexColumnsName string,... function buildKeySetQuery (line 109) | func buildKeySetQuery(pkeysName string, pkeyColumns []*Column, keys []*s... function buildKeyRangeQuery (line 138) | func buildKeyRangeQuery(pkeysName string, pkeyColumns []*Column, indexCo... FILE: server/query.go function init (line 32) | func init() { type QueryBuilder (line 40) | type QueryBuilder struct method Build (line 84) | func (b *QueryBuilder) Build() (string, []interface{}, []ResultItem, e... method buildQueryWithClauses (line 101) | func (b *QueryBuilder) buildQueryWithClauses(query *ast.Query) (string... method BuildDML (line 159) | func (b *QueryBuilder) BuildDML() (string, []interface{}, error) { method registerTableAlias (line 172) | func (b *QueryBuilder) registerTableAlias(view *TableView, name string... method buildSelectQuery (line 180) | func (b *QueryBuilder) buildSelectQuery(selectStmt *ast.Select) (strin... method buildSubQuery (line 281) | func (b *QueryBuilder) buildSubQuery(sub *ast.SubQuery) (string, []int... method buildCompoundQuery (line 294) | func (b *QueryBuilder) buildCompoundQuery(compound *ast.CompoundQuery)... method buildUpdate (line 383) | func (b *QueryBuilder) buildUpdate(up *ast.Update) (string, []interfac... method buildInsert (line 476) | func (b *QueryBuilder) buildInsert(up *ast.Insert) (string, []interfac... method buildDelete (line 571) | func (b *QueryBuilder) buildDelete(up *ast.Delete) (string, []interfac... method buildQueryTable (line 608) | func (b *QueryBuilder) buildQueryTable(exp ast.TableExpr) (*TableView,... method buildJoinedView (line 737) | func (b *QueryBuilder) buildJoinedView(src *ast.Join) (*TableView, str... method buildUnnestView (line 908) | func (b *QueryBuilder) buildUnnestView(src *ast.Unnest) (*TableView, s... method buildResultSet (line 1025) | func (b *QueryBuilder) buildResultSet(selectItems []ast.SelectItem) ([... method buildQuery (line 1122) | func (b *QueryBuilder) buildQuery(stmt *ast.Select) (string, error) { method buildQueryWhereClause (line 1168) | func (b *QueryBuilder) buildQueryWhereClause(where *ast.Where) (string... method buildQueryGroupByClause (line 1176) | func (b *QueryBuilder) buildQueryGroupByClause(groupby *ast.GroupBy) (... method buildQueryOrderByClause (line 1192) | func (b *QueryBuilder) buildQueryOrderByClause(orderby *ast.OrderBy, v... method buildQueryLimitOffset (line 1237) | func (b *QueryBuilder) buildQueryLimitOffset(limit *ast.Limit) (string... method buildIntValue (line 1258) | func (b *QueryBuilder) buildIntValue(intValue ast.IntValue, caller str... method buildInCondition (line 1288) | func (b *QueryBuilder) buildInCondition(cond ast.InCondition) (Expr, e... method buildUnnestExpr (line 1356) | func (b *QueryBuilder) buildUnnestExpr(expr ast.Expr, offset bool, asv... method unkeysStruct (line 1394) | func (b *QueryBuilder) unkeysStruct(raw string, vt ValueType) string { method expandParamByPlaceholders (line 1402) | func (b *QueryBuilder) expandParamByPlaceholders(v Value) (Expr, error) { method accessField (line 1461) | func (b *QueryBuilder) accessField(expr Expr, name string) (Expr, erro... method buildExpr (line 1511) | func (b *QueryBuilder) buildExpr(expr ast.Expr) (Expr, error) { function BuildQuery (line 61) | func BuildQuery(db *database, tx *transaction, stmt ast.QueryExpr, param... function BuildDML (line 73) | func BuildDML(db *database, tx *transaction, dml ast.DML, params map[str... type exprError (line 2309) | type exprError struct method Error (line 2317) | func (e *exprError) Error() string { method GRPCStatus (line 2321) | func (e exprError) GRPCStatus() *status.Status { function newExprErrorf (line 2332) | func newExprErrorf(expr ast.Expr, invalid bool, format string, a ...inte... function newExprUnimplementedErrorf (line 2340) | func newExprUnimplementedErrorf(expr ast.Expr, format string, a ...inter... function wrapExprError (line 2348) | func wrapExprError(err error, expr ast.Expr, msg string) error { function astTypeToValueType (line 2362) | func astTypeToValueType(astType ast.Type) ValueType { function parseDateLiteral (line 2399) | func parseDateLiteral(s string) (time.Time, bool) { function parseTimestampLiteral (line 2407) | func parseTimestampLiteral(s string) (time.Time, bool) { function castTo (line 2443) | func castTo(ex Expr, target ValueType) (Expr, error) { function isComparable (line 2562) | func isComparable(a, b ValueType) bool { function isCoerceableTo (line 2606) | func isCoerceableTo(a, b ValueType) bool { function isCastableTo (line 2619) | func isCastableTo(a, b ValueType) bool { function isAsStruct (line 2644) | func isAsStruct(as ast.SelectAs) bool { FILE: server/query_test.go function newTestQueryBuilder (line 23) | func newTestQueryBuilder() *QueryBuilder { function TestQueryBuilder_ExpandParamByPlaceholders (line 27) | func TestQueryBuilder_ExpandParamByPlaceholders(t *testing.T) { FILE: server/server.go type FakeSpannerServer (line 40) | type FakeSpannerServer interface function NewFakeServer (line 48) | func NewFakeServer() FakeSpannerServer { type server (line 56) | type server struct method ApplyDDL (line 72) | func (s *server) ApplyDDL(ctx context.Context, databaseName string, st... method CreateDatabase (line 82) | func (s *server) CreateDatabase(ctx context.Context, req *adminv1pb.Cr... method GetDatabase (line 136) | func (s *server) GetDatabase(ctx context.Context, req *adminv1pb.GetDa... method ListDatabases (line 149) | func (s *server) ListDatabases(ctx context.Context, req *adminv1pb.Lis... method UpdateDatabaseDdl (line 168) | func (s *server) UpdateDatabaseDdl(ctx context.Context, req *adminv1pb... method UpdateDatabase (line 192) | func (s *server) UpdateDatabase(context.Context, *adminv1pb.UpdateData... method DropDatabase (line 197) | func (s *server) DropDatabase(ctx context.Context, req *adminv1pb.Drop... method GetDatabaseDdl (line 207) | func (s *server) GetDatabaseDdl(context.Context, *adminv1pb.GetDatabas... method SetIamPolicy (line 211) | func (s *server) SetIamPolicy(context.Context, *iamv1pb.SetIamPolicyRe... method GetIamPolicy (line 215) | func (s *server) GetIamPolicy(context.Context, *iamv1pb.GetIamPolicyRe... method TestIamPermissions (line 219) | func (s *server) TestIamPermissions(context.Context, *iamv1pb.TestIamP... method ListOperations (line 223) | func (s *server) ListOperations(ctx context.Context, req *lropb.ListOp... method GetOperation (line 228) | func (s *server) GetOperation(ctx context.Context, req *lropb.GetOpera... method DeleteOperation (line 246) | func (s *server) DeleteOperation(ctx context.Context, req *lropb.Delet... method CancelOperation (line 250) | func (s *server) CancelOperation(ctx context.Context, req *lropb.Cance... method WaitOperation (line 254) | func (s *server) WaitOperation(ctx context.Context, req *lropb.WaitOpe... method getSession (line 291) | func (s *server) getSession(name string) (*session, error) { method createSession (line 305) | func (s *server) createSession(db *database, dbName string) (*session,... method createDatabase (line 321) | func (s *server) createDatabase(name string) (*database, error) { method getOrCreateDatabase (line 349) | func (s *server) getOrCreateDatabase(name string) (*database, error) { method getDatabase (line 373) | func (s *server) getDatabase(name string) (*database, error) { method dropDatabase (line 384) | func (s *server) dropDatabase(name string) error { method CreateSession (line 407) | func (s *server) CreateSession(ctx context.Context, req *spannerpb.Cre... method BatchCreateSessions (line 426) | func (s *server) BatchCreateSessions(ctx context.Context, req *spanner... method GetSession (line 451) | func (s *server) GetSession(ctx context.Context, req *spannerpb.GetSes... method ListSessions (line 460) | func (s *server) ListSessions(ctx context.Context, req *spannerpb.List... method DeleteSession (line 481) | func (s *server) DeleteSession(ctx context.Context, req *spannerpb.Del... method ExecuteSql (line 494) | func (s *server) ExecuteSql(ctx context.Context, req *spannerpb.Execut... method ExecuteStreamingSql (line 567) | func (s *server) ExecuteStreamingSql(req *spannerpb.ExecuteSqlRequest,... method ExecuteBatchDml (line 668) | func (s *server) ExecuteBatchDml(ctx context.Context, req *spannerpb.E... method executeDML (line 746) | func (s *server) executeDML(ctx context.Context, session *session, tx ... method Read (line 789) | func (s *server) Read(ctx context.Context, req *spannerpb.ReadRequest)... method StreamingRead (line 793) | func (s *server) StreamingRead(req *spannerpb.ReadRequest, stream span... method BeginTransaction (line 1013) | func (s *server) BeginTransaction(ctx context.Context, req *spannerpb.... method Commit (line 1027) | func (s *server) Commit(ctx context.Context, req *spannerpb.CommitRequ... method Rollback (line 1138) | func (s *server) Rollback(ctx context.Context, req *spannerpb.Rollback... method PartitionQuery (line 1173) | func (s *server) PartitionQuery(ctx context.Context, req *spannerpb.Pa... method PartitionRead (line 1177) | func (s *server) PartitionRead(ctx context.Context, req *spannerpb.Par... method CreateBackup (line 1181) | func (s *server) CreateBackup(ctx context.Context, req *adminv1pb.Crea... method GetBackup (line 1185) | func (s *server) GetBackup(ctx context.Context, req *adminv1pb.GetBack... method UpdateBackup (line 1189) | func (s *server) UpdateBackup(ctx context.Context, req *adminv1pb.Upda... method DeleteBackup (line 1193) | func (s *server) DeleteBackup(ctx context.Context, req *adminv1pb.Dele... method ListBackups (line 1197) | func (s *server) ListBackups(ctx context.Context, req *adminv1pb.ListB... method RestoreDatabase (line 1201) | func (s *server) RestoreDatabase(ctx context.Context, req *adminv1pb.R... method ListDatabaseOperations (line 1205) | func (s *server) ListDatabaseOperations(ctx context.Context, req *admi... method ListBackupOperations (line 1209) | func (s *server) ListBackupOperations(ctx context.Context, req *adminv... method CopyBackup (line 1213) | func (s *server) CopyBackup(ctx context.Context, req *adminv1pb.CopyBa... method ListDatabaseRoles (line 1217) | func (s *server) ListDatabaseRoles(ctx context.Context, req *adminv1pb... method BatchWrite (line 1221) | func (*server) BatchWrite(*spannerpb.BatchWriteRequest, spannerpb.Span... method CreateBackupSchedule (line 1225) | func (s *server) CreateBackupSchedule(ctx context.Context, req *adminv... method GetBackupSchedule (line 1229) | func (s *server) GetBackupSchedule(ctx context.Context, req *adminv1pb... method UpdateBackupSchedule (line 1233) | func (s *server) UpdateBackupSchedule(ctx context.Context, req *adminv... method DeleteBackupSchedule (line 1237) | func (s *server) DeleteBackupSchedule(ctx context.Context, req *adminv... method ListBackupSchedules (line 1241) | func (s *server) ListBackupSchedules(ctx context.Context, req *adminv1... method AddSplitPoints (line 1245) | func (s *server) AddSplitPoints(ctx context.Context, req *adminv1pb.Ad... function parseDatabaseName (line 271) | func parseDatabaseName(fullDatabaseName string) ([]string, bool) { function sendResult (line 861) | func sendResult(stream spannerpb.Spanner_StreamingReadServer, tx *transa... type queryStats (line 934) | type queryStats struct function toMillisecondString (line 941) | func toMillisecondString(d time.Duration) string { function createQueryStats (line 945) | func createQueryStats(stats queryStats) *structpb.Struct { FILE: server/server_test.go function newTestServer (line 222) | func newTestServer() *server { function assertGRPCError (line 226) | func assertGRPCError(t *testing.T, err error, code codes.Code, msg strin... function assertStatusCode (line 237) | func assertStatusCode(t *testing.T, err error, code codes.Code) { function assertResourceInfo (line 245) | func assertResourceInfo(t *testing.T, err error, expected *errdetails.Re... function testCreateSession (line 261) | func testCreateSession(t *testing.T, s *server) (*spannerpb.Session, str... function testInvalidatedTransaction (line 272) | func testInvalidatedTransaction(t *testing.T, s *server, session *spanne... function TestCreateSession (line 311) | func TestCreateSession(t *testing.T) { function TestBatchCreateSessions (line 354) | func TestBatchCreateSessions(t *testing.T) { function TestGetSession (line 399) | func TestGetSession(t *testing.T) { function TestListSessions (line 435) | func TestListSessions(t *testing.T) { function TestDeleteSession (line 504) | func TestDeleteSession(t *testing.T) { function TestBeginTransaction (line 532) | func TestBeginTransaction(t *testing.T) { function NewFakeExecuteStreamingSqlServer (line 600) | func NewFakeExecuteStreamingSqlServer(ctx context.Context) *fakeExecuteS... type fakeExecuteStreamingSqlServer (line 604) | type fakeExecuteStreamingSqlServer struct method Send (line 613) | func (s *fakeExecuteStreamingSqlServer) Send(set *spannerpb.PartialRes... method Context (line 618) | func (s *fakeExecuteStreamingSqlServer) Context() context.Context { function TestExecuteStreamingSql_Success (line 625) | func TestExecuteStreamingSql_Success(t *testing.T) { function TestStreamingRead_ValueType (line 1160) | func TestStreamingRead_ValueType(t *testing.T) { function TestExecuteStreamingSql_Error (line 1440) | func TestExecuteStreamingSql_Error(t *testing.T) { function TestExecuteSql_Success (line 1630) | func TestExecuteSql_Success(t *testing.T) { function TestExecuteSql_Error (line 1790) | func TestExecuteSql_Error(t *testing.T) { function TestExecuteSql_Transaction (line 1909) | func TestExecuteSql_Transaction(t *testing.T) { function TestExecuteBatchDml_Success (line 2178) | func TestExecuteBatchDml_Success(t *testing.T) { function TestExecuteBatchDml_Error (line 2394) | func TestExecuteBatchDml_Error(t *testing.T) { function TestCommit (line 2537) | func TestCommit(t *testing.T) { function TestCommitMutations (line 2740) | func TestCommitMutations(t *testing.T) { function TestCommitMutations_AtomicOperation (line 2951) | func TestCommitMutations_AtomicOperation(t *testing.T) { function TestRollback (line 3083) | func TestRollback(t *testing.T) { function TestTransaction (line 3211) | func TestTransaction(t *testing.T) { function TestUpdateDatabaseDdl (line 3382) | func TestUpdateDatabaseDdl(t *testing.T) { function TestCreateDatabase (line 3408) | func TestCreateDatabase(t *testing.T) { function TestDropDatabase (line 3505) | func TestDropDatabase(t *testing.T) { function TestListDatabases (line 3569) | func TestListDatabases(t *testing.T) { FILE: server/server_transaction_test.go function TestReadAndWriteTransaction_Aborted (line 31) | func TestReadAndWriteTransaction_Aborted(t *testing.T) { function TestReadAndWriteTransaction_AtomicUpdate (line 313) | func TestReadAndWriteTransaction_AtomicUpdate(t *testing.T) { FILE: server/session.go function validateSessionName (line 30) | func validateSessionName(sessionName string) bool { type session (line 53) | type session struct method Name (line 66) | func (s *session) Name() string { method Proto (line 70) | func (s *session) Proto() *spannerpb.Session { method createTransaction (line 80) | func (s *session) createTransaction(txMode transactionMode, single boo... method GetTransaction (line 111) | func (s *session) GetTransaction(id []byte) (*transaction, bool) { method GetTransactionBySelector (line 121) | func (s *session) GetTransactionBySelector(txsel *spannerpb.Transactio... method GetTransactionForCommit (line 148) | func (s *session) GetTransactionForCommit(txsel interface{}) (*transac... method BeginTransaction (line 164) | func (s *session) BeginTransaction(opt *spannerpb.TransactionOptions) ... method beginTransaction (line 168) | func (s *session) beginTransaction(opt *spannerpb.TransactionOptions, ... function newSession (line 192) | func newSession(db *database, dbName string) *session { FILE: server/spanner_error.go function newSpannerDatabaseNotFoundError (line 25) | func newSpannerDatabaseNotFoundError(name string) error { function newSpannerSessionNotFoundError (line 39) | func newSpannerSessionNotFoundError(name string) error { function newSpannerTableNotFoundError (line 53) | func newSpannerTableNotFoundError(name string) error { function newSpannerColumnNotFoundError (line 67) | func newSpannerColumnNotFoundError(table, name string) error { function newSpannerIndexnNotFoundError (line 81) | func newSpannerIndexnNotFoundError(table, name string) error { FILE: server/table.go type Table (line 24) | type Table struct method TableIndex (line 41) | func (t *Table) TableIndex(idx string) (*TableIndex, bool) { method TableView (line 55) | func (t *Table) TableView() *TableView { method TableViewWithAlias (line 59) | func (t *Table) TableViewWithAlias(alias string) *TableView { method NonNullableAndNonGeneratedColumnsExist (line 65) | func (t *Table) NonNullableAndNonGeneratedColumnsExist(columns []strin... method addColumn (line 112) | func (t *Table) addColumn(col *ast.ColumnDef) { method reorderColumnPosition (line 118) | func (t *Table) reorderColumnPosition() { method setPrimaryKeys (line 124) | func (t *Table) setPrimaryKeys(pkey []*ast.IndexKey) error { method createIndex (line 138) | func (t *Table) createIndex(stmt *ast.CreateIndex) (*TableIndex, error) { method getColumn (line 147) | func (t *Table) getColumn(name string) (*Column, error) { method getColumnsByName (line 155) | func (t *Table) getColumnsByName(names []string) ([]*Column, error) { function newTable (line 35) | func newTable() *Table { function createTableFromAST (line 95) | func createTableFromAST(stmt *ast.CreateTable) (*Table, error) { type Column (line 168) | type Column struct method Name (line 189) | func (c *Column) Name() string { method Alias (line 193) | func (c *Column) Alias() string { method setPosition (line 200) | func (c *Column) setPosition(pos int) { method markPrimaryKey (line 204) | func (c *Column) markPrimaryKey(pos int) { type columnType (line 209) | type columnType struct method SqliteDataType (line 228) | func (ct columnType) SqliteDataType() string { type dbDataType (line 218) | type dbDataType constant DBDTInteger (line 221) | DBDTInteger dbDataType = "INTEGER" constant DBDTReal (line 222) | DBDTReal dbDataType = "REAL" constant DBDTText (line 223) | DBDTText dbDataType = "TEXT" constant DBDTBlob (line 224) | DBDTBlob dbDataType = "BLOB" constant DBDTJson (line 225) | DBDTJson dbDataType = "JSON" function newColumn (line 249) | func newColumn(def *ast.ColumnDef) *Column { function astTypeToTypeCode (line 300) | func astTypeToTypeCode(astTypeName ast.ScalarTypeName) TypeCode { function toValueType (line 323) | func toValueType(t ast.SchemaType) ValueType { function schemaTypetoTypString (line 342) | func schemaTypetoTypString(t ast.SchemaType) string { function toColumnType (line 364) | func toColumnType(t ast.SchemaType) columnType { type TableIndex (line 407) | type TableIndex struct method Name (line 500) | func (i *TableIndex) Name() string { method IndexColumns (line 504) | func (i *TableIndex) IndexColumns() []*Column { method IndexColumnNames (line 508) | func (i *TableIndex) IndexColumnNames() []string { method IndexColumnDirections (line 512) | func (i *TableIndex) IndexColumnDirections() []string { method HasColumn (line 516) | func (i *TableIndex) HasColumn(c string) bool { function createTableIndexFromAST (line 423) | func createTableIndexFromAST(table *Table, stmt *ast.CreateIndex) (*Tabl... function createPrimaryKey (line 427) | func createPrimaryKey(table *Table, pkeys []*ast.IndexKey) (*TableIndex,... function createTableIndex (line 431) | func createTableIndex(table *Table, keys []*ast.IndexKey, secondaryIdx *... type TableView (line 521) | type TableView struct method AllItems (line 527) | func (v *TableView) AllItems() []ResultItem { method Get (line 531) | func (v *TableView) Get(id string) (ResultItem, bool, bool) { method ToStruct (line 542) | func (v *TableView) ToStruct() *StructType { function createTableViewFromItems (line 557) | func createTableViewFromItems(items1 []ResultItem, items2 []ResultItem) ... function createTableViewFromTable (line 583) | func createTableViewFromTable(table *Table, alias string) *TableView { type ResultItem (line 601) | type ResultItem struct function createResultItemFromColumn (line 608) | func createResultItemFromColumn(column *Column) ResultItem { FILE: server/transaction.go type databaseReader (line 30) | type databaseReader interface type databaseWriter (line 34) | type databaseWriter interface type transactionMode (line 46) | type transactionMode constant txReadOnly (line 49) | txReadOnly transactionMode = 1 constant txReadWrite (line 50) | txReadWrite transactionMode = 2 constant txPartitionedDML (line 51) | txPartitionedDML transactionMode = 3 type TransactionStatus (line 54) | type TransactionStatus method String (line 64) | func (s TransactionStatus) String() string { constant TransactionActive (line 57) | TransactionActive TransactionStatus = 1 constant TransactionInvalidated (line 58) | TransactionInvalidated TransactionStatus = 2 constant TransactionCommited (line 59) | TransactionCommited TransactionStatus = 3 constant TransactionRollbacked (line 60) | TransactionRollbacked TransactionStatus = 4 constant TransactionAborted (line 61) | TransactionAborted TransactionStatus = 5 type transaction (line 81) | type transaction struct method Context (line 98) | func (tx *transaction) Context() context.Context { method Equals (line 102) | func (tx *transaction) Equals(t *transaction) bool { method ID (line 114) | func (tx *transaction) ID() []byte { method Name (line 118) | func (tx *transaction) Name() string { method Proto (line 125) | func (tx *transaction) Proto() *spannerpb.Transaction { method Status (line 131) | func (tx *transaction) Status() TransactionStatus { method ReadWrite (line 135) | func (tx *transaction) ReadWrite() bool { method Available (line 139) | func (tx *transaction) Available() bool { method Invalidated (line 143) | func (tx *transaction) Invalidated() bool { method SingleUse (line 148) | func (tx *transaction) SingleUse() bool { method Done (line 152) | func (tx *transaction) Done(status TransactionStatus) { method SetTransaction (line 174) | func (tx *transaction) SetTransaction(dbtx *sql.Tx, closer func(*trans... method WriteTransaction (line 188) | func (tx *transaction) WriteTransaction(fn func(databaseWriter) error)... method ReadTransaction (line 207) | func (tx *transaction) ReadTransaction(fn func(context.Context, databa... function newTransaction (line 226) | func newTransaction(s *session, mode transactionMode, single bool) *tran... FILE: server/value.go type Expr (line 37) | type Expr struct type RowIterator (line 43) | type RowIterator interface type Value (line 49) | type Value struct type ValueType (line 54) | type ValueType struct method IsArray (line 60) | func (t ValueType) IsArray() bool { method IsStruct (line 64) | func (t ValueType) IsStruct() bool { method String (line 68) | func (t ValueType) String() string { function compareValueType (line 92) | func compareValueType(a, b ValueType) bool { function compatibleValueType (line 121) | func compatibleValueType(a, b ValueType) (ValueType, bool) { function decideArrayElementsValueType (line 131) | func decideArrayElementsValueType(vts ...ValueType) (ValueType, error) { type StructType (line 166) | type StructType struct method AllItems (line 175) | func (s *StructType) AllItems() []ResultItem { type TypeCode (line 194) | type TypeCode method String (line 196) | func (c TypeCode) String() string { constant TCBool (line 222) | TCBool TypeCode = iota + 1 constant TCInt64 (line 223) | TCInt64 constant TCFloat64 (line 224) | TCFloat64 constant TCTimestamp (line 225) | TCTimestamp constant TCDate (line 226) | TCDate constant TCString (line 227) | TCString constant TCBytes (line 228) | TCBytes constant TCArray (line 229) | TCArray constant TCStruct (line 230) | TCStruct constant TCJson (line 231) | TCJson type ArrayValue (line 234) | type ArrayValue interface type ArrayValueEncoder (line 238) | type ArrayValueEncoder struct method Value (line 243) | func (a *ArrayValueEncoder) Value() (driver.Value, error) { method Elements (line 256) | func (a *ArrayValueEncoder) Elements() interface{} { type BoolDecoder (line 260) | type BoolDecoder struct method UnmarshalJSON (line 264) | func (b *BoolDecoder) UnmarshalJSON(data []byte) error { type ArrayValueDecoder (line 285) | type ArrayValueDecoder struct method Value (line 291) | func (a *ArrayValueDecoder) Value() interface{} { method Scan (line 295) | func (a *ArrayValueDecoder) Scan(src interface{}) error { method UnmarshalJSON (line 316) | func (a *ArrayValueDecoder) UnmarshalJSON(b []byte) error { method decodeStruct (line 346) | func (a *ArrayValueDecoder) decodeStruct(b []byte, typ *StructType) (*... method decodeValue (line 373) | func (a *ArrayValueDecoder) decodeValue(b []byte, typ ValueType) (inte... type StructValue (line 443) | type StructValue struct type rows (line 448) | type rows struct method ResultSet (line 456) | func (r *rows) ResultSet() []ResultItem { method Do (line 460) | func (it *rows) Do(fn func([]interface{}) error) error { method next (line 514) | func (it *rows) next() ([]interface{}, bool) { function convertToDatabaseValues (line 600) | func convertToDatabaseValues(lv *structpb.ListValue, columns []*Column) ... function spannerValue2DatabaseValue (line 613) | func spannerValue2DatabaseValue(v *structpb.Value, col Column) (interfac... function encodeBase64 (line 645) | func encodeBase64(b []byte) string { function decodeBase64 (line 649) | func decodeBase64(s string) ([]byte, error) { function makeSpannerTypeFromValueType (line 658) | func makeSpannerTypeFromValueType(typ ValueType) *spannerpb.Type { function makeValueTypeFromSpannerType (line 710) | func makeValueTypeFromSpannerType(typ *spannerpb.Type) (ValueType, error) { function spannerValueFromValue (line 781) | func spannerValueFromValue(x interface{}) (*structpb.Value, error) { function makeDataFromSpannerValue (line 846) | func makeDataFromSpannerValue(key string, v *structpb.Value, typ ValueTy... function makeValueFromSpannerValue (line 1064) | func makeValueFromSpannerValue(key string, v *structpb.Value, typ *spann... type bindingError (line 1081) | type bindingError struct method Error (line 1087) | func (e *bindingError) Error() string { method GRPCStatus (line 1091) | func (e *bindingError) GRPCStatus() *status.Status { function newBindingErrorf (line 1095) | func newBindingErrorf(key string, expected ValueType, format string, a .... FILE: server/value_test.go function TestCompareValueType (line 35) | func TestCompareValueType(t *testing.T) { function TestDatabaseEncDec (line 213) | func TestDatabaseEncDec(t *testing.T) { function TestMakeValueFromSpannerValue (line 373) | func TestMakeValueFromSpannerValue(t *testing.T) { function TestMakeValueFromSpannerValue_Error (line 761) | func TestMakeValueFromSpannerValue_Error(t *testing.T) {