Tabnine Logo
FsImageProto$INodeSection$INodeFile.getXAttrs
Code IndexAdd Tabnine to your IDE (free)

How to use
getXAttrs
method
in
org.apache.hadoop.hdfs.server.namenode.FsImageProto$INodeSection$INodeFile

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FsImageProto$INodeSection$INodeFile.getXAttrs (Showing top 14 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

mergeXAttrs(other.getXAttrs());
origin: org.apache.hadoop/hadoop-hdfs

  .o(INODE_SECTION_PERMISSION, dumpPermission(f.getPermission()));
if (f.hasXAttrs()) {
 dumpXattrs(f.getXAttrs());
origin: org.apache.hadoop/hadoop-hdfs

loadXAttrs(f.getXAttrs(), state.getStringTable())));
origin: ch.cern.hadoop/hadoop-hdfs

mergeXAttrs(other.getXAttrs());
origin: io.prestosql.hadoop/hadoop-apache

mergeXAttrs(other.getXAttrs());
origin: io.prestosql.hadoop/hadoop-apache

if (fileInPb.hasXAttrs()) {
 xAttrs = new XAttrFeature(FSImageFormatPBINode.Loader.loadXAttrs(
   fileInPb.getXAttrs(), state.getStringTable()));
origin: ch.cern.hadoop/hadoop-hdfs

if (fileInPb.hasXAttrs()) {
 xAttrs = new XAttrFeature(FSImageFormatPBINode.Loader.loadXAttrs(
   fileInPb.getXAttrs(), state.getStringTable()));
origin: ch.cern.hadoop/hadoop-hdfs

loadXAttrs(f.getXAttrs(), state.getStringTable())));
origin: io.prestosql.hadoop/hadoop-apache

loadXAttrs(f.getXAttrs(), state.getStringTable())));
origin: io.prestosql.hadoop/hadoop-apache

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 for (int i = 0; i < getBlocksCount(); i++) {
  if (!getBlocks(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 if (hasXAttrs()) {
  if (!getXAttrs().isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: ch.cern.hadoop/hadoop-hdfs

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 for (int i = 0; i < getBlocksCount(); i++) {
  if (!getBlocks(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 if (hasXAttrs()) {
  if (!getXAttrs().isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: org.apache.hadoop/hadoop-hdfs

if (fileInPb.hasXAttrs()) {
 xAttrs = new XAttrFeature(FSImageFormatPBINode.Loader.loadXAttrs(
   fileInPb.getXAttrs(), state.getStringTable()));
origin: org.apache.hadoop/hadoop-hdfs

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 for (int i = 0; i < getBlocksCount(); i++) {
  if (!getBlocks(i).isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 if (hasXAttrs()) {
  if (!getXAttrs().isInitialized()) {
   memoizedIsInitialized = 0;
   return false;
  }
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: org.apache.hadoop/hadoop-hdfs

private List<XAttr> getXAttrList(String path) throws IOException {
 long id = lookup(path);
 FsImageProto.INodeSection.INode inode = fromINodeId(id);
 switch (inode.getType()) {
 case FILE:
  return FSImageFormatPBINode.Loader.loadXAttrs(
    inode.getFile().getXAttrs(), stringTable);
 case DIRECTORY:
  return FSImageFormatPBINode.Loader.loadXAttrs(inode.getDirectory()
    .getXAttrs(), stringTable);
 default:
  return null;
 }
}
org.apache.hadoop.hdfs.server.namenodeFsImageProto$INodeSection$INodeFilegetXAttrs

Javadoc

optional .hadoop.hdfs.fsimage.INodeSection.XAttrFeatureProto xAttrs = 9;

Popular methods of FsImageProto$INodeSection$INodeFile

  • getBlocksCount
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getPermission
    optional fixed64 permission = 5;
  • getReplication
    optional uint32 replication = 1;
  • newBuilder
  • <init>
  • getAccessTime
    optional uint64 accessTime = 3;
  • getAcl
    optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;
  • getBlocks
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getBlocksList
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getDefaultInstance
  • getFileUC
    optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
  • getModificationTime
    optional uint64 modificationTime = 2;
  • getFileUC,
  • getModificationTime,
  • getPreferredBlockSize,
  • getSerializedSize,
  • getStoragePolicyID,
  • getUnknownFields,
  • hasAccessTime,
  • hasAcl,
  • hasFileUC

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now