Copass 帮助文档的Compass Gps章节的译文

CompassGps 提供了一个通用API,用于整合多种可索引数据源,包括数据库、文件系统等,并提供了批处理索引和实时数据变化监视功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

     最近在研究Compass,在阅读英文帮助文档的时候,心血来潮,一边阅读,一边翻译.学Compass,学E文,提高中文表达能力,一箭三雕.下面是部分关于Compass Gps介绍的翻译.

Compass Gps

One of the aims of Compass::Gps is to provide a common API for integrating multiple different indexable data sources (which we are calling Gps devices). An indexable data source could be a file system, ftp site, web page or a database (either via JDBC or ORM tool). A datasource accessed as a GPS device provides the ability to index it's data, either via batch mode or through real time data changes which are mirrored in the index.

Compass的一个目的是:Gps是提供通用的集成多种不同的可索引的数据源(也称为Gps设备)API。可索引的数据源可以是文件系统,FTP站点,网页或者数据库,数据源被Gps索引数据,通过批处理的模式或者在索引中监视实时数据变更

Compass::Gps provides an API for registering GPS devices and controlling their lifecycle, along with a set of base classes that implement popular data accessing technologies (i.e JDBC, JDO, Hibernate ORM and OJB). Developers can create their own GPS Device's simply, extending the capability of Compass::Gps.

Compass::Gps提供注册GPS devicesAPI和控制它们的生命周期,随同一套很受欢迎的数据访问技术(i.e JDBC, JDO, Hibernate ORM and OJB),开发者能简易的创建自己的GPS Device,扩展Compass::Gps的能力

 

 Overview

Compass Gps provides integration with different indexable data sources using two interfaces: CompassGps and CompassGpsDevice. Both interfaces are very abstract, since different data sources are usually different in the way they work or the API they expose.

Compass Gps提供两个访问不同可索引数据源的接口:CompassGps and CompassGpsDevice因为不同的数据源运行的方式和暴露的API不同,所以两个接口都是虚拟接口

 

A device is considered to be any type of indexable data source imaginable, from a database (maybe through the use of an ORM mapping tool), file system, ftp site, or a web site.

一个设备是任意一种类型的可索引的数据源,来自数据库(可能采用ORM映射工具),文件系统,FTP站点,或者网站。

The main contract that a device is required to provide is the ability to index it's data (using the index() operation). You can think of it as batch indexing the datasource data, providing access for future search queries. An additional possible operation that a device can implement is mirror data changes, either actively or passively.

设备必须提供索引本身数据的能力(采用index()方法),你可以认为它是用来批索引的数据源中将被检索的数据, 设备也能监视数据的变换

Compass Gps is built on top of Compass Core module, utilizing all it's features such as transactions (including the important batch_insert level for batch indexing), OSEM, and the simple API that comes with Compass Core.

Compass Gps是建立Compass 核心模块之上的,利用核心模块的事务(包含重要的batch_insert层次的批索引),对象搜索引擎映射OSEM,和简单的API

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值