public class DeprecationUtil extends Object
This class will never be public API and methods will be removed as soon as they are no longer needed. No methods in this class will, themselves, be deprecated, because that would propagate the deprecation warning we are trying to avoid.
This class should not be used as a substitute for deprecated classes. It should only be used for implementation code which must remain to support the deprecated features, and only until that feature is removed.
Constructor and Description |
---|
DeprecationUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isMockInstance(Instance instance) |
static boolean |
isMockInstanceSet(RangeInputSplit split) |
static Instance |
makeMockInstance(String instance) |
static TabletLocator |
makeMockLocator() |
static void |
setMockInstance(RangeInputSplit split,
boolean isMockInstance) |
public static boolean isMockInstance(Instance instance)
public static void setMockInstance(RangeInputSplit split, boolean isMockInstance)
public static boolean isMockInstanceSet(RangeInputSplit split)
public static TabletLocator makeMockLocator()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.