Codota Logo
FileHeader.getMetaData
Code IndexAdd Codota to your IDE (free)

How to use
getMetaData
method
in
de.huxhorn.sulky.codec.filebuffer.FileHeader

Best Java code snippets using de.huxhorn.sulky.codec.filebuffer.FileHeader.getMetaData (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.engine

public FileBuffer<EventWrapper<T>> createBuffer(File dataFile, File indexFile, Map<String, String> usedMetaData)
{
  if(logger.isInfoEnabled()) logger.info("Creating buffer for dataFile '{}'.", dataFile.getAbsolutePath());
  CodecFileBuffer<EventWrapper<T>> result = new CodecFileBuffer<>(magicValue, false, usedMetaData, null, dataFile, indexFile);
  FileHeader fileHeader = result.getFileHeader();
  MetaData actualMetaData = fileHeader.getMetaData();
  result.setCodec(resolveCodec(actualMetaData));
  if(logger.isDebugEnabled()) logger.debug("Created file buffer: {}", result);
  return result;
}
origin: de.huxhorn.sulky/de.huxhorn.sulky.codec.filebuffer

  private void setFileHeader(FileHeader fileHeader)
  {
    lock.lock();
    try
    {
      MetaData metaData = fileHeader.getMetaData();
      if(metaData.isSparse())
      {
        dataStrategy = new SparseDataStrategy<>();
      }
      else
      {
        dataStrategy = new DefaultDataStrategy<>();
      }
      this.fileHeader = fileHeader;
    }
    finally
    {
      lock.unlock();
    }
  }
}
origin: huxi/sulky

  private void setFileHeader(FileHeader fileHeader)
  {
    lock.lock();
    try
    {
      MetaData metaData = fileHeader.getMetaData();
      if(metaData.isSparse())
      {
        dataStrategy = new SparseDataStrategy<>();
      }
      else
      {
        dataStrategy = new DefaultDataStrategy<>();
      }
      this.fileHeader = fileHeader;
    }
    finally
    {
      lock.unlock();
    }
  }
}
origin: de.huxhorn.sulky/de.huxhorn.sulky.codec.filebuffer

private void setFileHeader(FileHeader fileHeader)
{
  MetaData metaData = fileHeader.getMetaData();
  if(metaData.isSparse())
  {
    dataStrategy = new SparseDataStrategy<>();
  }
  else
  {
    dataStrategy = new DefaultDataStrategy<>();
  }
  this.fileHeader = fileHeader;
}
origin: huxi/sulky

private void setFileHeader(FileHeader fileHeader)
{
  MetaData metaData = fileHeader.getMetaData();
  if(metaData.isSparse())
  {
    dataStrategy = new SparseDataStrategy<>();
  }
  else
  {
    dataStrategy = new DefaultDataStrategy<>();
  }
  this.fileHeader = fileHeader;
}
de.huxhorn.sulky.codec.filebufferFileHeadergetMetaData

Popular methods of FileHeader

  • <init>
  • getDataOffset
  • getMagicValue

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • JTable (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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