@Test public void testHasLogBlockLength() { assertFalse(verDefault.hasLogBlockLength()); assertTrue(verCurrent.hasLogBlockLength()); HoodieLogFormatVersion verNew = new HoodieLogFormatVersion(HoodieLogFormat.CURRENT_VERSION + 1); assertFalse(verNew.hasLogBlockLength()); }
@Override public boolean hasLogBlockLength() { switch (super.getVersion()) { case DEFAULT_VERSION: return false; case 1: return true; default: return false; } }
HoodieLogFormatVersion extends HoodieLogFormat.LogFormatVersion { @Override public boolean hasLogBlockLength() { switch (super.getVersion()) { case DEFAULT_VERSION: return false; case 1: return true; default: return false; } } }
HoodieLogFormatVersion extends HoodieLogFormat.LogFormatVersion { @Override public boolean hasLogBlockLength() { switch (super.getVersion()) { case DEFAULT_VERSION: return false; case 1: return true; default: return false; } } HoodieLogFormatVersion(int version); }
HoodieLogFormatVersion extends HoodieLogFormat.LogFormatVersion { @Override public boolean hasLogBlockLength() { switch (super.getVersion()) { case DEFAULT_VERSION: return false; case 1: return true; default: return false; } } HoodieLogFormatVersion(int version); @Override boolean hasMagicHeader(); @Override boolean hasContent(); @Override boolean hasContentLength(); @Override boolean hasOrdinal(); @Override boolean hasHeader(); @Override boolean hasFooter(); @Override boolean hasLogBlockLength(); }
HoodieLogFormatVersion extends HoodieLogFormat.LogFormatVersion { @Override public boolean hasLogBlockLength() { switch (super.getVersion()) { case DEFAULT_VERSION: return false; case 1: return true; default: return false; } } HoodieLogFormatVersion(int version); @Override boolean hasMagicHeader(); @Override boolean hasContent(); @Override boolean hasContentLength(); @Override boolean hasOrdinal(); @Override boolean hasHeader(); @Override boolean hasFooter(); @Override boolean hasLogBlockLength(); static final int DEFAULT_VERSION; }