[[["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,["# Interface CopyInParser (0.27.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.27.1 (latest)](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.27.0](/java/docs/reference/pgadapter/0.27.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.26.0](/java/docs/reference/pgadapter/0.26.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.25.0](/java/docs/reference/pgadapter/0.25.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.24.0](/java/docs/reference/pgadapter/0.24.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.23.1](/java/docs/reference/pgadapter/0.23.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.22.1](/java/docs/reference/pgadapter/0.22.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.21.0](/java/docs/reference/pgadapter/0.21.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.20.0](/java/docs/reference/pgadapter/0.20.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.19.1](/java/docs/reference/pgadapter/0.19.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.18.4](/java/docs/reference/pgadapter/0.18.4/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.17.0](/java/docs/reference/pgadapter/0.17.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.16.0](/java/docs/reference/pgadapter/0.16.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.15.0](/java/docs/reference/pgadapter/0.15.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.14.1](/java/docs/reference/pgadapter/0.14.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.9.0](/java/docs/reference/pgadapter/0.9.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.8.0](/java/docs/reference/pgadapter/0.8.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.7.0](/java/docs/reference/pgadapter/0.7.0/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.6.1](/java/docs/reference/pgadapter/0.6.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser)\n- [0.5.1](/java/docs/reference/pgadapter/0.5.1/com.google.cloud.spanner.pgadapter.utils.CopyInParser) \n\n public interface CopyInParser\n\nCommon interface for parsers that implement one or more of the PostgreSQL COPY formats.\n\nStatic Methods\n--------------\n\n### create(SessionState sessionState, CopyStatement.Format format, CSVFormat csvFormat, PipedInputStream inputStream, boolean hasHeader)\n\n public static CopyInParser create(SessionState sessionState, CopyStatement.Format format, CSVFormat csvFormat, PipedInputStream inputStream, boolean hasHeader)\n\nCreates a [CopyInParser](/java/docs/reference/pgadapter/latest/com.google.cloud.spanner.pgadapter.utils.CopyInParser) for the given format. The csvFormat argument is only required\nfor non-binary formats.\n\nMethods\n-------\n\n### close()\n\n public abstract void close()\n\nCloses this parser and releases any resources associated with it.\n\n### iterator()\n\n public abstract Iterator\u003cCopyRecord\u003e iterator()\n\nReturns an iterator of COPY records."]]