Examples of findField()


Examples of edu.umd.cs.findbugs.ba.XClass.findField()

                return null;
            }
            ClassDescriptor[] interfaces = getInterfaceDescriptorList();
            for (ClassDescriptor implementedInterface : interfaces) {
                superClass = Global.getAnalysisCache().getClassAnalysis(XClass.class, implementedInterface);
                result = superClass.findField(name, signature, isStatic);
                if (result != null) {
                    return result;
                }
            }
            return null;
View Full Code Here

Examples of org.apache.commons.imaging.formats.tiff.write.TiffOutputDirectory.findField()

                final List<? extends IImageMetadataItem> entries = getItems();
                for (IImageMetadataItem entry : entries) {
                    final TiffImageMetadata.Item item = (TiffImageMetadata.Item) entry;
                    final TiffField srcField = item.getTiffField();

                    if (null != dstDir.findField(srcField.getTag())) {
                        // ignore duplicate tags in a directory.
                        continue;
                    } else if (srcField.getTagInfo().isOffset()) {
                        // ignore offset fields.
                        continue;
View Full Code Here

Examples of org.apache.pig.experimental.logical.relational.LogicalSchema.findField()

                return false;
            }
           
            Set<Integer> cols = new HashSet<Integer>();
            for(long uid: output) {
                int col = s.findField(uid);
                if (col < 0) {
                    throw new RuntimeException("Uid " + uid + " is not in the schema of " + op.getName());
                }
                cols.add(col);
            }
View Full Code Here

Examples of org.apache.pig.experimental.logical.relational.LogicalSchema.findField()

                             input.add(fuid);
                         }

                         boolean found = false;
                         for(long uid: input) {
                             if (fschema.findField(uid) != -1) {
                                 found = true;
                                 break;
                             }
                         }
                        
View Full Code Here

Examples of org.apache.pig.experimental.logical.relational.LogicalSchema.findField()

                    if (inputUids != null) {
                        Iterator<Long> iter = inputUids.iterator();
                        while(iter.hasNext()) {
                            long uid = iter.next();
                           
                            if (s.findField(uid) != -1) {
                                uids.add(uid);
                            }
                        }
                    }
                }
View Full Code Here

Examples of org.apache.pig.experimental.logical.relational.LogicalSchema.findField()

       
        // check if a relational operator contains all of the specified uids
        private boolean hasAll(LogicalRelationalOperator op, Set<Long> uids) {
            LogicalSchema schema = op.getSchema();
            for(long uid: uids) {
                if (schema.findField(uid) == -1) {
                    return false;
                }
            }
           
            return true;
View Full Code Here

Examples of org.apache.pig.newplan.logical.relational.LogicalSchema.findField()

                    if (inputUids != null) {
                        Iterator<Long> iter = inputUids.iterator();
                        while(iter.hasNext()) {
                            long uid = iter.next();
                           
                            if (s.findField(uid) != -1) {
                                uids.add(uid);
                            }
                        }
                    }
                }
View Full Code Here

Examples of org.apache.pig.newplan.logical.relational.LogicalSchema.findField()

       
        // check if a relational operator contains all of the specified uids
        private boolean hasAll(LogicalRelationalOperator op, Set<Long> uids) throws FrontendException {
            LogicalSchema schema = op.getSchema();
            for(long uid: uids) {
                if (schema.findField(uid) == -1) {
                    return false;
                }
            }
           
            return true;
View Full Code Here

Examples of org.apache.pig.newplan.logical.relational.LogicalSchema.findField()

        private boolean hasAll(LogicalRelationalOperator op, Set<Long> uids) throws FrontendException {
            LogicalSchema schema = op.getSchema();
            if (schema==null)
                return false;
            for(long uid: uids) {
                if (schema.findField(uid) == -1) {
                    return false;
                }
            }
           
            return true;
View Full Code Here

Examples of org.apache.pig.newplan.logical.relational.LogicalSchema.findField()

        private boolean hasAll(LogicalRelationalOperator op, Set<Long> uids) throws FrontendException {
            LogicalSchema schema = op.getSchema();
            if (schema==null)
                return false;
            for(long uid: uids) {
                if (schema.findField(uid) == -1) {
                    return false;
                }
            }

            return true;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.