org.postgresql.core.v3.TypeTransferModeRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgresql Show documentation
Show all versions of postgresql Show documentation
PostgreSQL JDBC Driver Postgresql
/*
* Copyright (c) 2003, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.core.v3;
public interface TypeTransferModeRegistry {
/**
* Returns if given oid should be sent in binary format.
* @param oid type oid
* @return true if given oid should be sent in binary format
*/
boolean useBinaryForSend(int oid);
/**
* Returns if given oid should be received in binary format.
* @param oid type oid
* @return true if given oid should be received in binary format
*/
boolean useBinaryForReceive(int oid);
}