Esempio n. 1
0
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.ID,
       new org.apache.thrift.meta_data.FieldMetaData(
           "id",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I64)));
   tmpMap.put(
       _Fields.FLAGS,
       new org.apache.thrift.meta_data.FieldMetaData(
           "flags",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.PARTITION,
       new org.apache.thrift.meta_data.FieldMetaData(
           "partition",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.BYTE)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FileHandle.class, metaDataMap);
 }
Esempio n. 2
0
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.PATH,
       new org.apache.thrift.meta_data.FieldMetaData(
           "path",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.STRING)));
   tmpMap.put(
       _Fields.MODE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "mode",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.UID,
       new org.apache.thrift.meta_data.FieldMetaData(
           "uid",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.GID,
       new org.apache.thrift.meta_data.FieldMetaData(
           "gid",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.PARENT_PARTITION,
       new org.apache.thrift.meta_data.FieldMetaData(
           "parentPartition",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.SetMetaData(
               org.apache.thrift.protocol.TType.SET,
               new org.apache.thrift.meta_data.FieldValueMetaData(
                   org.apache.thrift.protocol.TType.BYTE))));
   tmpMap.put(
       _Fields.PARTITION,
       new org.apache.thrift.meta_data.FieldMetaData(
           "partition",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.SetMetaData(
               org.apache.thrift.protocol.TType.SET,
               new org.apache.thrift.meta_data.FieldValueMetaData(
                   org.apache.thrift.protocol.TType.BYTE))));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(MkdirCmd.class, metaDataMap);
 }
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.MESSAGE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "message",
           org.apache.thrift.TFieldRequirementType.REQUIRED,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(
       ThriftDifferentStreamDefinitionAlreadyDefinedException.class, metaDataMap);
 }
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.MESSAGE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "message",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(
       AuthenticationException.class, metaDataMap);
 }
Esempio n. 5
0
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.ERROR_CODE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "errorCode",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.ERROR_MSG,
       new org.apache.thrift.meta_data.FieldMetaData(
           "errorMsg",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.STRING)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FSError.class, metaDataMap);
 }
Esempio n. 6
0
 static {
   Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap =
       new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
   tmpMap.put(
       _Fields.INODE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "inode",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I64)));
   tmpMap.put(
       _Fields.MODE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "mode",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.NLINK,
       new org.apache.thrift.meta_data.FieldMetaData(
           "nlink",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.UID,
       new org.apache.thrift.meta_data.FieldMetaData(
           "uid",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.GID,
       new org.apache.thrift.meta_data.FieldMetaData(
           "gid",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.RDEV,
       new org.apache.thrift.meta_data.FieldMetaData(
           "rdev",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.ATIME,
       new org.apache.thrift.meta_data.FieldMetaData(
           "atime",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.MTIME,
       new org.apache.thrift.meta_data.FieldMetaData(
           "mtime",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.CTIME,
       new org.apache.thrift.meta_data.FieldMetaData(
           "ctime",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I32)));
   tmpMap.put(
       _Fields.SIZE,
       new org.apache.thrift.meta_data.FieldMetaData(
           "size",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I64)));
   tmpMap.put(
       _Fields.BLOCKS,
       new org.apache.thrift.meta_data.FieldMetaData(
           "blocks",
           org.apache.thrift.TFieldRequirementType.DEFAULT,
           new org.apache.thrift.meta_data.FieldValueMetaData(
               org.apache.thrift.protocol.TType.I64)));
   metaDataMap = Collections.unmodifiableMap(tmpMap);
   org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Attr.class, metaDataMap);
 }