Send feedback
Interface CopyInParser (0.6.1)
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.1 keyboard_arrow_down
public interface CopyInParser
Common interface for parsers that implement one or more of the PostgreSQL COPY formats.
Static Methods
public static CopyInParser create ( CopyTreeParser . CopyOptions . Format format , CSVFormat csvFormat , PipedOutputStream payload , int pipeBufferSize , boolean hasHeader )
Creates a CopyInParser for the given format. The csvFormat argument is only required
for non-binary formats.
Parameters
Returns
Exceptions
createDefaultTimestampUtils()
public static TimestampUtils createDefaultTimestampUtils ()
Returns
Type Description org.postgresql.jdbc.TimestampUtils
Methods
close()
public abstract void close ()
Closes this parser and releases any resources associated with it.
Exceptions
iterator()
public abstract Iterator<CopyRecord> iterator ()
Returns an iterator of COPY records.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[],[]]