/projects/derby-10.9.1.0/db-derby-10.9.1.0-src/java/stubs/jdbc4/java/sql/Clob.java

https://gitlab.com/essere.lab.public/qualitas.class-corpus · Java · 35 lines · 17 code · 2 blank · 16 comment · 0 complexity · d12353aa62714881984b17aebb20f4dc MD5 · raw file

  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. package java.sql;
  18. public interface Clob
  19. {
  20. public void free() throws SQLException;
  21. public java.io.InputStream getAsciiStream() throws SQLException;
  22. public java.io.Reader getCharacterStream() throws SQLException;
  23. public java.io.Reader getCharacterStream(long pos, long length) throws SQLException;
  24. public String getSubString(long pos, int length) throws SQLException;
  25. public long length() throws SQLException;
  26. public long position(Clob searchstr, long start) throws SQLException;
  27. public long position(String searchstr, long start) throws SQLException;
  28. public java.io.OutputStream setAsciiStream(long pos) throws SQLException;
  29. public java.io.Writer setCharacterStream(long pos) throws SQLException;
  30. public int setString(long pos, String str) throws SQLException;
  31. public int setString(long pos, String str, int offset, int len) throws SQLException;
  32. public void truncate(long len) throws SQLException;
  33. }