Module: Groonga
- Defined in:
- lib/groonga.rb,
lib/groonga/record.rb,
lib/groonga/schema.rb,
lib/groonga/patricia-trie.rb,
lib/groonga/expression-builder.rb,
ext/rb-groonga.c
Overview
Copyright © 2009 Kouhei Sutou <[email protected]>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Defined Under Namespace
Modules: Encoding, EncodingSupport, ExpressionBuildable, Operation Classes: Accessor, AddressIsInUse, AddressIsNotAvailable, ArgumentListTooLong, Array, ArrayCursor, BadAddress, BadFileDescriptor, BrokenPipe, Column, ColumnExpressionBuilder, ConnectionRefused, Context, Database, DirectoryNotEmpty, DomainError, EndOfData, Error, ExecFormatError, Expression, FileCorrupt, FileExists, FileTooLarge, FilenameTooLong, FixSizeColumn, FunctionNotImplemented, Hash, HashCursor, IllegalByteSequence, ImproperLink, InappropriateIOControlOperation, IncompatibleFileFormat, IndexColumn, InputOutputError, InterruptedFunctionCall, InvalidArgument, InvalidFormat, InvalidSeek, IsADirectory, LZOError, Logger, NetworkIsDown, NoBuffer, NoChildProcesses, NoLocksAvailable, NoMemoryAvailable, NoSpaceLeftOnDevice, NoSuchColumn, NoSuchDevice, NoSuchDeviceOrAddress, NoSuchFileOrDirectory, NoSuchProcess, NotADirectory, NotEnoughSpace, NotSocket, Object, ObjectClosed, ObjectCorrupt, OperationNotPermitted, OperationNotSupported, OperationTimeout, OperationWouldBlock, PatriciaTrie, PatriciaTrieCursor, PermissionDenied, Procedure, Query, RangeError, ReadOnlyFileSystem, Record, RecordExpressionBuilder, ResourceBusy, ResourceDeadlockAvoided, ResourceTemporarilyUnavailable, ResultTooLarge, RetryMax, Schema, Snippet, SocketIsAlreadyConnected, SocketIsAlreadyShutdowned, SocketIsNotConnected, SocketNotInitialized, StackOverFlow, SyntaxError, Table, TableCursor, TokenizerError, TooManyLinks, TooManyOpenFiles, TooManyOpenFilesInSystem, TooManySymbolicLinks, Type, UnknownError, UpdateNotAllowed, Variable, VariableSizeColumn, ZLibError
Constant Summary collapse
- BUILD_VERSION =
ビルドしたgroongaのバージョン。
[メジャーバージョン, マイナーバージョン, マイクロバージョン]
の配列。 cGrnBuildVersion
- VERSION =
利用しているgroongaのバージョン(にしたい。現在は BUILD_VERSIONと同じ)。
[メジャーバージョ ン, マイナーバージョン, マイクロバージョン]
の配列。 cGrnBuildVersion
- BINDINGS_VERSION =
Ruby/groongaのバージョン。
[メジャーバージョン, マ イナーバージョン, マイクロバージョン]
の配列。 cGrnBindingsVersion
Class Method Summary collapse
- .[](name) ⇒ Object
-
.bindings_version ⇒ Object
BINDINGS_VERSIONを“.”で結合して
"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の文 字列にしたもの。. -
.build_version ⇒ Object
BUILD_VERSIONを“.”で結合して
"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の 文字列にしたもの。. -
.version ⇒ Object
VERSIONを“.”で結合して
"メジャーバージョン.マイナー バージョン.マイクロバージョン"
という形式の文字列に したもの。.
Class Method Details
.[](name) ⇒ Object
call-seq:
Groonga[name] -> Groonga::Object or nil
Groonga[id] -> Groonga::Object or nil
76 77 78 |
# File 'lib/groonga.rb', line 76 def [](name) Context.default[name] end |
.bindings_version ⇒ Object
BINDINGS_VERSIONを“.”で結合して"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の文 字列にしたもの。
66 67 68 |
# File 'lib/groonga.rb', line 66 def bindings_version BINDINGS_VERSION.join(".") end |
.build_version ⇒ Object
BUILD_VERSIONを“.”で結合して"メジャーバージョン.マ イナーバージョン.マイクロバージョン"
という形式の 文字列にしたもの。
50 51 52 |
# File 'lib/groonga.rb', line 50 def build_version BUILD_VERSION.join(".") end |