Package com.foundationdb.qp.row

Examples of com.foundationdb.qp.row.ValuesRow


            @Override
            public Row next() {
                if (rowCounter != 0) {
                    return null;
                }
                return new ValuesRow(rowType,
                        getJMXAttribute (mbeanName, "AlertLevel"),
                        getJMXAttribute (mbeanName, "WarnLogTimeInterval"),
                        getJMXAttribute (mbeanName, "ErrorLogTimeInterval"),
                        getJMXAttribute (mbeanName, "HistoryLength"),
                        ++rowCounter);
View Full Code Here


                    return null;
                }
                if (rowCounter >= bufferPools.length) {
                    return null;
                }
                return new ValuesRow(rowType,
                        bufferPools[bufferPoolCounter].getBufferSize(),
                        bufferPools[bufferPoolCounter].getBufferCount(),
                        bufferPools[bufferPoolCounter].getValidPageCount(),
                        bufferPools[bufferPoolCounter].getDirtyPageCount(),
                        bufferPools[bufferPoolCounter].getReaderClaimedPageCount(),
View Full Code Here

            @Override
            public Row next() {
                if (rowCounter != 0) {
                    return null;
                }
                return new ValuesRow(rowType,
                            getJMXAttribute(mbeanName, "CheckpointInterval"),
                            ++rowCounter /* Hidden PK */);
            }
View Full Code Here

            @Override
            public Row next() {
                if (rowCounter != 0) {
                    return null;
                }
                return new ValuesRow(rowType,
                        getJMXAttribute(mbeanName, "AcceptedCount"),
                        getJMXAttribute(mbeanName, "RefusedCount"),
                        getJMXAttribute(mbeanName, "PerformedCount"),
                        getJMXAttribute(mbeanName, "ErrorCount"),
                        getJMXAttribute(mbeanName, "EnqueuedCount"),
View Full Code Here

            @Override
            public Row next() {
                if (rowCounter != 0) {
                    return null;
                }
                return new ValuesRow(rowType,
                        getJMXAttribute(mbeanName, "IoRate"),
                        getJMXAttribute(mbeanName, "QuiescentIOthreshold"),
                        getJMXAttribute(mbeanName, "LogFile"),
                        ++rowCounter);
            }
View Full Code Here

            public Row next() {
                if (rowCounter >= IOMeterMXBean.OPERATIONS.length - 1) {
                    return null;
                }
                parameter.set(0, IOMeterMXBean.OPERATIONS[(int)rowCounter+1]);
                return new ValuesRow(rowType,
                        IOMeterMXBean.OPERATION_NAMES[(int)rowCounter+1],
                        getJMXInvoke (mbeanName, "totalBytes", parameter.toArray()),
                        getJMXInvoke (mbeanName, "totalOperations", parameter.toArray()),
                        ++rowCounter);
            }
View Full Code Here

                while(it.hasNext()) {
                    Routine routine = it.next();
                    if(isAccessible(session, routine.getName())) {
                        String routineType = (routine.getName().inSystemSchema() ? "SYSTEM " : "") +
                                             (routine.isProcedure() ? "PROCEDURE" : "FUNCTION");
                        return new ValuesRow(rowType,
                                            null,
                                             routine.getName().getSchemaName(),
                                             routine.getName().getTableName(),
                                            null,
                                             routine.getName().getSchemaName(),
View Full Code Here

                } else if (param.getType().hasAttributes(DecimalAttribute.class)) {
                    precision = (long)param.getType().attribute(DecimalAttribute.PRECISION);
                    scale = (long)param.getType().attribute(DecimalAttribute.SCALE);
                    radix = 10L;
                }
                return new ValuesRow(rowType,
                                    null, //Routine catalog
                                     param.getRoutine().getName().getSchemaName(),
                                     param.getRoutine().getName().getTableName(),
                                     param.getName(),
                                     ordinal,
View Full Code Here

            @Override
            public Row next() {
                while(it.hasNext()) {
                    SQLJJar jar = it.next();
                    if(isAccessible(session, jar.getName())) {
                        return new ValuesRow(rowType,
                                            null, //jar catalog
                                             jar.getName().getSchemaName(),
                                             jar.getName().getTableName(),
                                             jar.getURL().toExternalForm(),
                                             ++rowCounter /*hidden pk*/);
 
View Full Code Here

            @Override
            public Row next() {
                while(it.hasNext()) {
                    Schema schema = it.next();
                    if(isAccessible(session, schema.getName())) {
                        return new ValuesRow(rowType,
                                            null,        // catalog
                                             schema.getName(),
                                             null,              // owner
                                             null,null, null,   // default charset catalog/schema/name
                                             null,              // sql path
View Full Code Here

TOP

Related Classes of com.foundationdb.qp.row.ValuesRow

Copyright © 2018 www.massapicom. 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.