[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Package Classes (0.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.9.0 (latest)](/python/docs/reference/langchain-google-spanner/latest/summary_class)\n- [0.8.2](/python/docs/reference/langchain-google-spanner/0.8.2/summary_class)\n- [0.7.0](/python/docs/reference/langchain-google-spanner/0.7.0/summary_class)\n- [0.6.0](/python/docs/reference/langchain-google-spanner/0.6.0/summary_class)\n- [0.5.0](/python/docs/reference/langchain-google-spanner/0.5.0/summary_class)\n- [0.4.1](/python/docs/reference/langchain-google-spanner/0.4.1/summary_class)\n- [0.3.0](/python/docs/reference/langchain-google-spanner/0.3.0/summary_class) \nSummary of entries of Classes for langchain-google-spanner. \n\nClasses\n-------\n\n### [SpannerChatMessageHistory](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history.SpannerChatMessageHistory)\n\nChat message history that stores history in Spanner.\n\n### [Column](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.Column)\n\nColumn(name: str, data_type: str, nullable: bool = True)\n\n### [SpannerDocumentSaver](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.SpannerDocumentSaver)\n\nSave docs to Google Cloud Spanner.\n\n### [SpannerLoader](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader.SpannerLoader)\n\nLoads data from Google Cloud Spanner.\n\n### [DialectSemantics](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.DialectSemantics)\n\nAbstract base class for dialect semantics.\n\n### [DistanceStrategy](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.DistanceStrategy)\n\nEnum for distance calculation strategies.\n\n### [GoogleSqlSemantics](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.GoogleSqlSemantics)\n\nImplementation of dialect semantics for Google SQL.\n\n### [PGSqlSemantics](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.PGSqlSemantics)\n\nImplementation of dialect semantics for PostgreSQL.\n\n### [QueryParameters](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.QueryParameters)\n\nClass representing query parameters for nearest neighbors search.\n\n### [NearestNeighborsAlgorithm](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.QueryParameters.NearestNeighborsAlgorithm)\n\nEnum for nearest neighbors search algorithms.\n\n### [SpannerVectorStore](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.SpannerVectorStore)\n\nInitialize the SpannerVectorStore.\n\nParameters:\n\n- instance_id (str): The ID of the Spanner instance.\n- database_id (str): The ID of the Spanner database.\n- table_name (str): The name of the table.\n- embedding_service (Embeddings): The embedding service.\n- id_column (str): The name of the row ID column. Defaults to ID_COLUMN_NAME.\n- content_column (str): The name of the content column. Defaults to CONTENT_COLUMN_NAME.\n- embedding_column (str): The name of the embedding column. Defaults to EMBEDDING_COLUMN_NAME.\n- client (Client): The Spanner client. Defaults to Client().\n- metadata_columns (Optional\\[List\\[str\\]\\]): List of metadata columns. Defaults to None.\n- ignore_metadata_columns (Optional\\[List\\[str\\]\\]): List of metadata columns to ignore. Defaults to None.\n- metadata_json_column (Optional\\[str\\]): The generic metadata column. Defaults to None.\n- query_parameters (QueryParameters): The query parameters. Defaults to QueryParameters().\n\n### [TableColumn](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.TableColumn)\n\nRepresents column configuration, to be used as part of create DDL statement for table creation.\n\n### [VectorSearchIndex](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store.VectorSearchIndex)\n\nThe index for use with Approximate Nearest Neighbor (ANN) vector search.\n\nModules\n-------\n\n### [chat_message_history](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.chat_message_history)\n\nCloud Spanner-based chat message history\n\n### [loader](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.loader)\n\nAPI documentation for `loader` module.\n\n### [vector_store](/python/docs/reference/langchain-google-spanner/latest/langchain_google_spanner.vector_store)\n\nAPI documentation for `vector_store` module."]]