Package com.mapr.db.mapreduce.tools
Class DiffTablesMeta
- java.lang.Object
-
- org.apache.hadoop.conf.Configured
-
- com.mapr.db.mapreduce.tools.DiffTablesMeta
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
public class DiffTablesMeta extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
-
-
Field Summary
Fields Modifier and Type Field Description static intDIFFERENT_METADATA_RETstatic intMETATYPE_ACESstatic intMETATYPE_ALLstatic intMETATYPE_ATTRSstatic intMETATYPE_CFSstatic intMETATYPE_NONEstatic java.lang.StringNAMEstatic intSAME_METADATA_RET
-
Constructor Summary
Constructors Constructor Description DiffTablesMeta(boolean callFromDiffTables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancompareTableMeta(java.lang.String src, java.lang.String dst, int metaTypeMask)static voidmain(java.lang.String[] args)intrun(java.lang.String[] args)
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
METATYPE_NONE
public static final int METATYPE_NONE
- See Also:
- Constant Field Values
-
METATYPE_CFS
public static final int METATYPE_CFS
- See Also:
- Constant Field Values
-
METATYPE_ACES
public static final int METATYPE_ACES
- See Also:
- Constant Field Values
-
METATYPE_ATTRS
public static final int METATYPE_ATTRS
- See Also:
- Constant Field Values
-
METATYPE_ALL
public static final int METATYPE_ALL
- See Also:
- Constant Field Values
-
SAME_METADATA_RET
public static final int SAME_METADATA_RET
- See Also:
- Constant Field Values
-
DIFFERENT_METADATA_RET
public static final int DIFFERENT_METADATA_RET
- See Also:
- Constant Field Values
-
-
Method Detail
-
compareTableMeta
public static boolean compareTableMeta(java.lang.String src, java.lang.String dst, int metaTypeMask) throws java.lang.Exception- Throws:
java.lang.Exception
-
run
public int run(java.lang.String[] args) throws java.lang.Exception- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-