Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B8AFB200B5F for ; Fri, 29 Jul 2016 21:43:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7697160AA6; Fri, 29 Jul 2016 19:43:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 388B0160A6E for ; Fri, 29 Jul 2016 21:43:32 +0200 (CEST) Received: (qmail 49766 invoked by uid 500); 29 Jul 2016 19:43:31 -0000 Mailing-List: contact commits-help@pirk.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pirk.incubator.apache.org Delivered-To: mailing list commits@pirk.incubator.apache.org Received: (qmail 49756 invoked by uid 99); 29 Jul 2016 19:43:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2016 19:43:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D1C49C0D72 for ; Fri, 29 Jul 2016 19:43:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.446 X-Spam-Level: X-Spam-Status: No, score=-3.446 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, KAM_MANYCOMMENTS=1.2, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id r39X1fBkueZX for ; Fri, 29 Jul 2016 19:43:16 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 464DD5FDFE for ; Fri, 29 Jul 2016 19:42:52 +0000 (UTC) Received: (qmail 43919 invoked by uid 99); 29 Jul 2016 19:42:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2016 19:42:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C4612EC232; Fri, 29 Jul 2016 19:42:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: eawilliams@apache.org To: commits@pirk.incubator.apache.org Date: Fri, 29 Jul 2016 19:42:50 -0000 Message-Id: In-Reply-To: <658b3cdafaa441319446e1b63269f49d@git.apache.org> References: <658b3cdafaa441319446e1b63269f49d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/47] incubator-pirk git commit: updating website javadocs archived-at: Fri, 29 Jul 2016 19:43:34 -0000 http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/GenerateCronItems.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/GenerateCronItems.html b/javadocs/test/org/apache/pirk/utils/GenerateCronItems.html deleted file mode 100644 index af18bd7..0000000 --- a/javadocs/test/org/apache/pirk/utils/GenerateCronItems.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - -GenerateCronItems - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class GenerateCronItems

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.GenerateCronItems
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class GenerateCronItems
    -extends java.lang.Object
    -
    Class that generates the cron scripts and crontab for the PIR algorithm -

    - If add: -

    - - Given a set of query vectors, creates a cron script to run the PIR with the specified parameters, and adds to the crontab with the given frequency -

    - If delete: -

    - - Given a crontab entry and current cron script, deletes it from the crontab file and from the cron script directory -

    - - NOTE: This does not delete the actual query vectors from their location

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      GenerateCronItems() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GenerateCronItems

        -
        public GenerateCronItems()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(java.lang.String[] args)
        -                 throws java.io.IOException
        -
        Throws:
        -
        java.io.IOException
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/HDFS.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/HDFS.html b/javadocs/test/org/apache/pirk/utils/HDFS.html deleted file mode 100644 index 9181af6..0000000 --- a/javadocs/test/org/apache/pirk/utils/HDFS.html +++ /dev/null @@ -1,431 +0,0 @@ - - - - - -HDFS - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class HDFS

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.HDFS
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class HDFS
    -extends java.lang.Object
    -
    Class for basic HDFS fileIO utils
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      HDFS() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voiddeletePath(org.apache.hadoop.fs.FileSystem fs, - java.lang.String filepath) 
      static org.apache.hadoop.fs.PathfindFileInDirectory(org.apache.hadoop.fs.FileSystem fs, - java.lang.String directory, - java.lang.String startsWith) 
      static java.util.ArrayList<org.apache.hadoop.fs.Path>getFilesInDirectory(org.apache.hadoop.fs.FileSystem fs, - java.lang.String directory) 
      static java.util.ArrayList<java.lang.String>readFile(org.apache.hadoop.fs.FileSystem fs, - org.apache.hadoop.fs.Path path) 
      static java.util.ArrayList<java.lang.String>readFile(org.apache.hadoop.fs.FileSystem fs, - java.lang.String filepath) 
      static java.util.HashSet<java.lang.String>readFileHashSet(org.apache.hadoop.fs.FileSystem fs, - org.apache.hadoop.fs.Path path) 
      static voidwriteFile(java.util.Collection<java.lang.String> elements, - org.apache.hadoop.fs.FileSystem fs, - java.lang.String path, - boolean deleteOnExit) 
      static voidwriteFile(java.util.List<java.math.BigInteger> elements, - org.apache.hadoop.fs.FileSystem fs, - org.apache.hadoop.fs.Path path, - boolean deleteOnExit) 
      static voidwriteFile(java.util.List<org.json.simple.JSONObject> elements, - org.apache.hadoop.fs.FileSystem fs, - java.lang.String path, - boolean deleteOnExit) 
      static voidwriteFile(java.util.Map<java.lang.String,java.lang.Integer> sortedMap, - org.apache.hadoop.fs.FileSystem fs, - java.lang.String path, - boolean deleteOnExit) 
      static voidwriteFileIntegers(java.util.List<java.lang.Integer> elements, - org.apache.hadoop.fs.FileSystem fs, - org.apache.hadoop.fs.Path path, - boolean deleteOnExit) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        HDFS

        -
        public HDFS()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        writeFile

        -
        public static void writeFile(java.util.Collection<java.lang.String> elements,
        -             org.apache.hadoop.fs.FileSystem fs,
        -             java.lang.String path,
        -             boolean deleteOnExit)
        -
      • -
      - - - -
        -
      • -

        writeFile

        -
        public static void writeFile(java.util.List<org.json.simple.JSONObject> elements,
        -             org.apache.hadoop.fs.FileSystem fs,
        -             java.lang.String path,
        -             boolean deleteOnExit)
        -
      • -
      - - - -
        -
      • -

        writeFile

        -
        public static void writeFile(java.util.List<java.math.BigInteger> elements,
        -             org.apache.hadoop.fs.FileSystem fs,
        -             org.apache.hadoop.fs.Path path,
        -             boolean deleteOnExit)
        -
      • -
      - - - -
        -
      • -

        writeFile

        -
        public static void writeFile(java.util.Map<java.lang.String,java.lang.Integer> sortedMap,
        -             org.apache.hadoop.fs.FileSystem fs,
        -             java.lang.String path,
        -             boolean deleteOnExit)
        -
      • -
      - - - -
        -
      • -

        readFile

        -
        public static java.util.ArrayList<java.lang.String> readFile(org.apache.hadoop.fs.FileSystem fs,
        -                                             java.lang.String filepath)
        -
      • -
      - - - -
        -
      • -

        readFile

        -
        public static java.util.ArrayList<java.lang.String> readFile(org.apache.hadoop.fs.FileSystem fs,
        -                                             org.apache.hadoop.fs.Path path)
        -
      • -
      - - - -
        -
      • -

        readFileHashSet

        -
        public static java.util.HashSet<java.lang.String> readFileHashSet(org.apache.hadoop.fs.FileSystem fs,
        -                                                  org.apache.hadoop.fs.Path path)
        -
      • -
      - - - -
        -
      • -

        getFilesInDirectory

        -
        public static java.util.ArrayList<org.apache.hadoop.fs.Path> getFilesInDirectory(org.apache.hadoop.fs.FileSystem fs,
        -                                                                 java.lang.String directory)
        -
      • -
      - - - -
        -
      • -

        findFileInDirectory

        -
        public static org.apache.hadoop.fs.Path findFileInDirectory(org.apache.hadoop.fs.FileSystem fs,
        -                                            java.lang.String directory,
        -                                            java.lang.String startsWith)
        -
      • -
      - - - -
        -
      • -

        deletePath

        -
        public static void deletePath(org.apache.hadoop.fs.FileSystem fs,
        -              java.lang.String filepath)
        -
      • -
      - - - -
        -
      • -

        writeFileIntegers

        -
        public static void writeFileIntegers(java.util.List<java.lang.Integer> elements,
        -                     org.apache.hadoop.fs.FileSystem fs,
        -                     org.apache.hadoop.fs.Path path,
        -                     boolean deleteOnExit)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/ISO8601DateParser.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/ISO8601DateParser.html b/javadocs/test/org/apache/pirk/utils/ISO8601DateParser.html deleted file mode 100644 index 7c59d88..0000000 --- a/javadocs/test/org/apache/pirk/utils/ISO8601DateParser.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - -ISO8601DateParser - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class ISO8601DateParser

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.ISO8601DateParser
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class ISO8601DateParser
    -extends java.lang.Object
    -
    Class to parse a date in ISO86091 format
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ISO8601DateParser() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringfromLongDate(long dateLongFormat) 
      static java.util.DategetDate(java.lang.String isoDate) 
      static longgetLongDate(java.lang.String isoDate) 
      static java.lang.StringparseDate(java.lang.String date) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ISO8601DateParser

        -
        public ISO8601DateParser()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        parseDate

        -
        public static java.lang.String parseDate(java.lang.String date)
        -
      • -
      - - - -
        -
      • -

        getDate

        -
        public static java.util.Date getDate(java.lang.String isoDate)
        -                              throws java.text.ParseException
        -
        Throws:
        -
        java.text.ParseException
        -
      • -
      - - - -
        -
      • -

        getLongDate

        -
        public static long getLongDate(java.lang.String isoDate)
        -                        throws java.text.ParseException
        -
        Throws:
        -
        java.text.ParseException
        -
      • -
      - - - -
        -
      • -

        fromLongDate

        -
        public static java.lang.String fromLongDate(long dateLongFormat)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/KeyedHash.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/KeyedHash.html b/javadocs/test/org/apache/pirk/utils/KeyedHash.html deleted file mode 100644 index d4f4315..0000000 --- a/javadocs/test/org/apache/pirk/utils/KeyedHash.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -KeyedHash - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class KeyedHash

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.KeyedHash
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class KeyedHash
    -extends java.lang.Object
    -
    Class for the PIR keyed hash -

    - Defaults to java hashCode(); can optionally choose MD5, SHA-1, or SHA-256

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      KeyedHash() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static inthash(java.lang.String key, - int bitSize, - java.lang.String input) -
      Hash method that uses the java String hashCode()
      -
      static inthash(java.lang.String key, - int bitSize, - java.lang.String input, - java.lang.String hashType) -
      Hash method to optionally specify a hash type other than the default java hashCode() hashType must be MD5, SHA-1, or SHA-256
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        KeyedHash

        -
        public KeyedHash()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        hash

        -
        public static int hash(java.lang.String key,
        -       int bitSize,
        -       java.lang.String input)
        -
        Hash method that uses the java String hashCode()
        -
      • -
      - - - -
        -
      • -

        hash

        -
        public static int hash(java.lang.String key,
        -       int bitSize,
        -       java.lang.String input,
        -       java.lang.String hashType)
        -
        Hash method to optionally specify a hash type other than the default java hashCode() hashType must be MD5, SHA-1, or SHA-256
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/LogUtils.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/LogUtils.html b/javadocs/test/org/apache/pirk/utils/LogUtils.html deleted file mode 100644 index 3a9eb36..0000000 --- a/javadocs/test/org/apache/pirk/utils/LogUtils.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - -LogUtils - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class LogUtils

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.LogUtils
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class LogUtils
    -extends java.lang.Object
    -
    Class for basic logging utils
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static org.apache.log4j.Loggerlogger 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      LogUtils() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.Stringentering() 
      static java.lang.Stringentering(java.lang.String methodName) 
      static java.lang.Stringexiting() 
      static java.lang.Stringexiting(java.lang.String methodName) 
      static org.apache.log4j.LoggergetLoggerForThisClass() -
      Should be called at the from from each class using log4j.
      -
      static java.lang.StringgetNameForThisClass() -
      Returns the name of the class calling this method.
      -
      static voidinitialize() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        logger

        -
        public static org.apache.log4j.Logger logger
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        LogUtils

        -
        public LogUtils()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        public static void initialize()
        -
      • -
      - - - -
        -
      • -

        getLoggerForThisClass

        -
        public static org.apache.log4j.Logger getLoggerForThisClass()
        -
        Should be called at the from from each class using log4j. Example: static private Logger logger = LogUtils.getLoggerForThisClass();
        -
        Returns:
        -
      • -
      - - - -
        -
      • -

        getNameForThisClass

        -
        public static java.lang.String getNameForThisClass()
        -
        Returns the name of the class calling this method.
        -
      • -
      - - - -
        -
      • -

        entering

        -
        public static java.lang.String entering()
        -
      • -
      - - - -
        -
      • -

        exiting

        -
        public static java.lang.String exiting()
        -
      • -
      - - - -
        -
      • -

        entering

        -
        public static java.lang.String entering(java.lang.String methodName)
        -
      • -
      - - - -
        -
      • -

        exiting

        -
        public static java.lang.String exiting(java.lang.String methodName)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/PIRException.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/PIRException.html b/javadocs/test/org/apache/pirk/utils/PIRException.html deleted file mode 100644 index 7ca5bb5..0000000 --- a/javadocs/test/org/apache/pirk/utils/PIRException.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - -PIRException - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class PIRException

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • org.apache.pirk.utils.PIRException
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class PIRException
    -extends java.lang.Exception
    -
    Custom exception for the PIR utilities
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      PIRException() 
      PIRException(java.lang.String message) 
      PIRException(java.lang.String message, - java.lang.Throwable cause) 
      PIRException(java.lang.Throwable cause) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PIRException

        -
        public PIRException()
        -
      • -
      - - - -
        -
      • -

        PIRException

        -
        public PIRException(java.lang.String message)
        -
      • -
      - - - -
        -
      • -

        PIRException

        -
        public PIRException(java.lang.Throwable cause)
        -
      • -
      - - - -
        -
      • -

        PIRException

        -
        public PIRException(java.lang.String message,
        -            java.lang.Throwable cause)
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/cb436a97/javadocs/test/org/apache/pirk/utils/QueryParserUtils.html ---------------------------------------------------------------------- diff --git a/javadocs/test/org/apache/pirk/utils/QueryParserUtils.html b/javadocs/test/org/apache/pirk/utils/QueryParserUtils.html deleted file mode 100644 index 48fd25b..0000000 --- a/javadocs/test/org/apache/pirk/utils/QueryParserUtils.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - -QueryParserUtils - - - - - - - - - - - -
-
org.apache.pirk.utils
-

Class QueryParserUtils

-
-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.apache.pirk.utils.QueryParserUtils
    • -
    -
  • -
-
-
    -
  • -
    -
    -
    public class QueryParserUtils
    -extends java.lang.Object
    -
    Class used for URI query parsing -

    - Query of the form @{code ?q=:} -

    - TODO: Use Lucene's query parsing?... Make this lots lots better...

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      QueryParserUtils() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static booleancheckRangeQuery(boolean inclusive, - java.lang.String field, - java.lang.String query, - java.lang.String value, - DataSchema dataSchema) -
      Method to handle ranges queries
      -
      static booleancheckRecord(java.lang.String uriQuery, - java.util.Map<java.lang.String,java.lang.Object> doc, - DataSchema dataSchema) 
      static booleancheckRecord(java.lang.String uriQuery, - org.apache.hadoop.io.MapWritable doc, - DataSchema dataSchema) -
      Given a URI query string, checks to see if the given document satisfies the query
      -
      static booleancheckRecordWritableArrayWritable(java.lang.String uriQuery, - org.apache.hadoop.io.MapWritable doc, - DataSchema dataSchema) 
      static java.lang.StringwildcardToRegex(java.lang.String wildcard) -
      Method to convert a URI wildcard query into a java regex
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        QueryParserUtils

        -
        public QueryParserUtils()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        checkRecord

        -
        public static boolean checkRecord(java.lang.String uriQuery,
        -                  org.apache.hadoop.io.MapWritable doc,
        -                  DataSchema dataSchema)
        -
        Given a URI query string, checks to see if the given document satisfies the query -

        - ...Very hacky... -

        - NOTE: Assumes that MapWritable keys are Text objects and values are Text or TextArrayWritable objects -

        - NOTE: Support for list fields (values) is provided for checkRecord with Map and checkRecord with MapWritable containing - WritableArrayWritable types for array values (vs. json string list representation) -

        - NOTE: @ symbol represents flag ignore case sensitivity used after field (e.g. user_agent@:*searchparam*) -

        - NOTE: Assumes that all AND booleans come before any OR booleans - ADD @ case sensitivity support for range queries

        -
      • -
      - - - -
        -
      • -

        checkRecord

        -
        public static boolean checkRecord(java.lang.String uriQuery,
        -                  java.util.Map<java.lang.String,java.lang.Object> doc,
        -                  DataSchema dataSchema)
        -
      • -
      - - - -
        -
      • -

        checkRecordWritableArrayWritable

        -
        public static boolean checkRecordWritableArrayWritable(java.lang.String uriQuery,
        -                                       org.apache.hadoop.io.MapWritable doc,
        -                                       DataSchema dataSchema)
        -
      • -
      - - - -
        -
      • -

        checkRangeQuery

        -
        public static boolean checkRangeQuery(boolean inclusive,
        -                      java.lang.String field,
        -                      java.lang.String query,
        -                      java.lang.String value,
        -                      DataSchema dataSchema)
        -
        Method to handle ranges queries
        -
      • -
      - - - -
        -
      • -

        wildcardToRegex

        -
        public static java.lang.String wildcardToRegex(java.lang.String wildcard)
        -
        Method to convert a URI wildcard query into a java regex
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - - -