程序包 gu.sql2java

类 BaseColumnStore

java.lang.Object
gu.sql2java.store.BaseURLStore
gu.sql2java.BaseColumnStore
所有已实现的接口:
gu.sql2java.store.URLStore, URLStreamHandlerFactory
直接已知子类:
BinaryStoreTable

public class BaseColumnStore extends gu.sql2java.store.BaseURLStore
  • 字段详细资料

    • tablename

      protected final String tablename
    • storeColumn

      protected final String storeColumn
    • manager

      protected final gu.sql2java.TableManager<gu.sql2java.BaseBean> manager
    • metaData

      protected final gu.sql2java.RowMetaData metaData
    • storeColumnType

      protected final Class<?> storeColumnType
    • protocol

      protected final String protocol
    • extensionId

      protected final int extensionId
    • mimeId

      protected final int mimeId
    • PKS

      protected static final String PKS
      另请参阅:
  • 构造器详细资料

    • BaseColumnStore

      public BaseColumnStore(String tablename, String storeColumn, String extensionColumn, String mimeColumn)
  • 方法详细资料

    • getProtocol

      public String getProtocol()
    • primaryKeysOf

      protected Object[] primaryKeysOf(String md5, String extension)
    • pathOf

      protected final String pathOf(String suffix, Object... primaryKeys)
    • makeURL

      protected final URL makeURL(String suffix, Object... primaryKeys)
    • getExtension

      protected String getExtension(gu.sql2java.BaseBean bean)
      从数据库记录中获取当前数据的扩展名
      参数:
      bean - 数据库记录(不为null)
      返回:
      扩展名
    • getMime

      protected String getMime(gu.sql2java.BaseBean bean)
      从数据库记录中获取当前数据的MIME类型
      参数:
      bean - 数据库记录(不为null)
      返回:
      MIME类型
    • fillStoreBean

      protected final void fillStoreBean(gu.sql2java.BaseBean bean, byte[] binary, String extension)
    • doStore

      protected URL doStore(byte[] binary, String md5, String extension, boolean overwrite, boolean makeURLOnly) throws IOException
      指定者:
      doStore 在类中 gu.sql2java.store.BaseURLStore
      抛出:
      IOException
    • doFind

      protected URL doFind(String md5)
      指定者:
      doFind 在类中 gu.sql2java.store.BaseURLStore
    • doExists

      protected boolean doExists(URL storedURL)
      指定者:
      doExists 在类中 gu.sql2java.store.BaseURLStore
    • doDelete

      protected boolean doDelete(URL storedURL) throws IOException
      指定者:
      doDelete 在类中 gu.sql2java.store.BaseURLStore
      抛出:
      IOException
    • doGetURLStreamHandler

      protected URLStreamHandler doGetURLStreamHandler()
      指定者:
      doGetURLStreamHandler 在类中 gu.sql2java.store.BaseURLStore
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 gu.sql2java.store.BaseURLStore
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 gu.sql2java.store.BaseURLStore
    • toString

      public String toString()
      覆盖:
      toString 在类中 gu.sql2java.store.BaseURLStore