Codota Logo
StreamWrapper.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.postgresql.util.StreamWrapper
constructor

Best Java code snippets using org.postgresql.util.StreamWrapper.<init> (Showing top 20 results out of 315)

  • Common ways to obtain StreamWrapper
private void myMethod () {
StreamWrapper s =
  • Codota IconInputStream stream;new StreamWrapper(stream, length)
  • Codota Iconnew StreamWrapper(data, offset, length)
  • Smart code suggestions by Codota
}
origin: org.postgresql/postgresql

@Override
public void setText(int index, InputStream stream) throws SQLException {
 bind(index, new StreamWrapper(stream), Oid.TEXT, TEXT);
}
origin: org.postgresql/postgresql

@Override
public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
 bind(index, new StreamWrapper(data, offset, length), Oid.BYTEA, BINARY);
}
origin: org.postgresql/postgresql

@Override
public void setBytea(int index, InputStream stream, int length) throws SQLException {
 bind(index, new StreamWrapper(stream, length), Oid.BYTEA, BINARY);
}
origin: org.postgresql/postgresql

@Override
public void setBytea(int index, InputStream stream) throws SQLException {
 bind(index, new StreamWrapper(stream), Oid.BYTEA, BINARY);
}
origin: postgresql/postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  bind(index, new StreamWrapper(data, offset, length), Oid.BYTEA);
}
origin: postgresql/postgresql

public void setBytea(int index, InputStream stream, int length) throws SQLException {
  bind(index, new StreamWrapper(stream, length), Oid.BYTEA);
}
origin: postgresql/postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: postgresql/postgresql

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
origin: postgresql/postgresql

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
origin: postgresql/postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql

public void setBytea(int index, InputStream stream, int length) throws SQLException {
  bind(index, new StreamWrapper(stream, length), Oid.BYTEA);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  bind(index, new StreamWrapper(data, offset, length), Oid.BYTEA);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
origin: org.ancoron.postgresql/org.postgresql

public void setBytea(int index, byte[] data, int offset, int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(data, offset, length);
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public void setBytea(int index, final InputStream stream, final int length) throws SQLException {
  if (index < 1 || index > paramValues.length)
    throw new PSQLException(GT.tr("The column index is out of range: {0}, number of columns: {1}.", new Object[]{new Integer(index), new Integer(paramValues.length)}), PSQLState.INVALID_PARAMETER_VALUE );
  paramValues[index - 1] = new StreamWrapper(stream, length);
}
org.postgresql.utilStreamWrapper<init>

Popular methods of StreamWrapper

  • getBytes
  • getLength
  • getOffset
  • getStream
  • copyStream

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now