Utils$Version.compatibleWith
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.hadoop.io.file.tfile.Utils$Version.compatibleWith(Showing top 10 results out of 315)

  • Common ways to obtain Utils$Version
private void myMethod () {
Utils$Version u =
  • DataInput in;new Version(in)
  • Smart code suggestions by Codota
}
origin: com.facebook.presto.hadoop/hadoop-cdh4

public TFileMeta(DataInput in) throws IOException {
 version = new Version(in);
 if (!version.compatibleWith(TFile.API_VERSION)) {
  throw new RuntimeException("Incompatible TFile fileVersion.");
 }
 recordCount = Utils.readVLong(in);
 strComparator = Utils.readString(in);
 comparator = makeComparator(strComparator);
}
origin: apache/apex-malhar

public TFileMeta(DataInput in) throws IOException {
 version = new Version(in);
 if (!version.compatibleWith(DTFile.API_VERSION)) {
  throw new RuntimeException("Incompatible TFile fileVersion.");
 }
 recordCount = Utils.readVLong(in);
 strComparator = Utils.readString(in);
 comparator = makeComparator(strComparator);
}
origin: com.facebook.presto.hadoop/hadoop-cdh4

Magic.readAndVerify(fin);
if (!version.compatibleWith(BCFile.API_VERSION)) {
 throw new RuntimeException("Incompatible BCFile fileBCFileVersion.");
origin: org.apache.apex/malhar-library

Magic.readAndVerify(fin);
if (!version.compatibleWith(DTBCFile.API_VERSION)) {
 throw new RuntimeException("Incompatible BCFile fileBCFileVersion.");
origin: com.facebook.hadoop/hadoop-core

public TFileMeta(DataInput in) throws IOException {
 version = new Version(in);
 if (!version.compatibleWith(TFile.API_VERSION)) {
  throw new RuntimeException("Incompatible TFile fileVersion.");
 }
 recordCount = Utils.readVLong(in);
 strComparator = Utils.readString(in);
 comparator = makeComparator(strComparator);
}
origin: io.hops/hadoop-common

public TFileMeta(DataInput in) throws IOException {
 version = new Version(in);
 if (!version.compatibleWith(TFile.API_VERSION)) {
  throw new RuntimeException("Incompatible TFile fileVersion.");
 }
 recordCount = Utils.readVLong(in);
 strComparator = Utils.readString(in);
 comparator = makeComparator(strComparator);
}
origin: org.apache.apex/malhar-library

public TFileMeta(DataInput in) throws IOException {
 version = new Version(in);
 if (!version.compatibleWith(DTFile.API_VERSION)) {
  throw new RuntimeException("Incompatible TFile fileVersion.");
 }
 recordCount = Utils.readVLong(in);
 strComparator = Utils.readString(in);
 comparator = makeComparator(strComparator);
}
origin: com.facebook.hadoop/hadoop-core

Magic.readAndVerify(fin);
if (!version.compatibleWith(BCFile.API_VERSION)) {
 throw new RuntimeException("Incompatible BCFile fileBCFileVersion.");
origin: io.hops/hadoop-common

Magic.readAndVerify(fin);
if (!version.compatibleWith(BCFile.API_VERSION)) {
 throw new RuntimeException("Incompatible BCFile fileBCFileVersion.");
origin: apache/apex-malhar

Magic.readAndVerify(fin);
if (!version.compatibleWith(DTBCFile.API_VERSION)) {
 throw new RuntimeException("Incompatible BCFile fileBCFileVersion.");
org.apache.hadoop.io.file.tfileUtils$VersioncompatibleWith

Javadoc

Test compatibility.

Popular methods of Utils$Version

  • <init>
    Constructor.
  • size
    Get the size of the serialized Version object.
  • toString
    Return a string representation of the version.
  • write
    Write the objec to a DataOutput. The serialized format of the Version is major version followed by m
  • compareTo
    Compare this version with another version.

Popular classes and methods

  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • FlowLayout (java.awt)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Path (java.nio.file)
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)