Return-Path: X-Original-To: apmail-kudu-commits-archive@minotaur.apache.org Delivered-To: apmail-kudu-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEA90196FF for ; Mon, 11 Apr 2016 16:28:39 +0000 (UTC) Received: (qmail 60908 invoked by uid 500); 11 Apr 2016 16:28:39 -0000 Delivered-To: apmail-kudu-commits-archive@kudu.apache.org Received: (qmail 60890 invoked by uid 500); 11 Apr 2016 16:28:39 -0000 Mailing-List: contact commits-help@kudu.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.incubator.apache.org Delivered-To: mailing list commits@kudu.incubator.apache.org Received: (qmail 60881 invoked by uid 99); 11 Apr 2016 16:28:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 16:28:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1728D180220 for ; Mon, 11 Apr 2016 16:28:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.021 X-Spam-Level: X-Spam-Status: No, score=-2.021 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=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id DD1btAhMNIag for ; Mon, 11 Apr 2016 16:28:20 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 75E245FBBD for ; Mon, 11 Apr 2016 16:28:08 +0000 (UTC) Received: (qmail 58188 invoked by uid 99); 11 Apr 2016 16:28:07 -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; Mon, 11 Apr 2016 16:28:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2B6F1E08B6; Mon, 11 Apr 2016 16:28:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jdcryans@apache.org To: commits@kudu.incubator.apache.org Date: Mon, 11 Apr 2016 16:28:29 -0000 Message-Id: <13046a5df6704d7297755386bcdfe081@git.apache.org> In-Reply-To: <06beda7c146b4609825ea8c470edd03e@git.apache.org> References: <06beda7c146b4609825ea8c470edd03e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [24/45] incubator-kudu git commit: Add 0.8.0 docs http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/c78a2f80/releases/0.8.0/apidocs/org/kududb/client/RecoverableException.html ---------------------------------------------------------------------- diff --git a/releases/0.8.0/apidocs/org/kududb/client/RecoverableException.html b/releases/0.8.0/apidocs/org/kududb/client/RecoverableException.html new file mode 100644 index 0000000..d91acec --- /dev/null +++ b/releases/0.8.0/apidocs/org/kududb/client/RecoverableException.html @@ -0,0 +1,231 @@ + + + + + +RecoverableException (Kudu 0.8.0 API) + + + + + + + + + + +
+
org.kududb.client
+

Class RecoverableException

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Serializable
    +
    +
    +
    Direct Known Subclasses:
    +
    ConnectionResetException, NoLeaderMasterFoundException
    +
    +
    +
    +
    @InterfaceAudience.Public
    +@InterfaceStability.Evolving
    +public abstract class RecoverableException
    +extends KuduException
    +
    An exception for which it's typically useful to retry +

    + The retry strategy is up to you, but it's typically recommended to put an + upper bound on the number of retries and to use some kind of an exponential + backoff.

    +
    See Also:
    Serialized Form
    +
  • +
+
+
+ +
+
+ + + + + +

Copyright © 2016. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/c78a2f80/releases/0.8.0/apidocs/org/kududb/client/RowError.html ---------------------------------------------------------------------- diff --git a/releases/0.8.0/apidocs/org/kududb/client/RowError.html b/releases/0.8.0/apidocs/org/kududb/client/RowError.html new file mode 100644 index 0000000..dd286e3 --- /dev/null +++ b/releases/0.8.0/apidocs/org/kududb/client/RowError.html @@ -0,0 +1,319 @@ + + + + + +RowError (Kudu 0.8.0 API) + + + + + + + + + + +
+
org.kududb.client
+

Class RowError

+
+
+ +
+
    +
  • +
    +
    +
    @InterfaceAudience.Public
    +@InterfaceStability.Evolving
    +public class RowError
    +extends Object
    +
    Wrapper class for a single row error.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getErrorStatus

        +
        public Status getErrorStatus()
        +
        Get the status code and message of the row error.
        +
      • +
      + + + +
        +
      • +

        getStatus

        +
        public String getStatus()
        +
        Deprecated. Please use getErrorStatus() instead. Will be removed in a future version.
        +
        Get the string-representation of the error code that the tablet server returned.
        +
        Returns:
        A short string representation of the error.
        +
      • +
      + + + +
        +
      • +

        getMessage

        +
        public String getMessage()
        +
        Deprecated. Please use getErrorStatus() instead. Will be removed in a future version.
        +
        Get the error message the tablet server sent.
        +
        Returns:
        The error message.
        +
      • +
      + + + +
        +
      • +

        getOperation

        +
        public Operation getOperation()
        +
        Get the Operation that failed.
        +
        Returns:
        The same Operation instance that failed.
        +
      • +
      + + + +
        +
      • +

        getTsUUID

        +
        public String getTsUUID()
        +
        Get the identifier of the tablet server that sent the error.
        +
        Returns:
        A string containing a UUID.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2016. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/c78a2f80/releases/0.8.0/apidocs/org/kududb/client/RowErrorsAndOverflowStatus.html ---------------------------------------------------------------------- diff --git a/releases/0.8.0/apidocs/org/kududb/client/RowErrorsAndOverflowStatus.html b/releases/0.8.0/apidocs/org/kududb/client/RowErrorsAndOverflowStatus.html new file mode 100644 index 0000000..3bed4a3 --- /dev/null +++ b/releases/0.8.0/apidocs/org/kududb/client/RowErrorsAndOverflowStatus.html @@ -0,0 +1,246 @@ + + + + + +RowErrorsAndOverflowStatus (Kudu 0.8.0 API) + + + + + + + + + + +
+
org.kududb.client
+

Class RowErrorsAndOverflowStatus

+
+
+ +
+
    +
  • +
    +
    +
    @InterfaceAudience.Public
    +@InterfaceStability.Evolving
    +public class RowErrorsAndOverflowStatus
    +extends Object
    +
    Container class used as a response when retrieving pending row errors.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRowErrors

        +
        public RowError[] getRowErrors()
        +
        Get the collected row errors.
        +
        Returns:
        an array of row errors, may be empty
        +
      • +
      + + + +
        +
      • +

        isOverflowed

        +
        public boolean isOverflowed()
        +
        Check if the error collector had an overflow and had to discard row errors.
        +
        Returns:
        true if row errors were discarded, false otherwise
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2016. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/c78a2f80/releases/0.8.0/apidocs/org/kududb/client/RowResult.html ---------------------------------------------------------------------- diff --git a/releases/0.8.0/apidocs/org/kududb/client/RowResult.html b/releases/0.8.0/apidocs/org/kududb/client/RowResult.html new file mode 100644 index 0000000..5a7b3c4 --- /dev/null +++ b/releases/0.8.0/apidocs/org/kududb/client/RowResult.html @@ -0,0 +1,794 @@ + + + + + +RowResult (Kudu 0.8.0 API) + + + + + + + + + + +
+
org.kududb.client
+

Class RowResult

+
+
+ +
+
    +
  • +
    +
    +
    @InterfaceAudience.Public
    +@InterfaceStability.Evolving
    +public class RowResult
    +extends Object
    +
    RowResult represents one row from a scanner. Do not reuse or store the objects.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      ByteBuffergetBinary(int columnIndex) +
      Get the specified column's binary data.
      +
      ByteBuffergetBinary(String columnName) +
      Get the specified column's binary data.
      +
      byte[]getBinaryCopy(int columnIndex) +
      Get a copy of the specified column's binary data.
      +
      byte[]getBinaryCopy(String columnName) +
      Get a copy of the specified column's binary data.
      +
      booleangetBoolean(int columnIndex) +
      Get the specified column's boolean
      +
      booleangetBoolean(String columnName) +
      Get the specified column's boolean
      +
      bytegetByte(int columnIndex) +
      Get the specified column's byte
      +
      bytegetByte(String columnName) +
      Get the specified column's byte
      +
      SchemagetColumnProjection() +
      Get the schema used for this scanner's column projection.
      +
      TypegetColumnType(int columnIndex) +
      Get the type of a column in this result.
      +
      TypegetColumnType(String columnName) +
      Get the type of a column in this result.
      +
      doublegetDouble(int columnIndex) +
      Get the specified column's double
      +
      doublegetDouble(String columnName) +
      Get the specified column's double
      +
      floatgetFloat(int columnIndex) +
      Get the specified column's float
      +
      floatgetFloat(String columnName) +
      Get the specified column's float
      +
      intgetInt(int columnIndex) +
      Get the specified column's integer
      +
      intgetInt(String columnName) +
      Get the specified column's integer
      +
      longgetLong(int columnIndex) +
      Get the specified column's long + + If this is a TIMESTAMP column, the long value corresponds to a number of microseconds + since midnight, January 1, 1970 UTC.
      +
      longgetLong(String columnName) +
      Get the specified column's long + + If this is a TIMESTAMP column, the long value corresponds to a number of microseconds + since midnight, January 1, 1970 UTC.
      +
      SchemagetSchema() +
      Get the schema associated with this result.
      +
      shortgetShort(int columnIndex) +
      Get the specified column's short
      +
      shortgetShort(String columnName) +
      Get the specified column's short
      +
      StringgetString(int columnIndex) +
      Get the specified column's string.
      +
      StringgetString(String columnName) +
      Get the specified column's string.
      +
      booleanisNull(int columnIndex) +
      Get if the specified column is NULL
      +
      booleanisNull(String columnName) +
      Get if the specified column is NULL
      +
      StringrowToString() +
      Return the actual data from this row in a stringified key=value + form.
      +
      StringtoString() 
      StringtoStringLongFormat() 
      + +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getInt

        +
        public int getInt(String columnName)
        +
        Get the specified column's integer
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        An integer
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
      • +
      + + + +
        +
      • +

        getInt

        +
        public int getInt(int columnIndex)
        +
        Get the specified column's integer
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        An integer
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getShort

        +
        public short getShort(String columnName)
        +
        Get the specified column's short
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A short
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
      • +
      + + + +
        +
      • +

        getShort

        +
        public short getShort(int columnIndex)
        +
        Get the specified column's short
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A short
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getBoolean

        +
        public boolean getBoolean(String columnName)
        +
        Get the specified column's boolean
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A boolean
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
      • +
      + + + +
        +
      • +

        getBoolean

        +
        public boolean getBoolean(int columnIndex)
        +
        Get the specified column's boolean
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A boolean
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getByte

        +
        public byte getByte(String columnName)
        +
        Get the specified column's byte
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A byte
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
      • +
      + + + +
        +
      • +

        getByte

        +
        public byte getByte(int columnIndex)
        +
        Get the specified column's byte
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A byte
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getLong

        +
        public long getLong(String columnName)
        +
        Get the specified column's long + + If this is a TIMESTAMP column, the long value corresponds to a number of microseconds + since midnight, January 1, 1970 UTC.
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A positive long
        +
        Throws:
        +
        IllegalArgumentException - if the column is null\
        +
      • +
      + + + +
        +
      • +

        getLong

        +
        public long getLong(int columnIndex)
        +
        Get the specified column's long + + If this is a TIMESTAMP column, the long value corresponds to a number of microseconds + since midnight, January 1, 1970 UTC.
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A positive long
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getFloat

        +
        public float getFloat(String columnName)
        +
        Get the specified column's float
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A float
        +
      • +
      + + + +
        +
      • +

        getFloat

        +
        public float getFloat(int columnIndex)
        +
        Get the specified column's float
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A float
        +
      • +
      + + + +
        +
      • +

        getDouble

        +
        public double getDouble(String columnName)
        +
        Get the specified column's double
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A double
        +
      • +
      + + + +
        +
      • +

        getDouble

        +
        public double getDouble(int columnIndex)
        +
        Get the specified column's double
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A double
        +
      • +
      + + + +
        +
      • +

        getColumnProjection

        +
        public Schema getColumnProjection()
        +
        Get the schema used for this scanner's column projection.
        +
        Returns:
        A column projection as a schema.
        +
      • +
      + + + +
        +
      • +

        getString

        +
        public String getString(String columnName)
        +
        Get the specified column's string.
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        A string
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
      • +
      + + + +
        +
      • +

        getString

        +
        public String getString(int columnIndex)
        +
        Get the specified column's string.
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        A string
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getBinaryCopy

        +
        public byte[] getBinaryCopy(String columnName)
        +
        Get a copy of the specified column's binary data.
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        a byte[] with the binary data.
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getBinaryCopy

        +
        public byte[] getBinaryCopy(int columnIndex)
        +
        Get a copy of the specified column's binary data.
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        a byte[] with the binary data.
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getBinary

        +
        public ByteBuffer getBinary(String columnName)
        +
        Get the specified column's binary data. + + This doesn't copy the data and instead returns a ByteBuffer that wraps it.
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        a byte[] with the binary data.
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getBinary

        +
        public ByteBuffer getBinary(int columnIndex)
        +
        Get the specified column's binary data. + + This doesn't copy the data and instead returns a ByteBuffer that wraps it.
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        a byte[] with the binary data.
        +
        Throws:
        +
        IllegalArgumentException - if the column is null
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        isNull

        +
        public boolean isNull(String columnName)
        +
        Get if the specified column is NULL
        +
        Parameters:
        columnName - name of the column to get data for
        +
        Returns:
        true if the column cell is null and the column is nullable, + false otherwise
        +
        Throws:
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        isNull

        +
        public boolean isNull(int columnIndex)
        +
        Get if the specified column is NULL
        +
        Parameters:
        columnIndex - Column index in the schema
        +
        Returns:
        true if the column cell is null and the column is nullable, + false otherwise
        +
        Throws:
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getColumnType

        +
        public Type getColumnType(String columnName)
        +
        Get the type of a column in this result.
        +
        Parameters:
        columnName - name of the column
        +
        Returns:
        a type
        +
      • +
      + + + +
        +
      • +

        getColumnType

        +
        public Type getColumnType(int columnIndex)
        +
        Get the type of a column in this result.
        +
        Parameters:
        columnIndex - column index in the schema
        +
        Returns:
        a type
        +
        Throws:
        +
        IndexOutOfBoundsException - if the column doesn't exist
        +
      • +
      + + + +
        +
      • +

        getSchema

        +
        public Schema getSchema()
        +
        Get the schema associated with this result.
        +
        Returns:
        a schema
        +
      • +
      + + + + + + + +
        +
      • +

        rowToString

        +
        public String rowToString()
        +
        Return the actual data from this row in a stringified key=value + form.
        +
      • +
      + + + +
        +
      • +

        toStringLongFormat

        +
        public String toStringLongFormat()
        +
        Returns:
        a string describing the location of this row result within + the iterator as well as its data.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2016. All rights reserved.

+ +