Translate wire protocol to array. Since arrays house any other specified types (including
potentially arrays), we use all parser types to parse each item within.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class ArrayParser (0.27.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.27.1 (latest)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.27.0](/java/docs/reference/pgadapter/0.27.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.26.0](/java/docs/reference/pgadapter/0.26.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.25.0](/java/docs/reference/pgadapter/0.25.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.24.0](/java/docs/reference/pgadapter/0.24.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.23.1](/java/docs/reference/pgadapter/0.23.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.22.1](/java/docs/reference/pgadapter/0.22.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.21.0](/java/docs/reference/pgadapter/0.21.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.20.0](/java/docs/reference/pgadapter/0.20.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.19.1](/java/docs/reference/pgadapter/0.19.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.18.4](/java/docs/reference/pgadapter/0.18.4/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.17.0](/java/docs/reference/pgadapter/0.17.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.16.0](/java/docs/reference/pgadapter/0.16.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.15.0](/java/docs/reference/pgadapter/0.15.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.14.1](/java/docs/reference/pgadapter/0.14.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.9.0](/java/docs/reference/pgadapter/0.9.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.8.0](/java/docs/reference/pgadapter/0.8.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.7.0](/java/docs/reference/pgadapter/0.7.0/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.6.1](/java/docs/reference/pgadapter/0.6.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser)\n- [0.5.1](/java/docs/reference/pgadapter/0.5.1/com.google.cloud.spanner.pgadapter.parsers.ArrayParser) \n\n public class ArrayParser extends Parser\u003cList\u003c?\u003e\u003e\n\nTranslate wire protocol to array. Since arrays house any other specified types (including\npotentially arrays), we use all parser types to parse each item within. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e [Parser](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser) \\\u003e ArrayParser \n\nInherited Members\n-----------------\n\n[Parser.binaryParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_binaryParse__) \n[Parser.bind(Statement.Builder,String)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_bind_com_google_cloud_spanner_Statement_Builder_java_lang_String_) \n[Parser.create(ResultSet,Type,int,SessionState)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_create_com_google_cloud_spanner_ResultSet_com_google_cloud_spanner_Type_int_com_google_cloud_spanner_pgadapter_session_SessionState_) \n[Parser.create(SessionState,byte\\[\\],int,Parser.FormatCode)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_create_com_google_cloud_spanner_pgadapter_session_SessionState_byte___int_com_google_cloud_spanner_pgadapter_parsers_Parser_FormatCode_) \n[Parser.create(Object,Type.Code,SessionState)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_create_java_lang_Object_com_google_cloud_spanner_Type_Code_com_google_cloud_spanner_pgadapter_session_SessionState_) \n[Parser.getItem()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_getItem__) \n[Parser.parse(ProxyServer.DataFormat)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_parse_com_google_cloud_spanner_pgadapter_ProxyServer_DataFormat_) \n[Parser.spannerBinaryParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_spannerBinaryParse__) \n[Parser.spannerParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_spannerParse__) \n[Parser.stringBinaryParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_stringBinaryParse__) \n[Parser.stringParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_stringParse__) \n[Parser.toOid(Type)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_toOid_com_google_cloud_spanner_Type_) \n[Parser.toOid(Type)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_toOid_com_google_spanner_v1_Type_) \n[Parser.toType(int)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_toType_int_) \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Methods\n--------------\n\n### binaryArrayToList(byte\\[\\] value, boolean convertToValidSpannerElements)\n\n public static List\u003c?\u003e binaryArrayToList(byte[] value, boolean convertToValidSpannerElements)\n\nConverts the given binary array value into a list of objects.\n\n### stringArrayToList(String value, int elementOid, SessionState sessionState, boolean convertToValidSpannerElements)\n\n public static List\u003c?\u003e stringArrayToList(String value, int elementOid, SessionState sessionState, boolean convertToValidSpannerElements)\n\nConverts an array literal to the corresponding list of objects.\n\nConstructors\n------------\n\n### ArrayParser(byte\\[\\] item, Parser.FormatCode formatCode, SessionState sessionState, Type arrayElementType, int elementOid)\n\n public ArrayParser(byte[] item, Parser.FormatCode formatCode, SessionState sessionState, Type arrayElementType, int elementOid)\n\n### ArrayParser(ResultSet item, int position, SessionState sessionState)\n\n public ArrayParser(ResultSet item, int position, SessionState sessionState)\n\nMethods\n-------\n\n### binaryParse()\n\n protected byte[] binaryParse()\n\nUsed to parse data type onto binary. Override this to change binary representation.\n\n**Overrides** \n[Parser\\\u003cT\\\u003e.binaryParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_binaryParse__)\n\n### bind(Statement.Builder statementBuilder, String name)\n\n public void bind(Statement.Builder statementBuilder, String name)\n\n**Overrides** \n[Parser\\\u003cT\\\u003e.bind(Statement.Builder statementBuilder, String name)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_bind_com_google_cloud_spanner_Statement_Builder_java_lang_String_)\n\n### getItem()\n\n public List\u003c?\u003e getItem()\n\nReturns the item helder by this parser.\n\n**Overrides** \n[Parser\\\u003cT\\\u003e.getItem()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_getItem__)\n\n### spannerParse()\n\n protected String spannerParse()\n\nUsed to parse data type onto spanner format. Override this to change spanner representation.\n\n**Overrides** \n[Parser\\\u003cT\\\u003e.spannerParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_spannerParse__)\n\n### stringParse()\n\n public String stringParse()\n\nUsed to parse data type into string. Override this to change the string representation.\n\n**Overrides** \n[Parser\\\u003cT\\\u003e.stringParse()](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.parsers.Parser#com_google_cloud_spanner_pgadapter_parsers_Parser_stringParse__)"]]