phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 袁康(基础平台部) <yuankangk...@didichuxing.com>
Subject Re: how can I cast PhoenixArray to ArrayList
Date Tue, 28 Mar 2017 11:46:36 GMT
I see the doc, but It’s oracle API  . There is getIntArray method to cast Oracle Array to
int[] .Phoenix array does not hava one

在 2017年3月27日,22:38,James Taylor <jamestaylor@apache.org<mailto:jamestaylor@apache.org>>
写道:

The JDBC array is not an ArrayList. See http://download.oracle.com/otn_hosted_doc/jdeveloper/905/jdbc-javadoc/oracle/sql/ARRAY.html


On Mon, Mar 27, 2017 at 3:50 AM 袁康(基础平台部) <yuankangkira@didichuxing.com<mailto:yuankangkira@didichuxing.com>>
wrote:
When I query phoenix in java project

occur:java.lang.ClassCastException: org.apache.phoenix.schema.types.PhoenixArray cannot
be cast to java.util.ArrayList

How can I do the transfer?

Mime
View raw message