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 2E78A200A5B for ; Wed, 25 May 2016 22:15:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2D231160A29; Wed, 25 May 2016 20:15:02 +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 755F0160A0F for ; Wed, 25 May 2016 22:15:01 +0200 (CEST) Received: (qmail 16926 invoked by uid 500); 25 May 2016 19:56:14 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 16878 invoked by uid 99); 25 May 2016 19:56:14 -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; Wed, 25 May 2016 19:56:14 +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 D4F1B1804C3 for ; Wed, 25 May 2016 19:56:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.611 X-Spam-Level: ** X-Spam-Status: No, score=2.611 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HTG_Y5WZickX for ; Wed, 25 May 2016 19:56:12 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 52E725F3F2 for ; Wed, 25 May 2016 19:56:11 +0000 (UTC) Received: from mail-wm0-f45.google.com ([74.125.82.45]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Le5bY-1btMH01UcO-00psPW for ; Wed, 25 May 2016 21:56:02 +0200 Received: by mail-wm0-f45.google.com with SMTP id n129so198471371wmn.1 for ; Wed, 25 May 2016 12:56:02 -0700 (PDT) X-Gm-Message-State: ALyK8tKDpl0wx6UPdDpm/bBFpWXFWd3Fl+c/75YRn27Y8oamkso9lgwoEyu/mKXyESJtTvOThizfg5bxEm4FVA== MIME-Version: 1.0 X-Received: by 10.28.218.10 with SMTP id r10mr4171671wmg.18.1464205737895; Wed, 25 May 2016 12:48:57 -0700 (PDT) Received: by 10.28.129.68 with HTTP; Wed, 25 May 2016 12:48:57 -0700 (PDT) In-Reply-To: <1464082009858-5723108.post@n5.nabble.com> References: <1464082009858-5723108.post@n5.nabble.com> Date: Wed, 25 May 2016 21:48:57 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to access pivot table of very large excel using apache poi in java? From: Dominik Stadler To: POI Users List Content-Type: multipart/alternative; boundary=001a1145b686e2b3890533aff612 X-Provags-ID: V03:K0:8qkl+mK4WHgGbCI+qg2yfFZIMWPJKt4HQrx52qBwzoiiSaOLt8l xuj7Zzju9jpftVvwMpSNg23mPORehOJlISIG7+0CQe1EWW7OY4Kt92WwL8FTkGb+s0VmTZC ntr9Bz71MsOapfUfXVG8NLjE0E80t0PkGeca8h2d4SrOjEdsYEEipnmr9vCMjrKrolWf/uB 9w+kQD8LKIPt/BqjiB9dw== X-UI-Out-Filterresults: notjunk:1;V01:K0:JT+RWXkx+Po=:5y/IhBWQyf8KZLCyR63Ba5 faMzI//NYfqGk+zoEcRqY9J+oaNXBu3BCBK2tNJqk4bmEQA3bmdHhXfA0gkt1HfzUeZnzzR2Z nxSLiGm0gp7LNbh4VJrUuRIffrH/MZrmUG/jO3lgPxryUDDr+Sj7T1FafyVcD7BNVTFnGa4aG tZCbTckd82/UxPQkDLWVxRxsYEHl0A5WVrw3luap+7Dj9/a4ur2SRuZxN8zXFos/27fbDeOOZ FAR0QOALH6d/OD+BapTEix4+F8Aun8Az4WWGRTcvibEvvu2Wfff0PiOp6SV+dy51qclNKXxCc SjCJX56u4O/JeJ/tSCkWzNVhnX+jqF0b1EN/12WYSiDMY0ofTmJUQGowwLSbLtxlj96Qc+uko ZZqXaTmOoljPOEEtSah0tePHEX4SVL4W0jvSUnNxD7HYccwu1HZijERXW7twrP587w9FdATvk OZyoaxfnVrpzJDhBt/4JdllmnLbZdzQVdMM2CR2gOCrbAHKJVXV1nrBD9XPm3kHQhON+i8Juw BZUbDIztXwC0svEKNS2Dbwi7G2lUwJRp91hpbAXzRtk7pmNjwl6HnuFjxlQULiua+kpZwB99h s/f6DB3AIzfigLHyqJddgJXRtnJKzGG6bj3I1eSLPuvIJe6NQWhJeSvmmfCBU4FA2TtgFxxEo J5Yt3pbq/ISN74fMB+WnVSSLjuF2+0/IJvH/p6om4VkYIOjwkWbqV+a6aqx0PqlR+rzJBIwRL I5mLeVThcQPMWWYJq2/r1+TJwtJWnp8ytwWO8+org4J3QMfpdott8BTxXWGyriIzUL8h2GChN ScROPcX archived-at: Wed, 25 May 2016 20:15:02 -0000 --001a1145b686e2b3890533aff612 Content-Type: text/plain; charset=UTF-8 Hi, Not sure where "SaxDemo" is from as I did not find it in the POI sources, but at least the XLSX2CSV demo ( https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java) only reads some basic parts of the file. I fear your only chance is probably to implement the additional handling based on how the pivot table is stored in the .xlsx file. Dominik. On Tue, May 24, 2016 at 11:26 AM, Sowmya wrote: > Hi, > > I am trying to get data source of pivot table using apache poi . But the > excel file is very large and the code below gives out of memory issue : > FileInputStream fis = new FileInputStream(new File("demo.xlsx")); > XSSFWorkbook workbook = new XSSFWorkbook(fis); > > I tried using Sax parser as below : > SaxDemo example = new SaxDemo(); > example.processOneSheet("demo.xlsx"); > > But by using this I can only read the cell contents . But I like to access > pivot table. Is it possible to Sax parser , to return the processed sheet? > > Any help is great as I am stuck with this memory issue. > > > Thanks, > Sowmya > > > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/How-to-access-pivot-table-of-very-large-excel-using-apache-poi-in-java-tp5723108.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@poi.apache.org > For additional commands, e-mail: user-help@poi.apache.org > > --001a1145b686e2b3890533aff612--