예제 #1
0
파일: Stat.cs 프로젝트: orf53975/hadoop.net
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Stat), "-stat");
 }
예제 #2
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(FsUsage.DF), "-df");
     factory.AddClass(typeof(FsUsage.DU), "-du");
     factory.AddClass(typeof(FsUsage.Dus), "-dus");
 }
예제 #3
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Test), "-test");
 }
예제 #4
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SnapshotCommands.CreateSnapshot), "-" + CreateSnapshot);
     factory.AddClass(typeof(SnapshotCommands.DeleteSnapshot), "-" + DeleteSnapshot);
     factory.AddClass(typeof(SnapshotCommands.RenameSnapshot), "-" + RenameSnapshot);
 }
예제 #5
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(XAttrCommands.GetfattrCommand), "-" + GetFattr);
     factory.AddClass(typeof(XAttrCommands.SetfattrCommand), "-" + SetFattr);
 }
예제 #6
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Mkdir), "-mkdir");
 }
예제 #7
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Touch.Touchz), "-touchz");
 }
예제 #8
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SetReplication), "-setrep");
 }
예제 #9
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(MoveCommands.MoveFromLocal), "-moveFromLocal");
     factory.AddClass(typeof(MoveCommands.MoveToLocal), "-moveToLocal");
     factory.AddClass(typeof(MoveCommands.Rename), "-mv");
 }
예제 #10
0
파일: Ls.cs 프로젝트: orf53975/hadoop.net
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(LS), "-ls");
     factory.AddClass(typeof(LS.Lsr), "-lsr");
 }
예제 #11
0
 /// <summary>sets the command factory for later use</summary>
 public virtual void SetCommandFactory(CommandFactory factory)
 {
     this.commandFactory = factory;
 }