GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::GROONGA::HTTP (3)

.ds Aq ’

NAME

Net::Groonga::HTTP - Client library for Groonga httpd.

CONTENTS

SYNOPSIS



    use Net::Groonga::HTTP;

    my $groonga = Net::Groonga::HTTP->new(
        end_point => http://127.0.0.1:10041/d/,
    );
    my $res = $groonga->status();
    use Data::Dumper; warn Dumper($res);



DESCRIPTION

Net::Groonga::HTTP is a client library for Groonga http server.

Groonga is a fast full text search engine. Please look <http://groonga.org/>.

CONSTRUCTOR



    Net::Groonga::HTT->new(%args);



You can create instance with following arguments:
end_point :Str API end point URL for Groonga httpd.

Example:



    Net::Groonga::HTTP->new(end_point => http://127.0.0.1:10041/d/);



ua : Furl Instance of Furl to access Groonga httpd.

Example:



    Net::Groonga::HTTP->new(ua => Furl->new());



METHODS

$groonga->call($function, %args) Call a http server. Function name is $function. Pass the %args.

This method returns instance of Net::Groonga::HTTP::Response.

$groonga->load(%args)


    $groonga->load(
        table => Entry,
        values => \@values,
    );



Load the data to database. This method encodes values to JSON automatically, if it’s arrayref.

$groonga->select(%args)
$groonga->status(%args)
$groonga->select(%args)
$groonga->delete(%args)
$groonga->column_create(%args)
$groonga->dump(%args) You can use these methods if you are lazy.

LICENSE

Copyright (C) tokuhirom.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

tokuhirom <tokuhirom@gmail.com>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::GROONGA::HTTP (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.