CPD Results
The following document contains the results of PMD's CPD 4.3.
Duplications
File | Line |
---|---|
org/apache/accumulo/core/file/BloomFilterLayer.java | 403 |
org/apache/accumulo/core/file/BloomFilterLayerLookupTest.java | 40 |
public static void main(String[] args) throws IOException { PrintStream out = System.out; Random r = new Random(); HashSet<Integer> valsSet = new HashSet<Integer>(); for (int i = 0; i < 100000; i++) { valsSet.add(r.nextInt(Integer.MAX_VALUE)); } ArrayList<Integer> vals = new ArrayList<Integer>(valsSet); Collections.sort(vals); ConfigurationCopy acuconf = new ConfigurationCopy(AccumuloConfiguration.getDefaultConfiguration()); acuconf.set(Property.TABLE_BLOOM_ENABLED, "true"); acuconf.set(Property.TABLE_BLOOM_KEY_FUNCTOR, "accumulo.core.file.keyfunctor.ColumnFamilyFunctor"); acuconf.set(Property.TABLE_FILE_TYPE, RFile.EXTENSION); acuconf.set(Property.TABLE_BLOOM_LOAD_THRESHOLD, "1"); acuconf.set(Property.TSERV_BLOOM_LOAD_MAXCONCURRENT, "1"); Configuration conf = CachedConfiguration.getInstance(); FileSystem fs = FileSystem.get(conf); String suffix = FileOperations.getNewFileExtension(acuconf); String fname = "/tmp/test." + suffix; FileSKVWriter bmfw = FileOperations.getInstance().openWriter(fname, fs, conf, acuconf); long t1 = System.currentTimeMillis(); bmfw.startDefaultLocalityGroup(); for (Integer i : vals) { String fi = String.format("%010d", i); bmfw.append(new org.apache.accumulo.core.data.Key(new Text("r" + fi), new Text("cf1")), new Value(("v" + fi).getBytes())); bmfw.append(new org.apache.accumulo.core.data.Key(new Text("r" + fi), new Text("cf2")), new Value(("v" + fi).getBytes())); } long t2 = System.currentTimeMillis(); out.printf("write rate %6.2f%n", vals.size() / ((t2 - t1) / 1000.0)); bmfw.close(); t1 = System.currentTimeMillis(); FileSKVIterator bmfr = FileOperations.getInstance().openReader(fname, false, fs, conf, acuconf); t2 = System.currentTimeMillis(); out.println("Opened " + fname + " in " + (t2 - t1)); t1 = System.currentTimeMillis(); int hits = 0; for (int i = 0; i < 5000; i++) { int row = r.nextInt(Integer.MAX_VALUE); String fi = String.format("%010d", row); // bmfr.seek(new Range(new Text("r"+fi))); org.apache.accumulo.core.data.Key k1 = new org.apache.accumulo.core.data.Key(new Text("r" + fi), new Text("cf1")); bmfr.seek(new Range(k1, true, k1.followingKey(PartialKey.ROW_COLFAM), false), new ArrayList<ByteSequence>(), false); if (valsSet.contains(row)) { hits++; if (!bmfr.hasTop()) { out.println("ERROR " + row); } } } t2 = System.currentTimeMillis(); out.printf("random lookup rate : %6.2f%n", 5000 / ((t2 - t1) / 1000.0)); out.println("hits = " + hits); int count = 0; t1 = System.currentTimeMillis(); for (Integer row : valsSet) { String fi = String.format("%010d", row); // bmfr.seek(new Range(new Text("r"+fi))); org.apache.accumulo.core.data.Key k1 = new org.apache.accumulo.core.data.Key(new Text("r" + fi), new Text("cf1")); bmfr.seek(new Range(k1, true, k1.followingKey(PartialKey.ROW_COLFAM), false), new ArrayList<ByteSequence>(), false); if (!bmfr.hasTop()) { out.println("ERROR 2 " + row); } count++; if (count >= 500) { break; } } t2 = System.currentTimeMillis(); out.printf("existant lookup rate %6.2f%n", 500 / ((t2 - t1) / 1000.0)); out.println("expected hits 500. Receive hits: " + count); bmfr.close(); } } |
File | Line |
---|---|
org/apache/accumulo/core/data/Mutation.java | 310 |
org/apache/accumulo/core/data/OldMutation.java | 232 |
put(new Text(cf.toString()), new Text(cq.toString()), cv, hasts, ts, deleted, new Text(val.toString())); } public void put(Text columnFamily, Text columnQualifier, Value value) { put(columnFamily, columnQualifier, EMPTY_BYTES, false, 0l, false, value.get()); } public void put(Text columnFamily, Text columnQualifier, ColumnVisibility columnVisibility, Value value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), false, 0l, false, value.get()); } public void put(Text columnFamily, Text columnQualifier, long timestamp, Value value) { put(columnFamily, columnQualifier, EMPTY_BYTES, true, timestamp, false, value.get()); } public void put(Text columnFamily, Text columnQualifier, ColumnVisibility columnVisibility, long timestamp, Value value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), true, timestamp, false, value.get()); } public void putDelete(Text columnFamily, Text columnQualifier) { put(columnFamily, columnQualifier, EMPTY_BYTES, false, 0l, true, EMPTY_BYTES); } public void putDelete(Text columnFamily, Text columnQualifier, ColumnVisibility columnVisibility) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), false, 0l, true, EMPTY_BYTES); } public void putDelete(Text columnFamily, Text columnQualifier, long timestamp) { put(columnFamily, columnQualifier, EMPTY_BYTES, true, timestamp, true, EMPTY_BYTES); } public void putDelete(Text columnFamily, Text columnQualifier, ColumnVisibility columnVisibility, long timestamp) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), true, timestamp, true, EMPTY_BYTES); } public void put(CharSequence columnFamily, CharSequence columnQualifier, Value value) { put(columnFamily, columnQualifier, EMPTY_BYTES, false, 0l, false, value.get()); } public void put(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility, Value value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), false, 0l, false, value.get()); } public void put(CharSequence columnFamily, CharSequence columnQualifier, long timestamp, Value value) { put(columnFamily, columnQualifier, EMPTY_BYTES, true, timestamp, false, value.get()); } public void put(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility, long timestamp, Value value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), true, timestamp, false, value.get()); } public void putDelete(CharSequence columnFamily, CharSequence columnQualifier) { put(columnFamily, columnQualifier, EMPTY_BYTES, false, 0l, true, EMPTY_BYTES); } public void putDelete(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), false, 0l, true, EMPTY_BYTES); } public void putDelete(CharSequence columnFamily, CharSequence columnQualifier, long timestamp) { put(columnFamily, columnQualifier, EMPTY_BYTES, true, timestamp, true, EMPTY_BYTES); } public void putDelete(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility, long timestamp) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), true, timestamp, true, EMPTY_BYTES); } public void put(CharSequence columnFamily, CharSequence columnQualifier, CharSequence value) { put(columnFamily, columnQualifier, EMPTY_BYTES, false, 0l, false, value); } public void put(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility, CharSequence value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), false, 0l, false, value); } public void put(CharSequence columnFamily, CharSequence columnQualifier, long timestamp, CharSequence value) { put(columnFamily, columnQualifier, EMPTY_BYTES, true, timestamp, false, value); } public void put(CharSequence columnFamily, CharSequence columnQualifier, ColumnVisibility columnVisibility, long timestamp, CharSequence value) { put(columnFamily, columnQualifier, columnVisibility.getExpression(), true, timestamp, false, value); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18652 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19872 |
schemes.put(TupleScheme.class, new grantTablePermission_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public String principal; // required public String tableName; // required public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)5, "tinfo"), CREDENTIAL((short)1, "credential"), PRINCIPAL((short)2, "principal"), TABLE_NAME((short)3, "tableName"), PERMISSION((short)4, "permission"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 5: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; case 2: // PRINCIPAL return PRINCIPAL; case 3: // TABLE_NAME return TABLE_NAME; case 4: // PERMISSION return PERMISSION; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PERMISSION_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PERMISSION, new org.apache.thrift.meta_data.FieldMetaData("permission", 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(grantTablePermission_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18596 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19265 |
schemes.put(TupleScheme.class, new flushTablet_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public String lock; // required public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)1, "tinfo"), CREDENTIAL((short)2, "credential"), LOCK((short)3, "lock"), EXTENT((short)4, "extent"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TINFO return TINFO; case 2: // CREDENTIAL return CREDENTIAL; case 3: // LOCK return LOCK; case 4: // EXTENT return EXTENT; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flushTablet_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16615 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17633 |
schemes.put(TupleScheme.class, new grantSystemPermission_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public String principal; // required public byte permission; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)4, "tinfo"), CREDENTIAL((short)1, "credential"), PRINCIPAL((short)2, "principal"), PERMISSION((short)3, "permission"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 4: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; case 2: // PRINCIPAL return PRINCIPAL; case 3: // PERMISSION return PERMISSION; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PERMISSION_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PERMISSION, new org.apache.thrift.meta_data.FieldMetaData("permission", 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(grantSystemPermission_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloRowInputFormatTest.java | 60 |
org/apache/accumulo/core/client/mapreduce/AccumuloRowInputFormatTest.java | 57 |
private static final String ROW1 = "row1"; private static final String ROW2 = "row2"; private static final String ROW3 = "row3"; private static final String COLF1 = "colf1"; private static List<Entry<Key,Value>> row1; private static List<Entry<Key,Value>> row2; private static List<Entry<Key,Value>> row3; private static AssertionError e1 = null; private static AssertionError e2 = null; public AccumuloRowInputFormatTest() { row1 = new ArrayList<Entry<Key,Value>>(); row1.add(new KeyValue(new Key(ROW1, COLF1, "colq1"), "v1".getBytes())); row1.add(new KeyValue(new Key(ROW1, COLF1, "colq2"), "v2".getBytes())); row1.add(new KeyValue(new Key(ROW1, "colf2", "colq3"), "v3".getBytes())); row2 = new ArrayList<Entry<Key,Value>>(); row2.add(new KeyValue(new Key(ROW2, COLF1, "colq4"), "v4".getBytes())); row3 = new ArrayList<Entry<Key,Value>>(); row3.add(new KeyValue(new Key(ROW3, COLF1, "colq5"), "v5".getBytes())); } public static void checkLists(final List<Entry<Key,Value>> first, final List<Entry<Key,Value>> second) { assertEquals("Sizes should be the same.", first.size(), second.size()); for (int i = 0; i < first.size(); i++) { assertEquals("Keys should be equal.", first.get(i).getKey(), second.get(i).getKey()); assertEquals("Values should be equal.", first.get(i).getValue(), second.get(i).getValue()); } } public static void checkLists(final List<Entry<Key,Value>> first, final Iterator<Entry<Key,Value>> second) { int entryIndex = 0; while (second.hasNext()) { final Entry<Key,Value> entry = second.next(); assertEquals("Keys should be equal", first.get(entryIndex).getKey(), entry.getKey()); assertEquals("Values should be equal", first.get(entryIndex).getValue(), entry.getValue()); entryIndex++; } } public static void insertList(final BatchWriter writer, final List<Entry<Key,Value>> list) throws MutationsRejectedException { for (Entry<Key,Value> e : list) { final Key key = e.getKey(); final Mutation mutation = new Mutation(key.getRow()); ColumnVisibility colVisibility = new ColumnVisibility(key.getColumnVisibility()); mutation.put(key.getColumnFamily(), key.getColumnQualifier(), colVisibility, key.getTimestamp(), e.getValue()); writer.addMutation(mutation); } } private static class MRTester extends Configured implements Tool { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/InputFormatBase.java | 658 |
org/apache/accumulo/core/client/mapreduce/InputFormatBase.java | 681 |
Connector conn = instance.getConnector(getUsername(job), getPassword(job)); String tableId = Tables.getTableId(instance, tableName); if (Tables.getTableState(instance, tableId) != TableState.OFFLINE) { Tables.clearCache(instance); if (Tables.getTableState(instance, tableId) != TableState.OFFLINE) { throw new AccumuloException("Table is online " + tableName + "(" + tableId + ") cannot scan table in offline mode "); } } for (Range range : ranges) { Text startRow; if (range.getStartKey() != null) startRow = range.getStartKey().getRow(); else startRow = new Text(); Range metadataRange = new Range(new KeyExtent(new Text(tableId), startRow, null).getMetadataEntry(), true, null, false); Scanner scanner = conn.createScanner(Constants.METADATA_TABLE_NAME, Constants.NO_AUTHS); Constants.METADATA_PREV_ROW_COLUMN.fetch(scanner); scanner.fetchColumnFamily(Constants.METADATA_LAST_LOCATION_COLUMN_FAMILY); scanner.fetchColumnFamily(Constants.METADATA_CURRENT_LOCATION_COLUMN_FAMILY); scanner.fetchColumnFamily(Constants.METADATA_FUTURE_LOCATION_COLUMN_FAMILY); scanner.setRange(metadataRange); RowIterator rowIter = new RowIterator(scanner); // TODO check that extents match prev extent KeyExtent lastExtent = null; while (rowIter.hasNext()) { Iterator<Entry<Key,Value>> row = rowIter.next(); String last = ""; KeyExtent extent = null; String location = null; while (row.hasNext()) { Entry<Key,Value> entry = row.next(); Key key = entry.getKey(); if (key.getColumnFamily().equals(Constants.METADATA_LAST_LOCATION_COLUMN_FAMILY)) { last = entry.getValue().toString(); } if (key.getColumnFamily().equals(Constants.METADATA_CURRENT_LOCATION_COLUMN_FAMILY) || key.getColumnFamily().equals(Constants.METADATA_FUTURE_LOCATION_COLUMN_FAMILY)) { location = entry.getValue().toString(); } if (Constants.METADATA_PREV_ROW_COLUMN.hasColumns(key)) { extent = new KeyExtent(key.getRow(), entry.getValue()); } } if (location != null) return null; if (!extent.getTableId().toString().equals(tableId)) { throw new AccumuloException("Saw unexpected table Id " + tableId + " " + extent); } if (lastExtent != null && !extent.isPreviousExtent(lastExtent)) { throw new AccumuloException(" " + lastExtent + " is not previous extent " + extent); } Map<KeyExtent,List<Range>> tabletRanges = binnedRanges.get(last); if (tabletRanges == null) { tabletRanges = new HashMap<KeyExtent,List<Range>>(); binnedRanges.put(last, tabletRanges); } List<Range> rangeList = tabletRanges.get(extent); if (rangeList == null) { rangeList = new ArrayList<Range>(); tabletRanges.put(extent, rangeList); } rangeList.add(range); if (extent.getEndRow() == null || range.afterEndKey(new Key(extent.getEndRow()).followingKey(PartialKey.ROW))) { break; } lastExtent = extent; } } return binnedRanges; } /** * Read the metadata table to get tablets and match up ranges to them. */ @Override public InputSplit[] getSplits(JobConf job, int numSplits) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17750 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19974 |
case 2: // TABLE_ID return TABLE_ID; case 5: // START_ROW return START_ROW; case 6: // END_ROW return END_ROW; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TABLE_ID, new org.apache.thrift.meta_data.FieldMetaData("tableId", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(flush_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16306 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17426 |
schemes.put(TupleScheme.class, new waitForTableOperation_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public long opid; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)3, "tinfo"), CREDENTIAL((short)1, "credential"), OPID((short)2, "opid"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 3: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; case 2: // OPID return OPID; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __OPID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.OPID, new org.apache.thrift.meta_data.FieldMetaData("opid", 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(waitForTableOperation_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10183 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13102 |
schemes.put(TupleScheme.class, new dropUser_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public String principal; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)3, "tinfo"), CREDENTIAL((short)1, "credential"), PRINCIPAL((short)2, "principal"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 3: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; case 2: // PRINCIPAL return PRINCIPAL; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", 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(dropUser_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24663 |
schemes.put(TupleScheme.class, new halt_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required public String lock; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)3, "tinfo"), CREDENTIAL((short)1, "credential"), LOCK((short)2, "lock"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 3: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; case 2: // LOCK return LOCK; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", 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(halt_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.java | 380 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormat.java | 384 |
mtbw = conn.createMultiTableBatchWriter(getBatchWriterOptions(job)); } } /** * Push a mutation into a table. If table is null, the defaultTable will be used. If canCreateTable is set, the table will be created if it does not exist. * The table name must only contain alphanumerics and underscore. */ @Override public void write(Text table, Mutation mutation) throws IOException { if (table == null || table.toString().isEmpty()) table = this.defaultTableName; if (!simulate && table == null) throw new IOException("No table or default table specified. Try simulation mode next time"); ++mutCount; valCount += mutation.size(); printMutation(table, mutation); if (simulate) return; if (!bws.containsKey(table)) try { addTable(table); } catch (Exception e) { e.printStackTrace(); throw new IOException(e); } try { bws.get(table).addMutation(mutation); } catch (MutationsRejectedException e) { throw new IOException(e); } } public void addTable(Text tableName) throws AccumuloException, AccumuloSecurityException { if (simulate) { log.info("Simulating adding table: " + tableName); return; } log.debug("Adding table: " + tableName); BatchWriter bw = null; String table = tableName.toString(); if (createTables && !conn.tableOperations().exists(table)) { try { conn.tableOperations().create(table); } catch (AccumuloSecurityException e) { log.error("Accumulo security violation creating " + table, e); throw e; } catch (TableExistsException e) { // Shouldn't happen } } try { bw = mtbw.getBatchWriter(table); } catch (TableNotFoundException e) { log.error("Accumulo table " + table + " doesn't exist and cannot be created.", e); throw new AccumuloException(e); } catch (AccumuloException e) { throw e; } catch (AccumuloSecurityException e) { throw e; } if (bw != null) bws.put(tableName, bw); } private int printMutation(Text table, Mutation m) { if (log.isTraceEnabled()) { log.trace(String.format("Table %s row key: %s", table, hexDump(m.getRow()))); for (ColumnUpdate cu : m.getUpdates()) { log.trace(String.format("Table %s column: %s:%s", table, hexDump(cu.getColumnFamily()), hexDump(cu.getColumnQualifier()))); log.trace(String.format("Table %s security: %s", table, new ColumnVisibility(cu.getColumnVisibility()).toString())); log.trace(String.format("Table %s value: %s", table, hexDump(cu.getValue()))); } } return m.getUpdates().size(); } private String hexDump(byte[] ba) { StringBuilder sb = new StringBuilder(); for (byte b : ba) { if ((b > 0x20) && (b < 0x7e)) sb.append((char) b); else sb.append(String.format("x%02x", b)); } return sb.toString(); } @Override public void close(Reporter reporter) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18220 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20444 |
flush_args typedOther = (flush_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableId()).compareTo(typedOther.isSetTableId()); if (lastComparison != 0) { return lastComparison; } if (isSetTableId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableId, typedOther.tableId); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } if (isSetStartRow()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, typedOther.startRow); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetEndRow()).compareTo(typedOther.isSetEndRow()); if (lastComparison != 0) { return lastComparison; } if (isSetEndRow()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endRow, typedOther.endRow); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("flush_args("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20523 |
StringBuilder sb = new StringBuilder("flush_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; if (!first) sb.append(", "); sb.append("tableId:"); if (this.tableId == null) { sb.append("null"); } else { sb.append(this.tableId); } first = false; if (!first) sb.append(", "); sb.append("startRow:"); if (this.startRow == null) { sb.append("null"); } else { org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); sb.append("endRow:"); if (this.endRow == null) { sb.append("null"); } else { org.apache.thrift.TBaseHelper.toString(this.endRow, sb); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class flush_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/InputFormatBase.java | 783 |
org/apache/accumulo/core/client/mapreduce/InputFormatBase.java | 806 |
tl = getTabletLocator(job); // its possible that the cache could contain complete, but old information about a tables tablets... so clear it tl.invalidateCache(); while (!tl.binRanges(ranges, binnedRanges).isEmpty()) { if (!(instance instanceof MockInstance)) { if (tableId == null) tableId = Tables.getTableId(instance, tableName); if (!Tables.exists(instance, tableId)) throw new TableDeletedException(tableId); if (Tables.getTableState(instance, tableId) == TableState.OFFLINE) throw new TableOfflineException(instance, tableId); } binnedRanges.clear(); log.warn("Unable to locate bins for specified ranges. Retrying."); UtilWaitThread.sleep(100 + (int) (Math.random() * 100)); // sleep randomly between 100 and 200 ms tl.invalidateCache(); } } } catch (Exception e) { throw new IOException(e); } ArrayList<InputSplit> splits = new ArrayList<InputSplit>(ranges.size()); HashMap<Range,ArrayList<String>> splitsToAdd = null; if (!autoAdjust) splitsToAdd = new HashMap<Range,ArrayList<String>>(); HashMap<String,String> hostNameCache = new HashMap<String,String>(); for (Entry<String,Map<KeyExtent,List<Range>>> tserverBin : binnedRanges.entrySet()) { String ip = tserverBin.getKey().split(":", 2)[0]; String location = hostNameCache.get(ip); if (location == null) { InetAddress inetAddress = InetAddress.getByName(ip); location = inetAddress.getHostName(); hostNameCache.put(ip, location); } for (Entry<KeyExtent,List<Range>> extentRanges : tserverBin.getValue().entrySet()) { Range ke = extentRanges.getKey().toDataRange(); for (Range r : extentRanges.getValue()) { if (autoAdjust) { // divide ranges into smaller ranges, based on the tablets splits.add(new RangeInputSplit(tableName, ke.clip(r), new String[] {location})); } else { // don't divide ranges ArrayList<String> locations = splitsToAdd.get(r); if (locations == null) locations = new ArrayList<String>(1); locations.add(location); splitsToAdd.put(r, locations); } } } } if (!autoAdjust) for (Entry<Range,ArrayList<String>> entry : splitsToAdd.entrySet()) splits.add(new RangeInputSplit(tableName, entry.getKey(), entry.getValue().toArray(new String[0]))); return splits.toArray(new InputSplit[splits.size()]); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
grantTablePermission_args typedOther = (grantTablePermission_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPermission()).compareTo(typedOther.isSetPermission()); if (lastComparison != 0) { return lastComparison; } if (isSetPermission()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.permission, typedOther.permission); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("grantTablePermission_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8131 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 215 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11459 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13838 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9989 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22817 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25226 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26200 |
schemes.put(TupleScheme.class, new listUsers_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public org.apache.accumulo.core.security.thrift.Credential credential; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)2, "tinfo"), CREDENTIAL((short)1, "credential"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 2: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listUsers_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19230 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20450 |
public void read(org.apache.thrift.protocol.TProtocol iprot, grantTablePermission_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // PERMISSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.permission = iprot.readByte(); struct.setPermissionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, grantTablePermission_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16308 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18630 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19299 |
case 2: // EXTENT return EXTENT; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(loadTablet_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4795 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5917 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8258 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9176 |
schemes.put(TupleScheme.class, new continueScan_argsTupleSchemeFactory()); } public org.apache.accumulo.trace.thrift.TInfo tinfo; // required public long scanID; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { TINFO((short)2, "tinfo"), SCAN_ID((short)1, "scanID"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 2: // TINFO return TINFO; case 1: // SCAN_ID return SCAN_ID; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SCANID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "ScanID"))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(continueScan_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3845 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5067 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15847 |
schemes.put(TupleScheme.class, new waitForFlush_resultTupleSchemeFactory()); } public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(waitForFlush_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7675 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14837 |
schemes.put(TupleScheme.class, new authenticateUser_resultTupleSchemeFactory()); } public boolean success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(authenticateUser_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6482 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class)))); tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class)))); tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))))); tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 291 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6542 |
} if (other.isSetColumns()) { List<org.apache.accumulo.core.data.thrift.TColumn> __this__columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(); for (org.apache.accumulo.core.data.thrift.TColumn other_element : other.columns) { __this__columns.add(new org.apache.accumulo.core.data.thrift.TColumn(other_element)); } this.columns = __this__columns; } if (other.isSetSsiList()) { List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) { __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element)); } this.ssiList = __this__ssiList; } if (other.isSetSsio()) { Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>(); for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) { String other_element_key = other_element.getKey(); Map<String,String> other_element_value = other_element.getValue(); String __this__ssio_copy_key = other_element_key; Map<String,String> __this__ssio_copy_value = new HashMap<String,String>(); for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) { String other_element_value_element_key = other_element_value_element.getKey(); String other_element_value_element_value = other_element_value_element.getValue(); String __this__ssio_copy_value_copy_key = other_element_value_element_key; String __this__ssio_copy_value_copy_value = other_element_value_element_value; __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value); } __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value); } this.ssio = __this__ssio; } if (other.isSetAuthorizations()) { List<ByteBuffer> __this__authorizations = new ArrayList<ByteBuffer>(); for (ByteBuffer other_element : other.authorizations) { ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element); ; __this__authorizations.add(temp_binary_element); } this.authorizations = __this__authorizations; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19411 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20631 |
schemes.put(TupleScheme.class, new grantTablePermission_resultTupleSchemeFactory()); } public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grantTablePermission_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19151 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20371 |
StringBuilder sb = new StringBuilder("grantTablePermission_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; if (!first) sb.append(", "); sb.append("tableName:"); if (this.tableName == null) { sb.append("null"); } else { sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("permission:"); sb.append(this.permission); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class grantTablePermission_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19101 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19770 |
public void read(org.apache.thrift.protocol.TProtocol iprot, flushTablet_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // LOCK if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, flushTablet_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18019 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20243 |
public flush_args setEndRow(ByteBuffer endRow) { this.endRow = endRow; return this; } public void unsetEndRow() { this.endRow = null; } /** Returns true if field endRow is set (has been assigned a value) and false otherwise */ public boolean isSetEndRow() { return this.endRow != null; } public void setEndRowIsSet(boolean value) { if (!value) { this.endRow = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; case TABLE_ID: if (value == null) { unsetTableId(); } else { setTableId((String)value); } break; case START_ROW: if (value == null) { unsetStartRow(); } else { setStartRow((ByteBuffer)value); } break; case END_ROW: if (value == null) { unsetEndRow(); } else { setEndRow((ByteBuffer)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case LOCK: return getLock(); case TABLE_ID: return getTableId(); case START_ROW: return getStartRow(); case END_ROW: return getEndRow(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case LOCK: return isSetLock(); case TABLE_ID: return isSetTableId(); case START_ROW: return isSetStartRow(); case END_ROW: return isSetEndRow(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof flush_args) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19415 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20635 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3849 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5071 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6193 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15851 |
public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(grantTablePermission_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16703 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19694 |
StringBuilder sb = new StringBuilder("loadTablet_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; if (!first) sb.append(", "); sb.append("extent:"); if (this.extent == null) { sb.append("null"); } else { sb.append(this.extent); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class loadTablet_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18005 |
grantSystemPermission_args typedOther = (grantSystemPermission_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPermission()).compareTo(typedOther.isSetPermission()); if (lastComparison != 0) { return lastComparison; } if (isSetPermission()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.permission, typedOther.permission); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("grantSystemPermission_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
public void read(org.apache.thrift.protocol.TProtocol iprot, grantSystemPermission_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // PERMISSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.permission = iprot.readByte(); struct.setPermissionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, grantSystemPermission_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
loadTablet_args typedOther = (loadTablet_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("loadTablet_args("); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 62 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 62 |
public MultiScanResult result; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SCAN_ID((short)1, "scanID"), RESULT((short)2, "result"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SCAN_ID return SCAN_ID; case 2: // RESULT return RESULT; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SCANID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "ScanID"))); tmpMap.put(_Fields.RESULT, new org.apache.thrift.meta_data.FieldMetaData("result", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, MultiScanResult.class))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2626 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6485 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class)))); tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))))); tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); tmpMap.put(_Fields.WAIT_FOR_WRITES, new org.apache.thrift.meta_data.FieldMetaData("waitForWrites", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18904 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20124 |
public grantTablePermission_args setPermission(byte permission) { this.permission = permission; setPermissionIsSet(true); return this; } public void unsetPermission() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PERMISSION_ISSET_ID); } /** Returns true if field permission is set (has been assigned a value) and false otherwise */ public boolean isSetPermission() { return EncodingUtils.testBit(__isset_bitfield, __PERMISSION_ISSET_ID); } public void setPermissionIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PERMISSION_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; case PERMISSION: if (value == null) { unsetPermission(); } else { setPermission((Byte)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case PRINCIPAL: return getPrincipal(); case TABLE_NAME: return getTableName(); case PERMISSION: return Byte.valueOf(getPermission()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case PRINCIPAL: return isSetPrincipal(); case TABLE_NAME: return isSetTableName(); case PERMISSION: return isSetPermission(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof grantTablePermission_args) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4013 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13818 |
case 7: // SET_TIME return SET_TIME; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __TID_ISSET_ID = 0; private static final int __SETTIME_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TABLE_ID, new org.apache.thrift.meta_data.FieldMetaData("tableId", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16649 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17667 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18690 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19910 |
case 3: // PERMISSION return PERMISSION; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PERMISSION_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PERMISSION, new org.apache.thrift.meta_data.FieldMetaData("permission", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17046 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18064 |
StringBuilder sb = new StringBuilder("grantSystemPermission_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; if (!first) sb.append(", "); sb.append("permission:"); sb.append(this.permission); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class grantSystemPermission_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15874 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19230 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20450 |
public void read(org.apache.thrift.protocol.TProtocol iprot, hasTablePermission_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // TBL_PERM if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.tblPerm = iprot.readByte(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 57 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 57 |
schemes.put(TupleScheme.class, new NotServingTabletExceptionTupleSchemeFactory()); } public org.apache.accumulo.core.data.thrift.TKeyExtent extent; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { EXTENT((short)1, "extent"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // EXTENT return EXTENT; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(NotServingTabletException.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14627 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26667 |
public List<org.apache.accumulo.core.data.thrift.TKeyExtent> success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class)))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.SERVER_NAME, new org.apache.thrift.meta_data.FieldMetaData("serverName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.SPLIT, new org.apache.thrift.meta_data.FieldMetaData("split", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16779 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17525 |
public void read(org.apache.thrift.protocol.TProtocol iprot, loadTablet_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // LOCK if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18148 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20372 |
public boolean equals(flush_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } boolean this_present_tableId = true && this.isSetTableId(); boolean that_present_tableId = true && that.isSetTableId(); if (this_present_tableId || that_present_tableId) { if (!(this_present_tableId && that_present_tableId)) return false; if (!this.tableId.equals(that.tableId)) return false; } boolean this_present_startRow = true && this.isSetStartRow(); boolean that_present_startRow = true && that.isSetStartRow(); if (this_present_startRow || that_present_startRow) { if (!(this_present_startRow && that_present_startRow)) return false; if (!this.startRow.equals(that.startRow)) return false; } boolean this_present_endRow = true && this.isSetEndRow(); boolean that_present_endRow = true && that.isSetEndRow(); if (this_present_endRow || that_present_endRow) { if (!(this_present_endRow && that_present_endRow)) return false; if (!this.endRow.equals(that.endRow)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(flush_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14302 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10453 |
schemes.put(TupleScheme.class, new beginTableOperation_resultTupleSchemeFactory()); } public long success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16487 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18809 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19478 |
public loadTablet_args setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) { this.extent = extent; return this; } public void unsetExtent() { this.extent = null; } /** Returns true if field extent is set (has been assigned a value) and false otherwise */ public boolean isSetExtent() { return this.extent != null; } public void setExtentIsSet(boolean value) { if (!value) { this.extent = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; case EXTENT: if (value == null) { unsetExtent(); } else { setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case LOCK: return getLock(); case EXTENT: return getExtent(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case LOCK: return isSetLock(); case EXTENT: return isSetExtent(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof loadTablet_args) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16061 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2315 |
public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16831 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17849 |
public grantSystemPermission_args setPermission(byte permission) { this.permission = permission; setPermissionIsSet(true); return this; } public void unsetPermission() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PERMISSION_ISSET_ID); } /** Returns true if field permission is set (has been assigned a value) and false otherwise */ public boolean isSetPermission() { return EncodingUtils.testBit(__isset_bitfield, __PERMISSION_ISSET_ID); } public void setPermissionIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PERMISSION_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case PERMISSION: if (value == null) { unsetPermission(); } else { setPermission((Byte)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case PRINCIPAL: return getPrincipal(); case PERMISSION: return Byte.valueOf(getPermission()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case PRINCIPAL: return isSetPrincipal(); case PERMISSION: return isSetPermission(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof grantSystemPermission_args) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6036 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23307 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 607 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1207 |
schemes.put(TupleScheme.class, new isActive_resultTupleSchemeFactory()); } public boolean success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isActive_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7678 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14840 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14305 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10456 |
public boolean success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6749 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9825 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10745 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11670 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12744 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17274 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18292 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7226 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8144 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9162 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11102 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17986 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24305 |
schemes.put(TupleScheme.class, new ping_resultTupleSchemeFactory()); } public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ping_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13668 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14627 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26667 |
public List<ByteBuffer> success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7800 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21285 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialMultiScan.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10544 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13463 |
StringBuilder sb = new StringBuilder("dropUser_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class dropUser_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24104 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25024 |
StringBuilder sb = new StringBuilder("halt_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class halt_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12085 |
public org.apache.accumulo.core.data.thrift.MultiScanResult success; // required public NoSuchScanIDException nssi; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), NSSI((short)1, "nssi"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // NSSI return NSSI; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.MultiScanResult.class))); |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 682 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11926 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7800 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21285 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23284 |
public GCStatus success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GCStatus.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2407 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3007 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3607 |
schemes.put(TupleScheme.class, new getRootTabletLocation_resultTupleSchemeFactory()); } public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", 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(getRootTabletLocation_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10609 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13528 |
public void read(org.apache.thrift.protocol.TProtocol iprot, dropUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, dropUser_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16732 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17852 |
public void read(org.apache.thrift.protocol.TProtocol iprot, waitForTableOperation_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // OPID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.opid = iprot.readI64(); struct.setOpidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, waitForTableOperation_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2705 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6550 |
if (other.isSetSsiList()) { List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) { __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element)); } this.ssiList = __this__ssiList; } if (other.isSetSsio()) { Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>(); for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) { String other_element_key = other_element.getKey(); Map<String,String> other_element_value = other_element.getValue(); String __this__ssio_copy_key = other_element_key; Map<String,String> __this__ssio_copy_value = new HashMap<String,String>(); for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) { String other_element_value_element_key = other_element_value_element.getKey(); String other_element_value_element_value = other_element_value_element.getValue(); String __this__ssio_copy_value_copy_key = other_element_value_element_key; String __this__ssio_copy_value_copy_value = other_element_value_element_value; __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value); } __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value); } this.ssio = __this__ssio; } if (other.isSetAuthorizations()) { List<ByteBuffer> __this__authorizations = new ArrayList<ByteBuffer>(); for (ByteBuffer other_element : other.authorizations) { ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element); ; __this__authorizations.add(temp_binary_element); } this.authorizations = __this__authorizations; } this.waitForWrites = other.waitForWrites; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24169 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25089 |
public void read(org.apache.thrift.protocol.TProtocol iprot, halt_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // LOCK if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, halt_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 216 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2626 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class)))); tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class)))); tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))))); tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13414 |
dropUser_args typedOther = (dropUser_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("dropUser_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5303 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16370 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2624 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17180 |
bulkImportFiles_result typedOther = (bulkImportFiles_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope()); if (lastComparison != 0) { return lastComparison; } if (isSetTope()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("bulkImportFiles_result("); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17740 |
waitForTableOperation_args typedOther = (waitForTableOperation_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOpid()).compareTo(typedOther.isSetOpid()); if (lastComparison != 0) { return lastComparison; } if (isSetOpid()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opid, typedOther.opid); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("waitForTableOperation_args("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2705 |
if (other.isSetSsiList()) { List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) { __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element)); } this.ssiList = __this__ssiList; } if (other.isSetSsio()) { Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>(); for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) { String other_element_key = other_element.getKey(); Map<String,String> other_element_value = other_element.getValue(); String __this__ssio_copy_key = other_element_key; Map<String,String> __this__ssio_copy_value = new HashMap<String,String>(); for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) { String other_element_value_element_key = other_element_value_element.getKey(); String other_element_value_element_value = other_element_value_element.getValue(); String __this__ssio_copy_value_copy_key = other_element_value_element_key; String __this__ssio_copy_value_copy_value = other_element_value_element_value; __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value); } __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value); } this.ssio = __this__ssio; } if (other.isSetAuthorizations()) { List<ByteBuffer> __this__authorizations = new ArrayList<ByteBuffer>(); for (ByteBuffer other_element : other.authorizations) { ByteBuffer temp_binary_element = org.apache.thrift.TBaseHelper.copyBinary(other_element); ; __this__authorizations.add(temp_binary_element); } this.authorizations = __this__authorizations; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24055 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24975 |
halt_args typedOther = (halt_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("halt_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8155 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 239 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11483 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10013 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20842 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22841 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26224 |
case 2: // TINFO return TINFO; case 1: // CREDENTIAL return CREDENTIAL; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(listUsers_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16350 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18672 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19341 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16873 |
public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8598 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13668 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14627 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26667 |
public Set<String> success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16669 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17789 |
StringBuilder sb = new StringBuilder("waitForTableOperation_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("opid:"); sb.append(this.opid); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class waitForTableOperation_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8598 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13668 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 682 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11926 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7800 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14627 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21285 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23284 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26667 |
public Set<String> success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15376 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18732 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19952 |
private static final int __TBLPERM_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TBL_PERM, new org.apache.thrift.meta_data.FieldMetaData("tblPerm", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 79 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 118 |
JobConf job = new JobConf(); AccumuloInputFormat.addIterator(job, new IteratorSetting(1, "WholeRow", WholeRowIterator.class)); AccumuloInputFormat.addIterator(job, new IteratorSetting(2, "Versions", "org.apache.accumulo.core.iterators.VersioningIterator")); IteratorSetting iter = new IteratorSetting(3, "Count", "org.apache.accumulo.core.iterators.CountingIterator"); iter.addOption("v1", "1"); iter.addOption("junk", "\0omg:!\\xyzzy"); AccumuloInputFormat.addIterator(job, iter); List<IteratorSetting> list = AccumuloInputFormat.getIterators(job); // Check the list size assertTrue(list.size() == 3); // Walk the list and make sure our settings are correct IteratorSetting setting = list.get(0); assertEquals(1, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.user.WholeRowIterator", setting.getIteratorClass()); assertEquals("WholeRow", setting.getName()); assertEquals(0, setting.getOptions().size()); setting = list.get(1); assertEquals(2, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.VersioningIterator", setting.getIteratorClass()); assertEquals("Versions", setting.getName()); assertEquals(0, setting.getOptions().size()); setting = list.get(2); assertEquals(3, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.CountingIterator", setting.getIteratorClass()); assertEquals("Count", setting.getName()); assertEquals(2, setting.getOptions().size()); assertEquals("1", setting.getOptions().get("v1")); assertEquals("\0omg:!\\xyzzy", setting.getOptions().get("junk")); } /** * Test adding iterator options where the keys and values contain both the FIELD_SEPARATOR character (':') and ITERATOR_SEPARATOR (',') characters. There * should be no exceptions thrown when trying to parse these types of option entries. * * This test makes sure that the expected raw values, as appears in the Job, are equal to what's expected. */ @Test public void testIteratorOptionEncoding() throws Throwable { String key = "colon:delimited:key"; String value = "comma,delimited,value"; IteratorSetting someSetting = new IteratorSetting(1, "iterator", "Iterator.class"); someSetting.addOption(key, value); |
File | Line |
---|---|
org/apache/accumulo/core/util/format/BinaryFormatter.java | 32 |
org/apache/accumulo/core/util/format/DefaultFormatter.java | 31 |
@Override public void initialize(Iterable<Entry<Key,Value>> scanner, boolean printTimestamps) { checkState(si, false); si = scanner.iterator(); doTimestamps = printTimestamps; } public boolean hasNext() { checkState(si, true); return si.hasNext(); } public String next() { checkState(si, true); return formatEntry(si.next(), doTimestamps); } public void remove() { checkState(si, true); si.remove(); } static void checkState(Iterator<Entry<Key,Value>> si, boolean expectInitialized) { if (expectInitialized && si == null) throw new IllegalStateException("Not initialized"); if (!expectInitialized && si != null) throw new IllegalStateException("Already initialized"); } // this should be replaced with something like Record.toString(); public static String formatEntry(Entry<Key,Value> entry, boolean showTimestamps) { StringBuilder sb = new StringBuilder(); // append row appendText(sb, entry.getKey().getRow()).append(" "); // append column family appendText(sb, entry.getKey().getColumnFamily()).append(":"); // append column qualifier appendText(sb, entry.getKey().getColumnQualifier()).append(" "); // append visibility expression sb.append(new ColumnVisibility(entry.getKey().getColumnVisibility())); // append timestamp if (showTimestamps) sb.append(" ").append(entry.getKey().getTimestamp()); // append value if (entry.getValue() != null && entry.getValue().getSize() > 0) { sb.append("\t"); appendValue(sb, entry.getValue()); } return sb.toString(); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5352 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17229 |
StringBuilder sb = new StringBuilder("bulkImportFiles_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16486 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17606 |
public waitForTableOperation_args setOpid(long opid) { this.opid = opid; setOpidIsSet(true); return this; } public void unsetOpid() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __OPID_ISSET_ID); } /** Returns true if field opid is set (has been assigned a value) and false otherwise */ public boolean isSetOpid() { return EncodingUtils.testBit(__isset_bitfield, __OPID_ISSET_ID); } public void setOpidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __OPID_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case OPID: if (value == null) { unsetOpid(); } else { setOpid((Long)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case OPID: return Long.valueOf(getOpid()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case OPID: return isSetOpid(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof waitForTableOperation_args) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12063 |
case 4: // AUTHORIZATIONS return AUTHORIZATIONS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TO_CREATE, new org.apache.thrift.meta_data.FieldMetaData("toCreate", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4344 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9555 |
case 4: // VALUE return VALUE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5561 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10570 |
case 3: // PROPERTY return PROPERTY; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
public void read(org.apache.thrift.protocol.TProtocol iprot, hasSystemPermission_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // SYS_PERM if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.sysPerm = iprot.readByte(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TO_AUTHENTICATE, new org.apache.thrift.meta_data.FieldMetaData("toAuthenticate", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4826 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9965 |
sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("property:"); if (this.property == null) { sb.append("null"); } else { sb.append(this.property); } first = false; if (!first) sb.append(", "); sb.append("value:"); if (this.value == null) { sb.append("null"); } else { sb.append(this.value); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class setTableProperty_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12553 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
public void read(org.apache.thrift.protocol.TProtocol iprot, changeAuthorizations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // AUTHORIZATIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19101 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20612 |
public void read(org.apache.thrift.protocol.TProtocol iprot, flushTablet_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // LOCK if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8159 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 243 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11487 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13866 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20846 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22845 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26228 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16419 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2673 |
StringBuilder sb = new StringBuilder("hasTablePermission_result("); boolean first = true; sb.append("success:"); sb.append(this.success); first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class hasTablePermission_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10947 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11653 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __UPDATEID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.UPDATE_ID, new org.apache.thrift.meta_data.FieldMetaData("updateID", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64 , "UpdateID"))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2410 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3010 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3610 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21461 |
public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8424 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 508 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11752 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14131 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10282 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21111 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25519 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26493 |
StringBuilder sb = new StringBuilder("listUsers_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class listUsers_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10360 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13279 |
public dropUser_args setPrincipal(String principal) { this.principal = principal; return this; } public void unsetPrincipal() { this.principal = null; } /** Returns true if field principal is set (has been assigned a value) and false otherwise */ public boolean isSetPrincipal() { return this.principal != null; } public void setPrincipalIsSet(boolean value) { if (!value) { this.principal = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case PRINCIPAL: return getPrincipal(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case PRINCIPAL: return isSetPrincipal(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof dropUser_args) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23920 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24840 |
public halt_args setLock(String lock) { this.lock = lock; return this; } public void unsetLock() { this.lock = null; } /** Returns true if field lock is set (has been assigned a value) and false otherwise */ public boolean isSetLock() { return this.lock != null; } public void setLockIsSet(boolean value) { if (!value) { this.lock = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); case LOCK: return getLock(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); case LOCK: return isSetLock(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof halt_args) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4576 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5698 |
sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("nste:"); if (this.nste == null) { sb.append("null"); } else { sb.append(this.nste); } first = false; if (!first) sb.append(", "); sb.append("tmfe:"); if (this.tmfe == null) { sb.append("null"); } else { sb.append(this.tmfe); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { success.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class startScan_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 301 |
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 340 |
runTest(mc, nke("0", null, null), nkes()); runTest(mc, nke("0", "a", null), nkes(nke("0", "r", "g"), nke("0", null, "r"))); runTest(mc, nke("0", "g", null), nkes(nke("0", "r", "g"), nke("0", null, "r"))); runTest(mc, nke("0", "h", null), nkes(nke("0", null, "r"))); runTest(mc, nke("0", "r", null), nkes(nke("0", null, "r"))); runTest(mc, nke("0", "s", null), nkes()); runTest(mc, nke("0", "b", "a"), nkes(nke("0", "r", "g"), nke("0", null, "r"))); runTest(mc, nke("0", "g", "a"), nkes(nke("0", "r", "g"), nke("0", null, "r"))); runTest(mc, nke("0", "h", "a"), nkes(nke("0", null, "r"))); runTest(mc, nke("0", "r", "a"), nkes(nke("0", null, "r"))); runTest(mc, nke("0", "s", "a"), nkes()); runTest(mc, nke("0", "h", "g"), nkes(nke("0", "g", null), nke("0", null, "r"))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
public boolean equals(grantTablePermission_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) return false; if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_permission = true; boolean that_present_permission = true; if (this_present_permission || that_present_permission) { if (!(this_present_permission && that_present_permission)) return false; if (this.permission != that.permission) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(grantTablePermission_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 515 |
org/apache/accumulo/core/security/thrift/Credentials.java | 438 |
sb.append(this.tokenClass); } first = false; if (!first) sb.append(", "); sb.append("token:"); if (this.token == null) { sb.append("null"); } else { org.apache.thrift.TBaseHelper.toString(this.token, sb); } first = false; if (!first) sb.append(", "); sb.append("instanceId:"); if (this.instanceId == null) { sb.append("null"); } else { sb.append(this.instanceId); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class CredentialStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4884 |
public void read(org.apache.thrift.protocol.TProtocol iprot, waitForFlush_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 6: // START_ROW |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2342 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14330 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1113 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7122 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); if (lastComparison != 0) { return lastComparison; } if (isSetColumns()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList()); if (lastComparison != 0) { return lastComparison; } if (isSetSsiList()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio()); if (lastComparison != 0) { return lastComparison; } if (isSetSsio()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthorizations()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3438 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7132 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.batchSize, typedOther.batchSize); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList()); if (lastComparison != 0) { return lastComparison; } if (isSetSsiList()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio()); if (lastComparison != 0) { return lastComparison; } if (isSetSsio()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthorizations()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetWaitForWrites()).compareTo(typedOther.isSetWaitForWrites()); if (lastComparison != 0) { return lastComparison; } if (isSetWaitForWrites()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.waitForWrites, typedOther.waitForWrites); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12375 |
StringBuilder sb = new StringBuilder("continueMultiScan_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("nssi:"); if (this.nssi == null) { sb.append("null"); } else { sb.append(this.nssi); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { success.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class continueMultiScan_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 972 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12216 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8090 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21575 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23574 |
StringBuilder sb = new StringBuilder("getStatus_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { success.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getStatus_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5411 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6533 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16191 |
public void read(org.apache.thrift.protocol.TProtocol iprot, waitForFlush_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, waitForFlush_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15726 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
hasTablePermission_args typedOther = (hasTablePermission_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTblPerm()).compareTo(typedOther.isSetTblPerm()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2611 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15212 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); tmpMap.put(_Fields.RANGE, new org.apache.thrift.meta_data.FieldMetaData("range", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8481 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 565 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11809 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14188 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10339 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23167 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25576 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26550 |
public void read(org.apache.thrift.protocol.TProtocol iprot, listUsers_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 2: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, listUsers_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // PROPERTY if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.property = iprot.readString(); struct.setPropertyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 321 |
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 363 |
runTest(mc, nke("0", "s", "h"), nkes(nke("0", "g", null))); runTest(mc, nke("0", "z", "f"), nkes()); runTest(mc, nke("0", "z", "g"), nkes(nke("0", "g", null))); runTest(mc, nke("0", "z", "q"), nkes(nke("0", "g", null))); runTest(mc, nke("0", "z", "r"), nkes(nke("0", "g", null), nke("0", "r", "g"))); runTest(mc, nke("0", "z", "s"), nkes(nke("0", "g", null), nke("0", "r", "g"))); runTest(mc, nke("0", null, "f"), nkes()); runTest(mc, nke("0", null, "g"), nkes(nke("0", "g", null))); runTest(mc, nke("0", null, "q"), nkes(nke("0", "g", null))); runTest(mc, nke("0", null, "r"), nkes(nke("0", "g", null), nke("0", "r", "g"))); runTest(mc, nke("0", null, "s"), nkes(nke("0", "g", null), nke("0", "r", "g"))); } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4761 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9908 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty()); if (lastComparison != 0) { return lastComparison; } if (isSetProperty()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("setTableProperty_args("); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3986 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5208 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15988 |
public waitForFlush_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) { this.tope = tope; return this; } public void unsetTope() { this.tope = null; } /** Returns true if field tope is set (has been assigned a value) and false otherwise */ public boolean isSetTope() { return this.tope != null; } public void setTopeIsSet(boolean value) { if (!value) { this.tope = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; case TOPE: if (value == null) { unsetTope(); } else { setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SEC: return getSec(); case TOPE: return getTope(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SEC: return isSetSec(); case TOPE: return isSetTope(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof waitForFlush_result) |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 458 |
org/apache/accumulo/core/security/thrift/Credentials.java | 389 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tokenClass, typedOther.tokenClass); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetToken()).compareTo(typedOther.isSetToken()); if (lastComparison != 0) { return lastComparison; } if (isSetToken()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.token, typedOther.token); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetInstanceId()).compareTo(typedOther.isSetInstanceId()); if (lastComparison != 0) { return lastComparison; } if (isSetInstanceId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.instanceId, typedOther.instanceId); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("Credential("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4519 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5641 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste()); if (lastComparison != 0) { return lastComparison; } if (isSetNste()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTmfe()).compareTo(typedOther.isSetTmfe()); if (lastComparison != 0) { return lastComparison; } if (isSetTmfe()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tmfe, typedOther.tmfe); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("startScan_result("); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5897 |
setTableProperty_args typedOther = (setTableProperty_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty()); if (lastComparison != 0) { return lastComparison; } if (isSetProperty()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17374 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
loadTablet_args typedOther = (loadTablet_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 289 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2705 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6550 |
if (other.isSetSsiList()) { List<org.apache.accumulo.core.data.thrift.IterInfo> __this__ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); for (org.apache.accumulo.core.data.thrift.IterInfo other_element : other.ssiList) { __this__ssiList.add(new org.apache.accumulo.core.data.thrift.IterInfo(other_element)); } this.ssiList = __this__ssiList; } if (other.isSetSsio()) { Map<String,Map<String,String>> __this__ssio = new HashMap<String,Map<String,String>>(); for (Map.Entry<String, Map<String,String>> other_element : other.ssio.entrySet()) { String other_element_key = other_element.getKey(); Map<String,String> other_element_value = other_element.getValue(); String __this__ssio_copy_key = other_element_key; Map<String,String> __this__ssio_copy_value = new HashMap<String,String>(); for (Map.Entry<String, String> other_element_value_element : other_element_value.entrySet()) { String other_element_value_element_key = other_element_value_element.getKey(); String other_element_value_element_value = other_element_value_element.getValue(); String __this__ssio_copy_value_copy_key = other_element_value_element_key; String __this__ssio_copy_value_copy_value = other_element_value_element_value; __this__ssio_copy_value.put(__this__ssio_copy_value_copy_key, __this__ssio_copy_value_copy_value); } __this__ssio.put(__this__ssio_copy_key, __this__ssio_copy_value); } this.ssio = __this__ssio; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14253 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15376 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16691 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17709 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18732 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19952 |
private static final int __SYSPERM_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.SYS_PERM, new org.apache.thrift.meta_data.FieldMetaData("sysPerm", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19704 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20924 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4138 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5360 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6482 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16140 |
StringBuilder sb = new StringBuilder("grantTablePermission_result("); boolean first = true; sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class grantTablePermission_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8908 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14937 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22620 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26003 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26977 |
StringBuilder sb = new StringBuilder("listUsers_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class listUsers_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19755 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20975 |
public void read(org.apache.thrift.protocol.TProtocol iprot, grantTablePermission_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, grantTablePermission_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8272 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 356 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11600 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13979 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10130 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20959 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22958 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25367 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26341 |
public listUsers_args setCredential(org.apache.accumulo.core.security.thrift.Credential credential) { this.credential = credential; return this; } public void unsetCredential() { this.credential = null; } /** Returns true if field credential is set (has been assigned a value) and false otherwise */ public boolean isSetCredential() { return this.credential != null; } public void setCredentialIsSet(boolean value) { if (!value) { this.credential = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIAL: return getCredential(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case CREDENTIAL: return isSetCredential(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof listUsers_args) |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 353 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 353 |
StringBuilder sb = new StringBuilder("InitialMultiScan("); boolean first = true; sb.append("scanID:"); sb.append(this.scanID); first = false; if (!first) sb.append(", "); sb.append("result:"); if (this.result == null) { sb.append("null"); } else { sb.append(this.result); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (result != null) { result.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class InitialMultiScanStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5090 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9471 |
StringBuilder sb = new StringBuilder("continueScan_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("scanID:"); sb.append(this.scanID); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class continueScan_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloFileOutputFormatTest.java | 168 |
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormatTest.java | 159 |
return JobClient.runJob(job).isSuccessful() ? 0 : 1; } public static void main(String[] args) throws Exception { assertEquals(0, ToolRunner.run(CachedConfiguration.getInstance(), new MRTester(), args)); } } public void handleWriteTests(boolean content) throws Exception { File f = folder.newFile(); f.delete(); MRTester.main(new String[] {"root", "", content ? TEST_TABLE : EMPTY_TABLE, f.getAbsolutePath()}); assertTrue(f.exists()); File[] files = f.listFiles(new FileFilter() { @Override public boolean accept(File file) { return file.getName().startsWith("part-m-"); } }); if (content) { assertEquals(1, files.length); assertTrue(files[0].exists()); } else { assertEquals(0, files.length); } } @Test public void writeBadVisibility() throws Exception { File f = folder.newFile(); f.delete(); MRTester.main(new String[] {"root", "", BAD_TABLE, f.getAbsolutePath()}); assertNull(e1); assertNull(e2); } @Test public void validateConfiguration() throws IOException, InterruptedException { int a = 7; long b = 300l; long c = 50l; long d = 10l; String e = "snappy"; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2160 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2760 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3360 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 360 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 960 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1560 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18341 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 56 |
schemes.put(TupleScheme.class, new getRootTabletLocation_argsTupleSchemeFactory()); } /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { ; private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getRootTabletLocation_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/data/Mutation.java | 137 |
org/apache/accumulo/core/data/OldMutation.java | 110 |
} } private static class SimpleReader { int offset; byte data[]; SimpleReader(byte b[]) { this.data = b; } int readInt() { return (data[offset++] << 24) + ((data[offset++] & 255) << 16) + ((data[offset++] & 255) << 8) + ((data[offset++] & 255) << 0); } long readLong() { return (((long) data[offset++] << 56) + ((long) (data[offset++] & 255) << 48) + ((long) (data[offset++] & 255) << 40) + ((long) (data[offset++] & 255) << 32) + ((long) (data[offset++] & 255) << 24) + ((data[offset++] & 255) << 16) + ((data[offset++] & 255) << 8) + ((data[offset++] & 255) << 0)); } void readBytes(byte b[]) { System.arraycopy(data, offset, b, 0, b.length); offset += b.length; } boolean readBoolean() { return (data[offset++] == 1); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18641 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19861 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grantTablePermission_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField PERMISSION_FIELD_DESC = new org.apache.thrift.protocol.TField("permission", org.apache.thrift.protocol.TType.BYTE, (short)4); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new grantTablePermission_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5363 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19707 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20927 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4141 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5363 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6485 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16143 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17240 |
sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22258 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 314 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 314 |
InitialMultiScan typedOther = (InitialMultiScan)other; lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID()); if (lastComparison != 0) { return lastComparison; } if (isSetScanID()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetResult()).compareTo(typedOther.isSetResult()); if (lastComparison != 0) { return lastComparison; } if (isSetResult()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.result, typedOther.result); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("InitialMultiScan("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19665 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20885 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4099 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5321 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6443 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16101 |
grantTablePermission_result typedOther = (grantTablePermission_result)other; lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope()); if (lastComparison != 0) { return lastComparison; } if (isSetTope()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("grantTablePermission_result("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5051 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6173 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8514 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9432 |
continueScan_args typedOther = (continueScan_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetScanID()).compareTo(typedOther.isSetScanID()); if (lastComparison != 0) { return lastComparison; } if (isSetScanID()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanID, typedOther.scanID); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("continueScan_args("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8969 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12336 |
continueMultiScan_result typedOther = (continueMultiScan_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi()); if (lastComparison != 0) { return lastComparison; } if (isSetNssi()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("continueMultiScan_result("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8385 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 469 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11713 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14092 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10243 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21072 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23071 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25480 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26454 |
listUsers_args typedOther = (listUsers_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("listUsers_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7931 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8869 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13941 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15093 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 933 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12177 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14558 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8051 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10709 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21536 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23535 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25964 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26938 |
authenticateUser_result typedOther = (authenticateUser_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("authenticateUser_result("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7818 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14980 |
public authenticateUser_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Boolean)value); } break; case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return Boolean.valueOf(isSuccess()); case SEC: return getSec(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof authenticateUser_result) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18734 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19954 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2963 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4386 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5603 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2313 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16871 |
public long success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required public org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14445 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10596 |
public beginTableOperation_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Long)value); } break; case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return Long.valueOf(getSuccess()); case SEC: return getSec(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof beginTableOperation_result) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17796 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20020 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5315 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16382 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19667 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20887 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2636 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4101 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5323 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6445 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16103 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17192 |
lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope()); if (lastComparison != 0) { return lastComparison; } if (isSetTope()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("bulkImportFiles_result("); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14861 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16379 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17499 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.OPID, new org.apache.thrift.meta_data.FieldMetaData("opid", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15181 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, authenticateUser_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4939 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6061 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8402 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9320 |
public continueScan_args setScanID(long scanID) { this.scanID = scanID; setScanIDIsSet(true); return this; } public void unsetScanID() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SCANID_ISSET_ID); } /** Returns true if field scanID is set (has been assigned a value) and false otherwise */ public boolean isSetScanID() { return EncodingUtils.testBit(__isset_bitfield, __SCANID_ISSET_ID); } public void setScanIDIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SCANID_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case SCAN_ID: if (value == null) { unsetScanID(); } else { setScanID((Long)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case SCAN_ID: return Long.valueOf(getScanID()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TINFO: return isSetTinfo(); case SCAN_ID: return isSetScanID(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof continueScan_args) |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14646 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10797 |
public void read(org.apache.thrift.protocol.TProtocol iprot, beginTableOperation_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, beginTableOperation_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5979 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10916 |
sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("property:"); if (this.property == null) { sb.append("null"); } else { sb.append(this.property); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class removeTableProperty_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9523 |
public void read(org.apache.thrift.protocol.TProtocol iprot, continueScan_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 2: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SCAN_ID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.scanID = iprot.readI64(); struct.setScanIDIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, continueScan_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18508 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20732 |
public void write(org.apache.thrift.protocol.TProtocol prot, flush_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetLock()) { optionals.set(2); } if (struct.isSetTableId()) { optionals.set(3); } if (struct.isSetStartRow()) { optionals.set(4); } if (struct.isSetEndRow()) { optionals.set(5); } oprot.writeBitSet(optionals, 6); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetLock()) { oprot.writeString(struct.lock); } if (struct.isSetTableId()) { oprot.writeString(struct.tableId); } if (struct.isSetStartRow()) { oprot.writeBinary(struct.startRow); } if (struct.isSetEndRow()) { oprot.writeBinary(struct.endRow); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, flush_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13174 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18734 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19954 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1818 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2963 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23815 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24735 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.LOCK, new org.apache.thrift.meta_data.FieldMetaData("lock", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15662 |
case 11: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // RANGE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 212 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 216 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2626 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6485 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.IterInfo.class)))); tmpMap.put(_Fields.SSIO, new org.apache.thrift.meta_data.FieldMetaData("ssio", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7970 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15132 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14597 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10748 |
StringBuilder sb = new StringBuilder("authenticateUser_result("); boolean first = true; sb.append("success:"); sb.append(this.success); first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class authenticateUser_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
public boolean equals(loadTablet_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } boolean this_present_extent = true && this.isSetExtent(); boolean that_present_extent = true && that.isSetExtent(); if (this_present_extent || that_present_extent) { if (!(this_present_extent && that_present_extent)) return false; if (!this.extent.equals(that.extent)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(loadTablet_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4974 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16059 |
public List<String> success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12553 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6029 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10023 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12891 |
public void read(org.apache.thrift.protocol.TProtocol iprot, changeAuthorizations_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15874 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19230 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4884 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13653 |
public void read(org.apache.thrift.protocol.TProtocol iprot, hasTablePermission_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7536 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11532 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13053 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15652 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.toAuthenticate = new org.apache.accumulo.core.security.thrift.Credential(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10609 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13528 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2172 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9005 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22170 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24169 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25089 |
public void read(org.apache.thrift.protocol.TProtocol iprot, dropUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17300 |
struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, initiateFlush_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19552 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20772 |
public grantTablePermission_result setTope(ThriftTableOperationException tope) { this.tope = tope; return this; } public void unsetTope() { this.tope = null; } /** Returns true if field tope is set (has been assigned a value) and false otherwise */ public boolean isSetTope() { return this.tope != null; } public void setTopeIsSet(boolean value) { if (!value) { this.tope = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; case TOPE: if (value == null) { unsetTope(); } else { setTope((ThriftTableOperationException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SEC: return getSec(); case TOPE: return getTope(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SEC: return isSetSec(); case TOPE: return isSetTope(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof grantTablePermission_result) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17069 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18087 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19182 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20402 |
sb.append(this.principal); } first = false; if (!first) sb.append(", "); sb.append("permission:"); sb.append(this.permission); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class grantSystemPermission_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9632 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15874 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19230 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4884 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13653 |
public void read(org.apache.thrift.protocol.TProtocol iprot, createUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_CREATE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4665 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14317 |
sb.append(this.errorDir); } first = false; if (!first) sb.append(", "); sb.append("setTime:"); sb.append(this.setTime); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7536 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11532 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12553 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6029 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10023 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12891 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13053 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15652 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10609 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13528 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2172 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7090 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9005 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10966 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16732 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17852 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22170 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24169 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25089 |
public void read(org.apache.thrift.protocol.TProtocol iprot, dropUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4713 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19101 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20612 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27621 |
public void read(org.apache.thrift.protocol.TProtocol iprot, bulkImportFiles_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { |
File | Line |
---|---|
org/apache/accumulo/core/data/MutationTest.java | 189 |
org/apache/accumulo/core/data/MutationTest.java | 284 |
m.putDelete(nt("cf8"), nt("cq8"), new ColumnVisibility("cv8"), 8l); assertEquals(8, m.size()); List<ColumnUpdate> updates = m.getUpdates(); assertEquals(8, m.size()); assertEquals(8, updates.size()); assertEquals(updates.get(0), "cf1", "cq1", "", 0l, false, false, "v1"); assertEquals(updates.get(1), "cf2", "cq2", "cv2", 0l, false, false, "v2"); assertEquals(updates.get(2), "cf3", "cq3", "", 3l, true, false, "v3"); assertEquals(updates.get(3), "cf4", "cq4", "cv4", 4l, true, false, "v4"); assertEquals(updates.get(4), "cf5", "cq5", "", 0l, false, true, ""); assertEquals(updates.get(5), "cf6", "cq6", "cv6", 0l, false, true, ""); assertEquals(updates.get(6), "cf7", "cq7", "", 7l, true, true, ""); assertEquals(updates.get(7), "cf8", "cq8", "cv8", 8l, true, true, ""); } public void testPutsString() { |
File | Line |
---|---|
org/apache/accumulo/core/data/MutationTest.java | 189 |
org/apache/accumulo/core/data/MutationTest.java | 221 |
org/apache/accumulo/core/data/MutationTest.java | 284 |
m.putDelete(nt("cf8"), nt("cq8"), new ColumnVisibility("cv8"), 8l); assertEquals(8, m.size()); List<ColumnUpdate> updates = m.getUpdates(); assertEquals(8, m.size()); assertEquals(8, updates.size()); assertEquals(updates.get(0), "cf1", "cq1", "", 0l, false, false, "v1"); assertEquals(updates.get(1), "cf2", "cq2", "cv2", 0l, false, false, "v2"); assertEquals(updates.get(2), "cf3", "cq3", "", 3l, true, false, "v3"); assertEquals(updates.get(3), "cf4", "cq4", "cv4", 4l, true, false, "v4"); assertEquals(updates.get(4), "cf5", "cq5", "", 0l, false, true, ""); assertEquals(updates.get(5), "cf6", "cq6", "cv6", 0l, false, true, ""); assertEquals(updates.get(6), "cf7", "cq7", "", 7l, true, true, ""); assertEquals(updates.get(7), "cf8", "cq8", "cv8", 8l, true, true, ""); } public void testPutsString() { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13693 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17951 |
public boolean equals(grantSystemPermission_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } boolean this_present_permission = true; boolean that_present_permission = true; if (this_present_permission || that_present_permission) { if (!(this_present_permission && that_present_permission)) return false; if (this.permission != that.permission) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(grantSystemPermission_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // AUTHORIZATIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13663 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // SERVER_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.serverName = iprot.readString(); struct.setServerNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // SPLIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 446 |
org/apache/accumulo/core/security/thrift/Credential.java | 523 |
org/apache/accumulo/core/security/thrift/Credentials.java | 446 |
org.apache.thrift.TBaseHelper.toString(this.password, sb); } first = false; if (!first) sb.append(", "); sb.append("instanceId:"); if (this.instanceId == null) { sb.append("null"); } else { sb.append(this.instanceId); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class AuthInfoStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4164 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5286 |
case 2: // NSTE return NSTE; case 3: // TMFE return TMFE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6714 |
public ActiveScan setColumns(List<org.apache.accumulo.core.data.thrift.TColumn> columns) { this.columns = columns; return this; } public void unsetColumns() { this.columns = null; } /** Returns true if field columns is set (has been assigned a value) and false otherwise */ public boolean isSetColumns() { return this.columns != null; } public void setColumnsIsSet(boolean value) { if (!value) { this.columns = null; } } public int getSsiListSize() { return (this.ssiList == null) ? 0 : this.ssiList.size(); } public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() { return (this.ssiList == null) ? null : this.ssiList.iterator(); } public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) { if (this.ssiList == null) { this.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); } this.ssiList.add(elem); } public List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() { return this.ssiList; } public ActiveScan setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8159 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22782 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 243 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11487 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13866 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20846 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22845 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26228 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 282 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 282 |
StringBuilder sb = new StringBuilder("NotServingTabletException("); boolean first = true; sb.append("extent:"); if (this.extent == null) { sb.append("null"); } else { sb.append(this.extent); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class NotServingTabletExceptionStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15663 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
public boolean equals(hasTablePermission_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) return false; if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_tblPerm = true; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1836 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5843 |
public boolean equals(setTableProperty_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) return false; if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_property = true && this.isSetProperty(); boolean that_present_property = true && that.isSetProperty(); if (this_present_property || that_present_property) { if (!(this_present_property && that_present_property)) return false; if (!this.property.equals(that.property)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5367 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20931 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22555 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4145 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5367 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6489 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16147 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17244 |
sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/IterInfo.java | 91 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 96 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PRIORITY_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("priority", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); tmpMap.put(_Fields.CLASS_NAME, new org.apache.thrift.meta_data.FieldMetaData("className", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
public boolean equals(loadTablet_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } boolean this_present_extent = true && this.isSetExtent(); boolean that_present_extent = true && that.isSetExtent(); if (this_present_extent || that_present_extent) { if (!(this_present_extent && that_present_extent)) return false; if (!this.extent.equals(that.extent)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18424 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20648 |
case 2: // TABLE_ID if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableId = iprot.readString(); struct.setTableIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 5: // START_ROW if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.startRow = iprot.readBinary(); struct.setStartRowIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 6: // END_ROW if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.endRow = iprot.readBinary(); struct.setEndRowIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, flush_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 127 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 166 |
JobConf job = new JobConf(); AccumuloInputFormat.addIterator(job, someSetting); List<IteratorSetting> list = AccumuloInputFormat.getIterators(job); assertEquals(1, list.size()); assertEquals(1, list.get(0).getOptions().size()); assertEquals(list.get(0).getOptions().get(key), value); someSetting.addOption(key + "2", value); someSetting.setPriority(2); someSetting.setName("it2"); AccumuloInputFormat.addIterator(job, someSetting); list = AccumuloInputFormat.getIterators(job); assertEquals(2, list.size()); assertEquals(1, list.get(0).getOptions().size()); assertEquals(list.get(0).getOptions().get(key), value); assertEquals(2, list.get(1).getOptions().size()); assertEquals(list.get(1).getOptions().get(key), value); assertEquals(list.get(1).getOptions().get(key + "2"), value); } /** * Test getting iterator settings for multiple iterators set * * @throws IOException */ @Test public void testGetIteratorSettings() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2315 |
public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16061 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16873 |
public ThriftTableOperationException tope; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"), TOPE((short)2, "tope"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5434 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16489 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImportFiles_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7678 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8598 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13668 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14840 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 682 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11926 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14305 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7800 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10456 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14627 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21285 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23284 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26667 |
public boolean success; // required public org.apache.accumulo.core.security.thrift.ThriftSecurityException sec; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), SEC((short)1, "sec"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6060 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23331 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 631 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1231 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1836 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 982 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7032 |
if (!this.extent.equals(that.extent)) return false; } boolean this_present_columns = true && this.isSetColumns(); boolean that_present_columns = true && that.isSetColumns(); if (this_present_columns || that_present_columns) { if (!(this_present_columns && that_present_columns)) return false; if (!this.columns.equals(that.columns)) return false; } boolean this_present_ssiList = true && this.isSetSsiList(); boolean that_present_ssiList = true && that.isSetSsiList(); if (this_present_ssiList || that_present_ssiList) { if (!(this_present_ssiList && that_present_ssiList)) return false; if (!this.ssiList.equals(that.ssiList)) return false; } boolean this_present_ssio = true && this.isSetSsio(); boolean that_present_ssio = true && that.isSetSsio(); if (this_present_ssio || that_present_ssio) { if (!(this_present_ssio && that_present_ssio)) return false; if (!this.ssio.equals(that.ssio)) return false; } boolean this_present_authorizations = true && this.isSetAuthorizations(); boolean that_present_authorizations = true && that.isSetAuthorizations(); if (this_present_authorizations || that_present_authorizations) { if (!(this_present_authorizations && that_present_authorizations)) return false; if (!this.authorizations.equals(that.authorizations)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18551 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20775 |
public void read(org.apache.thrift.protocol.TProtocol prot, flush_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } if (incoming.get(3)) { struct.tableId = iprot.readString(); struct.setTableIdIsSet(true); } if (incoming.get(4)) { struct.startRow = iprot.readBinary(); struct.setStartRowIsSet(true); } if (incoming.get(5)) { struct.endRow = iprot.readBinary(); struct.setEndRowIsSet(true); } } } } public static class flushTablet_args implements org.apache.thrift.TBase<flushTablet_args, flushTablet_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9632 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15874 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19230 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4884 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13653 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16779 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17525 |
public void read(org.apache.thrift.protocol.TProtocol iprot, createUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_CREATE |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7536 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11532 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12553 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18135 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6029 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10023 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12891 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13053 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18388 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15607 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16734 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19056 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19725 |
org.apache.thrift.TBaseHelper.toString(this.splitPoint, sb); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class splitTablet_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10609 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13528 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2172 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7090 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9005 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10966 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16732 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17852 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14365 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22170 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24169 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25089 |
public void read(org.apache.thrift.protocol.TProtocol iprot, dropUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 94 |
org/apache/accumulo/core/security/thrift/Credentials.java | 89 |
case 4: // INSTANCE_ID return INSTANCE_ID; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TOKEN_CLASS, new org.apache.thrift.meta_data.FieldMetaData("tokenClass", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2342 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10481 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10609 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13528 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2172 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7090 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9005 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10966 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16732 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17852 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14365 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22170 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24169 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25089 |
public void read(org.apache.thrift.protocol.TProtocol iprot, dropUser_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19335 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20555 |
public void write(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetPrincipal()) { optionals.set(2); } if (struct.isSetTableName()) { optionals.set(3); } if (struct.isSetPermission()) { optionals.set(4); } oprot.writeBitSet(optionals, 5); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetPrincipal()) { oprot.writeString(struct.principal); } if (struct.isSetTableName()) { oprot.writeString(struct.tableName); } if (struct.isSetPermission()) { oprot.writeByte(struct.permission); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6060 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23331 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 631 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1231 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1836 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2342 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14330 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10481 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SUCCESS_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2632 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3232 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3832 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21708 |
StringBuilder sb = new StringBuilder("getRootTabletLocation_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getRootTabletLocation_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5361 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16424 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2678 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17238 |
first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6974 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10050 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10970 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11895 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12969 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17499 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18517 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7451 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8369 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9387 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10407 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11327 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18211 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24530 |
StringBuilder sb = new StringBuilder("ping_result("); boolean first = true; sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ping_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26692 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); |
File | Line |
---|---|
org/apache/accumulo/core/data/MutationTest.java | 191 |
org/apache/accumulo/core/data/MutationTest.java | 223 |
org/apache/accumulo/core/data/MutationTest.java | 255 |
org/apache/accumulo/core/data/MutationTest.java | 286 |
assertEquals(8, m.size()); List<ColumnUpdate> updates = m.getUpdates(); assertEquals(8, m.size()); assertEquals(8, updates.size()); assertEquals(updates.get(0), "cf1", "cq1", "", 0l, false, false, "v1"); assertEquals(updates.get(1), "cf2", "cq2", "cv2", 0l, false, false, "v2"); assertEquals(updates.get(2), "cf3", "cq3", "", 3l, true, false, "v3"); assertEquals(updates.get(3), "cf4", "cq4", "cv4", 4l, true, false, "v4"); assertEquals(updates.get(4), "cf5", "cq5", "", 0l, false, true, ""); assertEquals(updates.get(5), "cf6", "cq6", "cv6", 0l, false, true, ""); assertEquals(updates.get(6), "cf7", "cq7", "", 7l, true, true, ""); assertEquals(updates.get(7), "cf8", "cq8", "cv8", 8l, true, true, ""); } public void testPutsString() { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 91 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 94 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.USER, new org.apache.thrift.meta_data.FieldMetaData("user", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PASSWORD, new org.apache.thrift.meta_data.FieldMetaData("password", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20659 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3873 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5095 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6217 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15875 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21310 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16605 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17623 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("grantSystemPermission_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField PERMISSION_FIELD_DESC = new org.apache.thrift.protocol.TField("permission", org.apache.thrift.protocol.TType.BYTE, (short)3); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new grantSystemPermission_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19255 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flushTablet_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new flushTablet_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormatTest.java | 183 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormatTest.java | 176 |
Connector c = mockInstance.getConnector("root", ""); c.tableOperations().create(TEST_TABLE_1); c.tableOperations().create(TEST_TABLE_2); BatchWriter bw = c.createBatchWriter(TEST_TABLE_1, new BatchWriterConfig()); for (int i = 0; i < 100; i++) { Mutation m = new Mutation(new Text(String.format("%09x", i + 1))); m.put(new Text(), new Text(), new Value(String.format("%09x", i).getBytes())); bw.addMutation(m); } bw.close(); MRTester.main(new String[] {"root", "", TEST_TABLE_1, TEST_TABLE_2}); assertNull(e1); Scanner scanner = c.createScanner(TEST_TABLE_2, new Authorizations()); Iterator<Entry<Key,Value>> iter = scanner.iterator(); assertTrue(iter.hasNext()); Entry<Key,Value> entry = iter.next(); assertEquals(Integer.parseInt(new String(entry.getValue().get())), 100); assertFalse(iter.hasNext()); } } |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 186 |
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 224 |
otherColumnFamilies[1] = new Text("B"); otherColumnFamilies[2] = new Text("D"); otherColumnFamilies[3] = new Text("F"); float hitRatio = 0.5f; HashSet<Text> docs = new HashSet<Text>(); SortedKeyValueIterator<Key,Value> source = createIteratorStack(hitRatio, NUM_ROWS, NUM_DOCIDS, columnFamilies, otherColumnFamilies, docs); IteratorSetting is = new IteratorSetting(1, IndexedDocIterator.class); IndexedDocIterator.setColumnFamilies(is, columnFamilies); IndexedDocIterator.setColfs(is, indexColf.toString(), docColfPrefix); IndexedDocIterator iter = new IndexedDocIterator(); iter.init(source, is.getOptions(), env); iter.seek(new Range(), EMPTY_COL_FAMS, false); int hitCount = 0; while (iter.hasTop()) { hitCount++; Key k = iter.getTopKey(); Value v = iter.getTopValue(); // System.out.println(k.toString()); // System.out.println(iter.getDocID(k)); Text d = IndexedDocIterator.parseDocID(k); assertTrue(docs.contains(d)); assertTrue(new String(v.get()).endsWith(" docID=" + d)); iter.next(); } assertEquals(hitCount, docs.size()); cleanup(); } public void test2() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.java | 478 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormat.java | 482 |
public void close(Reporter reporter) throws IOException { log.debug("mutations written: " + mutCount + ", values written: " + valCount); if (simulate) return; try { mtbw.close(); } catch (MutationsRejectedException e) { if (e.getAuthorizationFailuresMap().size() >= 0) { HashMap<String,Set<SecurityErrorCode>> tables = new HashMap<String,Set<SecurityErrorCode>>(); for (Entry<KeyExtent,Set<SecurityErrorCode>> ke : e.getAuthorizationFailuresMap().entrySet()) { Set<SecurityErrorCode> secCodes = tables.get(ke.getKey().getTableId().toString()); if (secCodes == null) { secCodes = new HashSet<SecurityErrorCode>(); tables.put(ke.getKey().getTableId().toString(), secCodes); } secCodes.addAll(ke.getValue()); } log.error("Not authorized to write to tables : " + tables); } if (e.getConstraintViolationSummaries().size() > 0) { log.error("Constraint violations : " + e.getConstraintViolationSummaries().size()); } } } } @Override public void checkOutputSpecs(FileSystem ignored, JobConf job) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6854 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9930 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10850 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11775 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17379 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18397 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7331 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8249 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9267 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10287 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11207 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18091 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24410 |
public ping_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SEC: return getSec(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SEC: return isSetSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof ping_result) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 162 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 162 |
public NotServingTabletException setExtent(org.apache.accumulo.core.data.thrift.TKeyExtent extent) { this.extent = extent; return this; } public void unsetExtent() { this.extent = null; } /** Returns true if field extent is set (has been assigned a value) and false otherwise */ public boolean isSetExtent() { return this.extent != null; } public void setExtentIsSet(boolean value) { if (!value) { this.extent = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case EXTENT: if (value == null) { unsetExtent(); } else { setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case EXTENT: return getExtent(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case EXTENT: return isSetExtent(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof NotServingTabletException) |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
case 5: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 6: // START_ROW |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6977 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8919 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10053 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10973 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11898 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12972 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13991 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17502 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18520 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7454 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9390 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10410 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18214 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14948 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22631 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24533 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26014 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26988 |
sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ping_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10619 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13538 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10033 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10976 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PROPERTY if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.property = iprot.readString(); struct.setPropertyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15562 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17862 |
case 7: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // OPID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.opid = iprot.readI64(); struct.setOpidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2748 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4199 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5421 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6543 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16201 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17306 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, initiateFlush_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2431 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3631 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1123 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3438 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columns, typedOther.columns); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList()); if (lastComparison != 0) { return lastComparison; } if (isSetSsiList()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio()); if (lastComparison != 0) { return lastComparison; } if (isSetSsio()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthorizations()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4654 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5776 |
struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // NSTE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nste = new NotServingTabletException(); struct.nste.read(iprot); struct.setNsteIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TMFE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tmfe = new TooManyFilesException(); struct.tmfe.read(iprot); struct.setTmfeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, startScan_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10769 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11694 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12768 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17298 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18316 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20659 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3873 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5095 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6217 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7250 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8168 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9186 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10206 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11126 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24329 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4670 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14636 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15831 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17074 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18092 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19187 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20407 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3577 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7967 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8962 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15509 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16689 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17809 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14322 |
sb.append(this.setTime); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13638 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16158 |
public void read(org.apache.thrift.protocol.TProtocol iprot, update_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // NSTE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nste = new NotServingTabletException(); struct.nste.read(iprot); struct.setNsteIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4056 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2961 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14860 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13861 |
private static final int __SETTIME_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14253 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15376 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16691 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17709 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18732 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19952 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7656 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8579 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17498 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6472 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17024 |
private static final int __SYSPERM_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 707 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11951 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23309 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GCStatus.class))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10567 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12511 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13486 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 523 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2130 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4842 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5987 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7048 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9981 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10924 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11767 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14146 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10297 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18346 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20570 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21126 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22128 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23125 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24127 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25047 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25534 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26508 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27579 |
sb.append(this.credential); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class listUsers_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12421 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14549 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15726 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18005 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
changeAuthorizations_args typedOther = (changeAuthorizations_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6144 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23415 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 715 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1315 |
public isActive_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; } public void unsetSuccess() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Boolean)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return Boolean.valueOf(isSuccess()); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof isActive_result) |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3440 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5897 |
waitForFlush_args typedOther = (waitForFlush_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow()); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12756 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13500 |
reportSplitExtent_args typedOther = (reportSplitExtent_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetServerName()).compareTo(typedOther.isSetServerName()); if (lastComparison != 0) { return lastComparison; } if (isSetServerName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, typedOther.serverName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSplit()).compareTo(typedOther.isSetSplit()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4533 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14221 |
bulkImportFiles_args typedOther = (bulkImportFiles_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTid()).compareTo(typedOther.isSetTid()); if (lastComparison != 0) { return lastComparison; } if (isSetTid()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tid, typedOther.tid); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableId()).compareTo(typedOther.isSetTableId()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3381 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15517 |
startScan_args typedOther = (startScan_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetRange()).compareTo(typedOther.isSetRange()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4057 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14254 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15377 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16692 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17710 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18733 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19953 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2962 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7657 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8580 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14861 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16379 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17499 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2610 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6473 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17025 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17374 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18220 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20444 |
loadTablet_args typedOther = (loadTablet_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3318 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7041 |
if (this.batchSize != that.batchSize) return false; } boolean this_present_ssiList = true && this.isSetSsiList(); boolean that_present_ssiList = true && that.isSetSsiList(); if (this_present_ssiList || that_present_ssiList) { if (!(this_present_ssiList && that_present_ssiList)) return false; if (!this.ssiList.equals(that.ssiList)) return false; } boolean this_present_ssio = true && this.isSetSsio(); boolean that_present_ssio = true && that.isSetSsio(); if (this_present_ssio || that_present_ssio) { if (!(this_present_ssio && that_present_ssio)) return false; if (!this.ssio.equals(that.ssio)) return false; } boolean this_present_authorizations = true && this.isSetAuthorizations(); boolean that_present_authorizations = true && that.isSetAuthorizations(); if (this_present_authorizations || that_present_authorizations) { if (!(this_present_authorizations && that_present_authorizations)) return false; if (!this.authorizations.equals(that.authorizations)) return false; } boolean this_present_waitForWrites = true; boolean that_present_waitForWrites = true; if (this_present_waitForWrites || that_present_waitForWrites) { if (!(this_present_waitForWrites && that_present_waitForWrites)) return false; if (this.waitForWrites != that.waitForWrites) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8491 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11819 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14198 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10349 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21178 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23177 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26560 |
case 2: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, listUsers_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 1058 |
org/apache/accumulo/core/client/impl/TabletLocatorImplTest.java | 1091 |
runTest(metaCache, ml, emb); ml = nml(nm("a", "cf1:cq1=v1", "cf1:cq2=v2")); emb = cemb(nol("a", "l1", ke1)); runTest(metaCache, ml, emb); ml = nml(nm("a", "cf1:cq1=v1", "cf1:cq2=v2"), nm("a", "cf1:cq3=v3")); emb = cemb(nol("a", "l1", ke1), nol("a", "l1", ke1)); runTest(metaCache, ml, emb); ml = nml(nm("a", "cf1:cq1=v1", "cf1:cq2=v2"), nm("w", "cf1:cq3=v3")); emb = cemb(nol("a", "l1", ke1), nol("w", "l3", ke3)); runTest(metaCache, ml, emb); ml = nml(nm("a", "cf1:cq1=v1", "cf1:cq2=v2"), nm("w", "cf1:cq3=v3"), nm("z", "cf1:cq4=v4")); emb = cemb(nol("a", "l1", ke1), nol("w", "l3", ke3), nol("z", "l3", ke3)); runTest(metaCache, ml, emb); ml = nml(nm("h", "cf1:cq1=v1", "cf1:cq2=v2"), nm("t", "cf1:cq1=v1", "cf1:cq2=v2")); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1592 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 261 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 159 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1285 |
return (new Client(prot)).recv_checkClass(); } } } public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor<I> implements org.apache.thrift.TProcessor { private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName()); public Processor(I iface) { super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>())); } protected Processor(I iface, Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) { super(iface, getProcessMap(processMap)); } private static <I extends Iface> Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> getProcessMap(Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) { processMap.put("getRootTabletLocation", new getRootTabletLocation()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16426 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19707 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20927 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2680 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4141 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5363 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6485 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16143 |
sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16476 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2730 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14646 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10797 |
public void read(org.apache.thrift.protocol.TProtocol iprot, initiateFlush_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17014 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18032 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19119 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20339 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPermission()).compareTo(typedOther.isSetPermission()); if (lastComparison != 0) { return lastComparison; } if (isSetPermission()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.permission, typedOther.permission); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("grantSystemPermission_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6263 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23534 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 834 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1434 |
StringBuilder sb = new StringBuilder("isActive_result("); boolean first = true; sb.append("success:"); sb.append(this.success); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class isActive_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 717 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 341 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partNextKeyInclusive, typedOther.partNextKeyInclusive); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetMore()).compareTo(typedOther.isSetMore()); if (lastComparison != 0) { return lastComparison; } if (isSetMore()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.more, typedOther.more); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("MultiScanResult("); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TKeyValue.java | 330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4771 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9918 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, typedOther.key); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue()); if (lastComparison != 0) { return lastComparison; } if (isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, typedOther.value); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("TKeyValue("); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5924 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10869 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty()); if (lastComparison != 0) { return lastComparison; } if (isSetProperty()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("removeTableProperty_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5320 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16387 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19672 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20892 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22516 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2641 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4106 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5328 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16108 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17197 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope()); if (lastComparison != 0) { return lastComparison; } if (isSetTope()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tope, typedOther.tope); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("bulkImportFiles_result("); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 399 |
org/apache/accumulo/core/security/thrift/Credential.java | 468 |
org/apache/accumulo/core/security/thrift/Credentials.java | 399 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, typedOther.password); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetInstanceId()).compareTo(typedOther.isSetInstanceId()); if (lastComparison != 0) { return lastComparison; } if (isSetInstanceId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.instanceId, typedOther.instanceId); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("AuthInfo("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9524 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12448 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1143 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.toCreate, typedOther.toCreate); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthorizations()).compareTo(typedOther.isSetAuthorizations()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthorizations()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizations, typedOther.authorizations); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("createUser_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14258 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorDir, typedOther.errorDir); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSetTime()).compareTo(typedOther.isSetSetTime()); if (lastComparison != 0) { return lastComparison; } if (isSetSetTime()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.setTime, typedOther.setTime); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("bulkImportFiles_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4058 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7179 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11175 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13174 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18734 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19954 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1818 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2963 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4386 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5603 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6728 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7658 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8581 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9597 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10612 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12462 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13144 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14862 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16380 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17500 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2611 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6474 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12621 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13863 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16350 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17796 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18672 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19341 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20020 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21816 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23815 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24735 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27247 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12421 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14549 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15726 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18005 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
dropUser_args typedOther = (dropUser_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPrincipal()).compareTo(typedOther.isSetPrincipal()); if (lastComparison != 0) { return lastComparison; } if (isSetPrincipal()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.principal, typedOther.principal); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2058 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3440 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5897 |
initiateFlush_args typedOther = (initiateFlush_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9891 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10852 |
setSystemProperty_args typedOther = (setSystemProperty_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty()); if (lastComparison != 0) { return lastComparison; } if (isSetProperty()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.property, typedOther.property); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17740 |
executeTableOperation_args typedOther = (executeTableOperation_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOpid()).compareTo(typedOther.isSetOpid()); if (lastComparison != 0) { return lastComparison; } if (isSetOpid()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opid, typedOther.opid); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17374 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18220 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20444 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24055 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24975 |
loadTablet_args typedOther = (loadTablet_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLock()).compareTo(typedOther.isSetLock()); if (lastComparison != 0) { return lastComparison; } if (isSetLock()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lock, typedOther.lock); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5001 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22256 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16898 |
case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1159 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1262 |
sb.append(this.ssio); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ActiveCompactionStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19372 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20592 |
public void read(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(4)) { struct.permission = iprot.readByte(); struct.setPermissionIsSet(true); } } } } public static class grantTablePermission_result implements org.apache.thrift.TBase<grantTablePermission_result, grantTablePermission_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16494 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19765 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20985 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImportFiles_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5887 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5102 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6224 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8565 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9483 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11932 |
sb.append(this.tid); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class isActive_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2410 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3010 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3610 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6039 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21461 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23310 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 610 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1210 |
public String success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"); private static final Map<String, _Fields> byName = new HashMap<String, _Fields>(); static { for (_Fields field : EnumSet.allOf(_Fields.class)) { byName.put(field.getFieldName(), field); } } /** * Find the _Fields constant that matches fieldId, or null if its not found. */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7017 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10093 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11013 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11938 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13012 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17542 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18560 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7494 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8412 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9430 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11370 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24573 |
public void read(org.apache.thrift.protocol.TProtocol iprot, ping_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, ping_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4058 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8199 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18734 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19954 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 283 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2963 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7658 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8581 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11527 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13906 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14862 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16380 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17500 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2611 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6474 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10057 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13863 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20886 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22885 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25294 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26268 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 328 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 328 |
public void read(org.apache.thrift.protocol.TProtocol iprot, NotServingTabletException struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, NotServingTabletException struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 155 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 194 |
JobConf job = new JobConf(); AccumuloInputFormat.addIterator(job, new IteratorSetting(1, "WholeRow", "org.apache.accumulo.core.iterators.WholeRowIterator")); AccumuloInputFormat.addIterator(job, new IteratorSetting(2, "Versions", "org.apache.accumulo.core.iterators.VersioningIterator")); AccumuloInputFormat.addIterator(job, new IteratorSetting(3, "Count", "org.apache.accumulo.core.iterators.CountingIterator")); List<IteratorSetting> list = AccumuloInputFormat.getIterators(job); // Check the list size assertTrue(list.size() == 3); // Walk the list and make sure our settings are correct IteratorSetting setting = list.get(0); assertEquals(1, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.WholeRowIterator", setting.getIteratorClass()); assertEquals("WholeRow", setting.getName()); setting = list.get(1); assertEquals(2, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.VersioningIterator", setting.getIteratorClass()); assertEquals("Versions", setting.getName()); setting = list.get(2); assertEquals(3, setting.getPriority()); assertEquals("org.apache.accumulo.core.iterators.CountingIterator", setting.getIteratorClass()); assertEquals("Count", setting.getName()); } @Test public void testSetRegex() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15795 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19151 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20371 |
StringBuilder sb = new StringBuilder("hasTablePermission_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; if (!first) sb.append(", "); sb.append("tableName:"); if (this.tableName == null) { sb.append("null"); } else { sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("tblPerm:"); |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 987 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12231 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4592 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5714 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8105 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9023 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12390 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23589 |
sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (success != null) { success.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getStatus_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2431 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3631 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8623 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22258 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 707 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11951 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23309 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26692 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 287 |
org/apache/accumulo/core/data/RangeTest.java | 359 |
Range rowRange = new Range(new Text("r1"), new Text("r2")); assertTrue(rowRange.contains(new Key(new Text("r1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); assertFalse(rowRange.contains(new Key(new Text("r0")))); |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 377 |
org/apache/accumulo/core/data/RangeTest.java | 395 |
Range rowRange = new Range(null, true, new Text("r2"), true); assertTrue(rowRange.contains(new Key(new Text("r1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r0")))); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloFileOutputFormatTest.java | 72 |
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormatTest.java | 66 |
Connector c = mockInstance.getConnector("root", new byte[0]); c.tableOperations().create(EMPTY_TABLE); c.tableOperations().create(TEST_TABLE); c.tableOperations().create(BAD_TABLE); BatchWriter bw = c.createBatchWriter(TEST_TABLE, new BatchWriterConfig()); Mutation m = new Mutation("Key"); m.put("", "", ""); bw.addMutation(m); bw.close(); bw = c.createBatchWriter(BAD_TABLE, new BatchWriterConfig()); m = new Mutation("r1"); m.put("cf1", "cq1", "A&B"); m.put("cf1", "cq1", "A&B"); m.put("cf1", "cq2", "A&"); bw.addMutation(m); bw.close(); } @AfterClass public static void teardown() throws IOException { folder.delete(); } @Test public void testEmptyWrite() throws Exception { handleWriteTests(false); } @Test public void testRealWrite() throws Exception { handleWriteTests(true); } private static class MRTester extends Configured implements Tool { private static class BadKeyMapper implements Mapper<Key,Value,Key,Value> { |
File | Line |
---|---|
org/apache/accumulo/core/file/blockfile/cache/TestCachedBlockQueue.java | 28 |
org/apache/accumulo/core/file/blockfile/cache/TestCachedBlockQueue.java | 71 |
public void testQueue() throws Exception { CachedBlock cb1 = new CachedBlock(1000, "cb1", 1); CachedBlock cb2 = new CachedBlock(1500, "cb2", 2); CachedBlock cb3 = new CachedBlock(1000, "cb3", 3); CachedBlock cb4 = new CachedBlock(1500, "cb4", 4); CachedBlock cb5 = new CachedBlock(1000, "cb5", 5); CachedBlock cb6 = new CachedBlock(1750, "cb6", 6); CachedBlock cb7 = new CachedBlock(1000, "cb7", 7); CachedBlock cb8 = new CachedBlock(1500, "cb8", 8); CachedBlock cb9 = new CachedBlock(1000, "cb9", 9); CachedBlock cb10 = new CachedBlock(1500, "cb10", 10); CachedBlockQueue queue = new CachedBlockQueue(10000, 1000); queue.add(cb1); queue.add(cb2); queue.add(cb3); queue.add(cb4); queue.add(cb5); queue.add(cb6); queue.add(cb7); queue.add(cb8); queue.add(cb9); queue.add(cb10); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10450 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13369 |
public boolean equals(dropUser_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(dropUser_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2603 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3203 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3803 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6234 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21679 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23505 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 805 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1405 |
getRootTabletLocation_result typedOther = (getRootTabletLocation_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getRootTabletLocation_result("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5258 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17135 |
public boolean equals(bulkImportFiles_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); boolean that_present_tope = true && that.isSetTope(); if (this_present_tope || that_present_tope) { if (!(this_present_tope && that_present_tope)) return false; if (!this.tope.equals(that.tope)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(bulkImportFiles_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6945 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10021 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10941 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11866 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12940 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17470 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18488 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8340 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9358 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11298 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18182 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24501 |
ping_result typedOther = (ping_result)other; lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("ping_result("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24930 |
public boolean equals(halt_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(halt_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 253 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 253 |
NotServingTabletException typedOther = (NotServingTabletException)other; lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("NotServingTabletException("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1230 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7217 |
sb.append(this.extent); } first = false; if (!first) sb.append(", "); sb.append("columns:"); if (this.columns == null) { sb.append("null"); } else { sb.append(this.columns); } first = false; if (!first) sb.append(", "); sb.append("ssiList:"); if (this.ssiList == null) { sb.append("null"); } else { sb.append(this.ssiList); } first = false; if (!first) sb.append(", "); sb.append("ssio:"); if (this.ssio == null) { sb.append("null"); } else { sb.append(this.ssio); } first = false; if (!first) sb.append(", "); sb.append("authorizations:"); if (this.authorizations == null) { sb.append("null"); } else { sb.append(this.authorizations); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2512 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3112 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3712 |
public getRootTabletLocation_result setSuccess(String success) { this.success = success; return this; } public void unsetSuccess() { this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { return this.success != null; } public void setSuccessIsSet(boolean value) { if (!value) { this.success = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((String)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getRootTabletLocation_result) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22073 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2080 |
lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; } if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getTableConfiguration_args("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8981 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9830 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12348 |
lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi()); if (lastComparison != 0) { return lastComparison; } if (isSetNssi()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("continueMultiScan_result("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16905 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19227 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19896 |
public void read(org.apache.thrift.protocol.TProtocol prot, loadTablet_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } if (incoming.get(3)) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } } } } public static class unloadTablet_args implements org.apache.thrift.TBase<unloadTablet_args, unloadTablet_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6588 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8397 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 481 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11725 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14104 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21084 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23083 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25492 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26466 |
lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("ping_args("); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6947 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7943 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8881 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10023 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10943 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11868 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12942 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13953 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17472 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18490 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 945 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7424 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8342 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9360 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10380 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11300 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14570 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18184 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10721 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14910 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21548 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22593 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23547 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24503 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25976 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26950 |
lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("ping_result("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16676 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18998 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19667 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 255 |
lastComparison = Boolean.valueOf(isSetExtent()).compareTo(typedOther.isSetExtent()); if (lastComparison != 0) { return lastComparison; } if (isSetExtent()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extent, typedOther.extent); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("NotServingTabletException("); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 212 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 278 |
public void test3() throws IOException { Encoder<Long> encoder = LongCombiner.FIXED_LEN_ENCODER; TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that aggregate nkv(tm1, 1, 1, 1, 1, false, 2l, encoder); nkv(tm1, 1, 1, 1, 2, false, 3l, encoder); nkv(tm1, 1, 1, 1, 3, false, 4l, encoder); // keys that do not aggregate nkv(tm1, 2, 2, 1, 1, false, 2l, encoder); nkv(tm1, 2, 2, 1, 2, false, 3l, encoder); Combiner ai = new SummingCombiner(); IteratorSetting is = new IteratorSetting(1, SummingCombiner.class); LongCombiner.setEncodingType(is, FixedLenEncoder.class.getName()); Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf001"))); ai.init(new SortedMapIterator(tm1), is.getOptions(), null); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15285 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18641 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19861 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("hasTablePermission_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField TBL_PERM_FIELD_DESC = new org.apache.thrift.protocol.TField("tblPerm", org.apache.thrift.protocol.TType.BYTE, (short)4); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 232 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 301 |
ai.init(new SortedMapIterator(tm1), is.getOptions(), null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 1), ai.getTopKey()); assertEquals("2", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertFalse(ai.hasTop()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17209 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18227 |
public void write(org.apache.thrift.protocol.TProtocol prot, grantSystemPermission_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetPrincipal()) { optionals.set(2); } if (struct.isSetPermission()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetPrincipal()) { oprot.writeString(struct.principal); } if (struct.isSetPermission()) { oprot.writeByte(struct.permission); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, grantSystemPermission_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7981 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15143 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16438 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2114 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 441 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 441 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2692 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14608 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 968 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1074 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 543 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10759 |
sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class authenticateUser_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16874 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19196 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19865 |
public void write(org.apache.thrift.protocol.TProtocol prot, loadTablet_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetLock()) { optionals.set(2); } if (struct.isSetExtent()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetLock()) { oprot.writeString(struct.lock); } if (struct.isSetExtent()) { struct.extent.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, loadTablet_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16831 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18904 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20124 |
public grantSystemPermission_args setPermission(byte permission) { this.permission = permission; setPermissionIsSet(true); return this; } public void unsetPermission() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PERMISSION_ISSET_ID); } /** Returns true if field permission is set (has been assigned a value) and false otherwise */ public boolean isSetPermission() { return EncodingUtils.testBit(__isset_bitfield, __PERMISSION_ISSET_ID); } public void setPermissionIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PERMISSION_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case PERMISSION: |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TColumn.java | 476 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 476 |
org.apache.thrift.TBaseHelper.toString(this.columnVisibility, sb); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class TColumnStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6267 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23538 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 838 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1438 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 288 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 385 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 515 |
org/apache/accumulo/core/data/thrift/TKey.java | 640 |
org/apache/accumulo/core/data/thrift/TMutation.java | 563 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 653 |
org/apache/accumulo/core/master/thrift/Compacting.java | 361 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 438 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 799 |
sb.append(this.success); first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class isActive_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14043 |
public bulkImportFiles_args setSetTime(boolean setTime) { this.setTime = setTime; setSetTimeIsSet(true); return this; } public void unsetSetTime() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SETTIME_ISSET_ID); } /** Returns true if field setTime is set (has been assigned a value) and false otherwise */ public boolean isSetSetTime() { return EncodingUtils.testBit(__isset_bitfield, __SETTIME_ISSET_ID); } public void setSetTimeIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SETTIME_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TID: if (value == null) { unsetTid(); } else { setTid((Long)value); } break; case TABLE_ID: |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6268 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7983 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16440 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23539 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 839 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1439 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2116 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 443 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 289 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 386 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 516 |
org/apache/accumulo/core/data/thrift/TKey.java | 641 |
org/apache/accumulo/core/data/thrift/TMutation.java | 564 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 654 |
org/apache/accumulo/core/master/thrift/Compacting.java | 362 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 443 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2694 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14610 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 970 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 439 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1076 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 800 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 545 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10761 |
first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class isActive_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2311 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2911 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3511 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 511 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1111 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1711 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18492 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 207 |
StringBuilder sb = new StringBuilder("getRootTabletLocation_args("); boolean first = true; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getRootTabletLocation_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1598 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 267 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 165 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1291 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1854 |
public static class Processor<I extends Iface> extends org.apache.thrift.TBaseProcessor<I> implements org.apache.thrift.TProcessor { private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName()); public Processor(I iface) { super(iface, getProcessMap(new HashMap<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>>())); } protected Processor(I iface, Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) { super(iface, getProcessMap(processMap)); } private static <I extends Iface> Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> getProcessMap(Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) { processMap.put("getRootTabletLocation", new getRootTabletLocation()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2639 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3239 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3839 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5375 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6981 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8923 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10057 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10977 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11902 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12976 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13995 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17506 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18524 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19719 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20939 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21336 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21715 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22107 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22563 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 629 |
org/apache/accumulo/core/data/thrift/TColumn.java | 476 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 476 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 513 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4153 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5375 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6497 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7458 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8376 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9394 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10414 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11334 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16155 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17252 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18218 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18897 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 289 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 454 |
org/apache/accumulo/core/security/thrift/Credential.java | 531 |
org/apache/accumulo/core/security/thrift/Credentials.java | 454 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 382 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 309 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 309 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9864 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13602 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14952 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16122 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24537 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26018 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26992 |
sb.append(this.success); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getRootTabletLocation_resultStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4803 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5956 |
StringBuilder sb = new StringBuilder("setTableProperty_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("tableName:"); if (this.tableName == null) { sb.append("null"); } else { sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("property:"); if (this.property == null) { sb.append("null"); } else { sb.append(this.property); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16703 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17443 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19694 |
StringBuilder sb = new StringBuilder("loadTablet_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; if (!first) sb.append(", "); sb.append("extent:"); if (this.extent == null) { sb.append("null"); } else { sb.append(this.extent); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 309 |
org/apache/accumulo/core/data/RangeTest.java | 327 |
assertFalse(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertFalse(rowRange.contains(new Key(new Text("r2")))); assertFalse(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertFalse(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); assertFalse(rowRange.contains(new Key(new Text("r0")))); assertFalse(rowRange.contains(new Key(new Text("r2")).followingKey(PartialKey.ROW))); } public void testRow4() { |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 291 |
org/apache/accumulo/core/data/RangeTest.java | 345 |
assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); assertFalse(rowRange.contains(new Key(new Text("r0")))); assertFalse(rowRange.contains(new Key(new Text("r2")).followingKey(PartialKey.ROW))); } public void testRow3() { |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 359 |
org/apache/accumulo/core/data/RangeTest.java | 377 |
Range rowRange = new Range(new Text("r1"), true, null, true); assertTrue(rowRange.contains(new Key(new Text("r1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 664 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2985 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6788 |
public ActiveScan setSsio(Map<String,Map<String,String>> ssio) { this.ssio = ssio; return this; } public void unsetSsio() { this.ssio = null; } /** Returns true if field ssio is set (has been assigned a value) and false otherwise */ public boolean isSetSsio() { return this.ssio != null; } public void setSsioIsSet(boolean value) { if (!value) { this.ssio = null; } } public int getAuthorizationsSize() { return (this.authorizations == null) ? 0 : this.authorizations.size(); } public java.util.Iterator<ByteBuffer> getAuthorizationsIterator() { return (this.authorizations == null) ? null : this.authorizations.iterator(); } public void addToAuthorizations(ByteBuffer elem) { if (this.authorizations == null) { this.authorizations = new ArrayList<ByteBuffer>(); } this.authorizations.add(elem); } public List<ByteBuffer> getAuthorizations() { return this.authorizations; } public ActiveScan setAuthorizations(List<ByteBuffer> authorizations) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16933 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("loadTablet_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)4); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 287 |
org/apache/accumulo/core/data/RangeTest.java | 359 |
org/apache/accumulo/core/data/RangeTest.java | 377 |
org/apache/accumulo/core/data/RangeTest.java | 395 |
Range rowRange = new Range(new Text("r1"), new Text("r2")); assertTrue(rowRange.contains(new Key(new Text("r1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 233 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 376 |
ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 1), ai.getTopKey()); assertEquals("2", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertFalse(ai.hasTop()); // seek after key that aggregates ai.seek(nr(1, 1, 1, 2), EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2675 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3275 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3875 |
public void read(org.apache.thrift.protocol.TProtocol iprot, getRootTabletLocation_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getRootTabletLocation_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16016 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19372 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20592 |
public void read(org.apache.thrift.protocol.TProtocol prot, hasTablePermission_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(4)) { struct.tblPerm = iprot.readByte(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6304 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23575 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 875 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1475 |
public void read(org.apache.thrift.protocol.TProtocol iprot, isActive_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, isActive_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2314 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2642 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2914 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3242 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3514 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3842 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6984 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8926 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10060 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10980 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11905 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12979 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13998 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17509 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18527 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19722 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20942 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21339 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21718 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22110 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22566 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 632 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 514 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1114 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1714 |
org/apache/accumulo/core/data/thrift/TColumn.java | 479 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 479 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 516 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4156 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6500 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7461 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8379 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9397 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10417 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11337 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16158 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17255 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18221 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18495 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18900 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 292 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 457 |
org/apache/accumulo/core/security/thrift/Credential.java | 534 |
org/apache/accumulo/core/security/thrift/Credentials.java | 457 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 385 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 312 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 312 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 210 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9867 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14955 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16125 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22638 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24540 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26021 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26995 |
sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getRootTabletLocation_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/OfflineScanner.java | 71 |
org/apache/accumulo/core/client/mock/MockScannerBase.java | 64 |
static class OfflineIteratorEnvironment implements IteratorEnvironment { @Override public SortedKeyValueIterator<Key,Value> reserveMapFileReader(String mapFileName) throws IOException { throw new NotImplementedException(); } @Override public AccumuloConfiguration getConfig() { return AccumuloConfiguration.getDefaultConfiguration(); } @Override public IteratorScope getIteratorScope() { return IteratorScope.scan; } @Override public boolean isFullMajorCompaction() { return false; } private ArrayList<SortedKeyValueIterator<Key,Value>> topLevelIterators = new ArrayList<SortedKeyValueIterator<Key,Value>>(); @Override public void registerSideChannel(SortedKeyValueIterator<Key,Value> iter) { topLevelIterators.add(iter); } SortedKeyValueIterator<Key,Value> getTopLevelIterator(SortedKeyValueIterator<Key,Value> iter) { if (topLevelIterators.isEmpty()) return iter; ArrayList<SortedKeyValueIterator<Key,Value>> allIters = new ArrayList<SortedKeyValueIterator<Key,Value>>(topLevelIterators); allIters.add(iter); return new MultiIterator(allIters, false); } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16325 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2579 |
public boolean equals(hasTablePermission_result that) { if (that == null) return false; boolean this_present_success = true; boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (this.success != that.success) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); boolean that_present_tope = true && that.isSetTope(); if (this_present_tope || that_present_tope) { if (!(this_present_tope && that_present_tope)) return false; if (!this.tope.equals(that.tope)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(hasTablePermission_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10619 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13538 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10033 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13663 |
case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17695 |
public boolean equals(waitForTableOperation_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_opid = true; boolean that_present_opid = true; if (this_present_opid || that_present_opid) { if (!(this_present_opid && that_present_opid)) return false; if (this.opid != that.opid) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(waitForTableOperation_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7546 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9642 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11542 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15662 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.toAuthenticate = new org.apache.accumulo.core.security.thrift.Credential(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9015 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10976 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24179 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25099 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12367 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15663 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17951 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
public boolean equals(changeAuthorizations_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } boolean this_present_authorizations = true && this.isSetAuthorizations(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3359 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5843 |
public boolean equals(waitForFlush_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) return false; if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_startRow = true && this.isSetStartRow(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13437 |
public boolean equals(reportSplitExtent_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_serverName = true && this.isSetServerName(); boolean that_present_serverName = true && that.isSetServerName(); if (this_present_serverName || that_present_serverName) { if (!(this_present_serverName && that_present_serverName)) return false; if (!this.serverName.equals(that.serverName)) return false; } boolean this_present_split = true && this.isSetSplit(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 609 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 629 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2950 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6753 |
public ActiveCompaction setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) { this.ssiList = ssiList; return this; } public void unsetSsiList() { this.ssiList = null; } /** Returns true if field ssiList is set (has been assigned a value) and false otherwise */ public boolean isSetSsiList() { return this.ssiList != null; } public void setSsiListIsSet(boolean value) { if (!value) { this.ssiList = null; } } public int getSsioSize() { return (this.ssio == null) ? 0 : this.ssio.size(); } public void putToSsio(String key, Map<String,String> val) { if (this.ssio == null) { this.ssio = new HashMap<String,Map<String,String>>(); } this.ssio.put(key, val); } public Map<String,Map<String,String>> getSsio() { return this.ssio; } public ActiveCompaction setSsio(Map<String,Map<String,String>> ssio) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15463 |
public boolean equals(startScan_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_extent = true && this.isSetExtent(); boolean that_present_extent = true && that.isSetExtent(); if (this_present_extent || that_present_extent) { if (!(this_present_extent && that_present_extent)) return false; if (!this.extent.equals(that.extent)) return false; } boolean this_present_range = true && this.isSetRange(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18148 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20372 |
public boolean equals(loadTablet_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } boolean this_present_extent = true && this.isSetExtent(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/IterUtilTest.java | 118 |
org/apache/accumulo/core/iterators/IterUtilTest.java | 222 |
conf.set(Property.TABLE_ITERATOR_PREFIX + IteratorScope.minc.name() + ".addIter", "1," + AddingIter.class.getName()); conf.set(Property.TABLE_ITERATOR_PREFIX + IteratorScope.minc.name() + ".sqIter", "2," + SquaringIter.class.getName()); TreeMap<Key,Value> tm = new TreeMap<Key,Value>(); MultiIteratorTest.nkv(tm, 1, 0, false, "1"); MultiIteratorTest.nkv(tm, 2, 0, false, "2"); SortedMapIterator source = new SortedMapIterator(tm); SortedKeyValueIterator<Key,Value> iter = IteratorUtil.loadIterators(IteratorScope.minc, source, new KeyExtent(new Text("tab"), null, null), conf, new DefaultIteratorEnvironment(conf)); iter.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(iter.hasTop()); assertTrue(iter.getTopKey().equals(MultiIteratorTest.nk(1, 0))); assertTrue(iter.getTopValue().toString().equals("4")); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10450 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12367 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13369 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15663 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17951 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
public boolean equals(dropUser_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_principal = true && this.isSetPrincipal(); boolean that_present_principal = true && that.isSetPrincipal(); if (this_present_principal || that_present_principal) { if (!(this_present_principal && that_present_principal)) return false; if (!this.principal.equals(that.principal)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2013 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3359 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5843 |
public boolean equals(initiateFlush_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) return false; if (!this.tableName.equals(that.tableName)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9837 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10807 |
public boolean equals(setSystemProperty_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_property = true && this.isSetProperty(); boolean that_present_property = true && that.isSetProperty(); if (this_present_property || that_present_property) { if (!(this_present_property && that_present_property)) return false; if (!this.property.equals(that.property)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18148 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20372 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24930 |
public boolean equals(loadTablet_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_lock = true && this.isSetLock(); boolean that_present_lock = true && that.isSetLock(); if (this_present_lock || that_present_lock) { if (!(this_present_lock && that_present_lock)) return false; if (!this.lock.equals(that.lock)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16430 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22555 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2684 |
sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); if (this.tope == null) { sb.append("null"); } else { sb.append(this.tope); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 173 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 179 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TABLE_MAP, new org.apache.thrift.meta_data.FieldMetaData("tableMap", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TableInfo.class)))); tmpMap.put(_Fields.T_SERVER_INFO, new org.apache.thrift.meta_data.FieldMetaData("tServerInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 86 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 86 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4823 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5945 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8286 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9204 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __SCANID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SCAN_ID, new org.apache.thrift.meta_data.FieldMetaData("scanID", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10174 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13093 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("dropUser_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new dropUser_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16297 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17417 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForTableOperation_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField OPID_FIELD_DESC = new org.apache.thrift.protocol.TField("opid", org.apache.thrift.protocol.TType.I64, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new waitForTableOperation_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23734 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24654 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("halt_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new halt_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 302 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 376 |
ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 1), ai.getTopKey()); assertEquals("2", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertFalse(ai.hasTop()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18258 |
public void read(org.apache.thrift.protocol.TProtocol prot, grantSystemPermission_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { struct.permission = iprot.readByte(); struct.setPermissionIsSet(true); } } } } public static class grantSystemPermission_result implements org.apache.thrift.TBase<grantSystemPermission_result, grantSystemPermission_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 745 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 157 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 107 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 591 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "checkClass failed: unknown result"); } } public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface { public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> { private org.apache.thrift.async.TAsyncClientManager clientManager; private org.apache.thrift.protocol.TProtocolFactory protocolFactory; public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) { this.clientManager = clientManager; this.protocolFactory = protocolFactory; } public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) { return new AsyncClient(protocolFactory, clientManager, transport); } } public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) { super(protocolFactory, clientManager, transport); } public void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<getRootTabletLocation_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4999 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19435 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20655 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3869 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5091 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6213 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15871 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16896 |
case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14375 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17535 |
case 3: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // TID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7546 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9642 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10619 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11542 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13538 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7100 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8020 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9015 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10033 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13663 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15562 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7307 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15662 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24179 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25099 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7975 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8917 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13989 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15137 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14602 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10753 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14946 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22629 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26012 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26986 |
first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19293 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20513 |
public void write(org.apache.thrift.protocol.TProtocol oprot, grantTablePermission_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.principal != null) { oprot.writeFieldBegin(PRINCIPAL_FIELD_DESC); oprot.writeString(struct.principal); oprot.writeFieldEnd(); } if (struct.tableName != null) { oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); oprot.writeString(struct.tableName); oprot.writeFieldEnd(); } oprot.writeFieldBegin(PERMISSION_FIELD_DESC); oprot.writeByte(struct.permission); oprot.writeFieldEnd(); if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class grantTablePermission_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19755 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20975 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5411 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6533 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16191 |
public void read(org.apache.thrift.protocol.TProtocol iprot, grantTablePermission_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3555 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7227 |
first = false; if (!first) sb.append(", "); sb.append("ssiList:"); if (this.ssiList == null) { sb.append("null"); } else { sb.append(this.ssiList); } first = false; if (!first) sb.append(", "); sb.append("ssio:"); if (this.ssio == null) { sb.append("null"); } else { sb.append(this.ssio); } first = false; if (!first) sb.append(", "); sb.append("authorizations:"); if (this.authorizations == null) { sb.append("null"); } else { sb.append(this.authorizations); } first = false; if (!first) sb.append(", "); sb.append("waitForWrites:"); sb.append(this.waitForWrites); first = false; |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1038 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12282 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8156 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21641 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23640 |
struct.success = new GCStatus(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getStatus_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 67 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 56 |
static Key nk(int row, int colf, int colq, long ts, boolean deleted) { Key k = nk(row, colf, colq, ts); k.setDeleted(true); return k; } static Key nk(int row, int colf, int colq, long ts) { return new Key(nr(row), new Text(String.format("cf%03d", colf)), new Text(String.format("cq%03d", colq)), ts); } static Range nr(int row, int colf, int colq, long ts, boolean inclusive) { return new Range(nk(row, colf, colq, ts), inclusive, null, true); } static Range nr(int row, int colf, int colq, long ts) { return nr(row, colf, colq, ts, true); } static void nkv(TreeMap<Key,Value> tm, int row, int colf, int colq, long ts, boolean deleted, String val) { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 367 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 422 |
Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf001"))); ai.init(new SortedMapIterator(tm1), is.getOptions(), null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(0, 0, 1, 1), ai.getTopKey()); assertEquals("7", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 141 |
org/apache/accumulo/core/security/thrift/Credentials.java | 134 |
tmpMap.put(_Fields.TOKEN_CLASS, new org.apache.thrift.meta_data.FieldMetaData("tokenClass", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TOKEN, new org.apache.thrift.meta_data.FieldMetaData("token", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.INSTANCE_ID, new org.apache.thrift.meta_data.FieldMetaData("instanceId", 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(Credential.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4650 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13648 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // NSTE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nste = new NotServingTabletException(); struct.nste.read(iprot); struct.setNsteIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TMFE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tmfe = new TooManyFilesException(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 991 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3318 |
if (!this.columns.equals(that.columns)) return false; } boolean this_present_ssiList = true && this.isSetSsiList(); boolean that_present_ssiList = true && that.isSetSsiList(); if (this_present_ssiList || that_present_ssiList) { if (!(this_present_ssiList && that_present_ssiList)) return false; if (!this.ssiList.equals(that.ssiList)) return false; } boolean this_present_ssio = true && this.isSetSsio(); boolean that_present_ssio = true && that.isSetSsio(); if (this_present_ssio || that_present_ssio) { if (!(this_present_ssio && that_present_ssio)) return false; if (!this.ssio.equals(that.ssio)) return false; } boolean this_present_authorizations = true && this.isSetAuthorizations(); boolean that_present_authorizations = true && that.isSetAuthorizations(); if (this_present_authorizations || that_present_authorizations) { if (!(this_present_authorizations && that_present_authorizations)) return false; if (!this.authorizations.equals(that.authorizations)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19755 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20975 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5411 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6533 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16191 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13638 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16158 |
public void read(org.apache.thrift.protocol.TProtocol iprot, grantTablePermission_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14050 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22691 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26074 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27048 |
struct.success.add(_elem42); } iprot.readListEnd(); } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getUserAuthorizations_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21897 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1776 |
case 2: // TABLE_NAME return TABLE_NAME; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 89 |
org/apache/accumulo/core/security/thrift/Credentials.java | 89 |
case 3: // INSTANCE_ID return INSTANCE_ID; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.USER, new org.apache.thrift.meta_data.FieldMetaData("user", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5335 |
tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TMFE, new org.apache.thrift.meta_data.FieldMetaData("tmfe", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(startScan_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8741 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9654 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12108 |
case 1: // NSSI return NSSI; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1169 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1272 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17494 |
if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ActiveCompactionStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6412 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8157 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 241 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11485 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13864 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10015 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20844 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22843 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25252 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26226 |
case 1: // CREDENTIAL return CREDENTIAL; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6771 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8621 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9847 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10767 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11692 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12766 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13691 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17296 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18314 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 705 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7248 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8166 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9184 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10204 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11124 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11949 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7823 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14650 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21308 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22333 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23307 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24327 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25716 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26690 |
case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5927 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11433 |
public void read(org.apache.thrift.protocol.TProtocol iprot, isActive_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.tid = iprot.readI64(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9523 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11972 |
public void read(org.apache.thrift.protocol.TProtocol iprot, continueScan_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 2: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SCAN_ID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.scanID = iprot.readI64(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TKeyValue.java | 84 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4344 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9555 |
case 2: // VALUE return VALUE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.KEY, new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19437 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20657 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22256 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3871 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5093 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6215 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15873 |
case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 89 |
org/apache/accumulo/core/security/thrift/Credential.java | 94 |
case 3: // INSTANCE_ID return INSTANCE_ID; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.USER, new org.apache.thrift.meta_data.FieldMetaData("user", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 79 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16308 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18630 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19299 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 79 |
case 1: // EXTENT return EXTENT; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 143 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 67 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 59 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 123 |
public void checkClass(org.apache.accumulo.trace.thrift.TInfo tinfo, String className, String interfaceMatch, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkClass_call> resultHandler) throws org.apache.thrift.TException; } public static class Client extends org.apache.thrift.TServiceClient implements Iface { public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> { public Factory() {} public Client getClient(org.apache.thrift.protocol.TProtocol prot) { return new Client(prot); } public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { return new Client(iprot, oprot); } } public Client(org.apache.thrift.protocol.TProtocol prot) { super(prot, prot); } public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { super(iprot, oprot); } public String getRootTabletLocation() throws org.apache.thrift.TException |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15609 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16736 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17480 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19058 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19727 |
first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6632 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8452 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10580 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12524 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13499 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 536 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2143 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4855 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6000 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7061 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9994 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10937 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11780 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14159 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18359 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20583 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21139 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22141 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23138 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24140 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25060 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25547 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26521 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27592 |
if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ping_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15623 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16750 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19072 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19741 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 299 |
if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class NotServingTabletExceptionStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 53 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 183 |
public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8980 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14052 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26076 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27050 |
iprot.readSetEnd(); } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, listUsers_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1200 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 864 |
public void read(org.apache.thrift.protocol.TProtocol iprot, ActiveCompaction struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // AGE if (schemeField.type == org.apache.thrift.protocol.TType.I64) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15193 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10809 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, authenticateUser_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2431 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3631 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8159 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8623 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10769 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11694 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12768 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17298 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18316 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20659 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21120 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21899 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22258 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22782 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 117 |
org/apache/accumulo/core/data/thrift/TColumn.java | 91 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 91 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 86 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 91 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 243 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 707 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 96 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3873 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5095 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6217 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7250 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8168 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9186 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10206 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11126 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11487 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11951 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13866 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 81 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 86 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 91 |
org/apache/accumulo/core/security/thrift/Credential.java | 96 |
org/apache/accumulo/core/security/thrift/Credentials.java | 91 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 94 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9656 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20846 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22845 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23309 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24329 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26228 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26692 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 81 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 587 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2928 |
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ENTRIESWRITTEN_ISSET_ID, value); } public int getSsiListSize() { return (this.ssiList == null) ? 0 : this.ssiList.size(); } public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() { return (this.ssiList == null) ? null : this.ssiList.iterator(); } public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) { if (this.ssiList == null) { this.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); } this.ssiList.add(elem); } public List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() { return this.ssiList; } public ActiveCompaction setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 567 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2865 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6691 |
this.extent = null; } } public int getColumnsSize() { return (this.columns == null) ? 0 : this.columns.size(); } public java.util.Iterator<org.apache.accumulo.core.data.thrift.TColumn> getColumnsIterator() { return (this.columns == null) ? null : this.columns.iterator(); } public void addToColumns(org.apache.accumulo.core.data.thrift.TColumn elem) { if (this.columns == null) { this.columns = new ArrayList<org.apache.accumulo.core.data.thrift.TColumn>(); } this.columns.add(elem); } public List<org.apache.accumulo.core.data.thrift.TColumn> getColumns() { return this.columns; } public ActiveScan setColumns(List<org.apache.accumulo.core.data.thrift.TColumn> columns) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15193 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12283 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8157 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10809 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21642 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23641 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, authenticateUser_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8481 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 565 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11809 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14188 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9523 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10339 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11972 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23167 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25576 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26550 |
public void read(org.apache.thrift.protocol.TProtocol iprot, listUsers_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 2: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4713 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5927 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23173 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11433 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19101 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20612 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27621 |
public void read(org.apache.thrift.protocol.TProtocol iprot, bulkImportFiles_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1430 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1474 |
grantTablePermission_args args = new grantTablePermission_args(); args.setTinfo(tinfo); args.setCredential(credential); args.setPrincipal(principal); args.setTableName(tableName); args.setPermission(permission); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); (new Client(prot)).recv_grantTablePermission(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4452 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14158 |
public boolean equals(bulkImportFiles_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_tid = true; boolean that_present_tid = true; if (this_present_tid || that_present_tid) { if (!(this_present_tid && that_present_tid)) return false; if (this.tid != that.tid) return false; } boolean this_present_tableId = true && this.isSetTableId(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8032 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8982 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14054 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15194 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1040 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12284 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14659 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8158 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10810 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15012 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21643 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23642 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26078 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27052 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, authenticateUser_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15291 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17695 |
public boolean equals(executeTableOperation_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_opid = true; boolean that_present_opid = true; if (this_present_opid || that_present_opid) { if (!(this_present_opid && that_present_opid)) return false; if (this.opid != that.opid) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16907 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17670 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19898 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } if (incoming.get(3)) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4683 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5897 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14649 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15844 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17087 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19200 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20420 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 375 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 375 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 810 |
org/apache/accumulo/core/data/thrift/TRange.java | 674 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3590 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7980 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8975 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15522 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17822 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 1119 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1170 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1273 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5112 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6234 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7267 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8575 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9493 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11403 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11942 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17495 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 834 |
credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 59 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 271 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 588 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 608 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2929 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6732 |
} public int getSsiListSize() { return (this.ssiList == null) ? 0 : this.ssiList.size(); } public java.util.Iterator<org.apache.accumulo.core.data.thrift.IterInfo> getSsiListIterator() { return (this.ssiList == null) ? null : this.ssiList.iterator(); } public void addToSsiList(org.apache.accumulo.core.data.thrift.IterInfo elem) { if (this.ssiList == null) { this.ssiList = new ArrayList<org.apache.accumulo.core.data.thrift.IterInfo>(); } this.ssiList.add(elem); } public List<org.apache.accumulo.core.data.thrift.IterInfo> getSsiList() { return this.ssiList; } public ActiveCompaction setSsiList(List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9074 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12441 |
struct.success = new org.apache.accumulo.core.data.thrift.MultiScanResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // NSSI if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nssi = new NoSuchScanIDException(); struct.nssi.read(iprot); struct.setNssiIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, continueMultiScan_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17838 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20062 |
public flush_args(flush_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetLock()) { this.lock = other.lock; } if (other.isSetTableId()) { this.tableId = other.tableId; } if (other.isSetStartRow()) { this.startRow = org.apache.thrift.TBaseHelper.copyBinary(other.startRow); ; } if (other.isSetEndRow()) { this.endRow = org.apache.thrift.TBaseHelper.copyBinary(other.endRow); ; } } public flush_args deepCopy() { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6977 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7977 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10053 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10973 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11898 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12972 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17502 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18520 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7454 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9390 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10410 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14604 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18214 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10755 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24533 |
sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 148 |
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 177 |
otherColumnFamilies[1] = new Text("B"); otherColumnFamilies[2] = new Text("D"); otherColumnFamilies[3] = new Text("F"); float hitRatio = 0.5f; SortedKeyValueIterator<Key,Value> source = createIteratorStack(hitRatio, NUM_ROWS, NUM_DOCIDS, columnFamilies, otherColumnFamilies, docs); IteratorSetting is = new IteratorSetting(1, IntersectingIterator.class); IntersectingIterator.setColumnFamilies(is, columnFamilies); IntersectingIterator iter = new IntersectingIterator(); iter.init(source, is.getOptions(), env); iter.seek(new Range(), EMPTY_COL_FAMS, false); int hitCount = 0; while (iter.hasTop()) { hitCount++; Key k = iter.getTopKey(); assertTrue(docs.contains(k.getColumnQualifier())); iter.next(); } assertTrue(hitCount == docs.size()); cleanup(); } public void test2() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/data/ConstraintViolationSummary.java | 57 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 491 |
StringBuilder sb = new StringBuilder("ConstraintViolationSummary("); boolean first = true; sb.append("constrainClass:"); if (this.constrainClass == null) { sb.append("null"); } else { sb.append(this.constrainClass); } first = false; if (!first) sb.append(", "); sb.append("violationCode:"); sb.append(this.violationCode); first = false; if (!first) sb.append(", "); sb.append("violationDescription:"); if (this.violationDescription == null) { sb.append("null"); } else { sb.append(this.violationDescription); } first = false; if (!first) sb.append(", "); sb.append("numberOfViolatingMutations:"); sb.append(this.numberOfViolatingMutations); first = false; sb.append(")"); return sb.toString(); } public TConstraintViolationSummary toThrift() { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 216 |
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 283 |
TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that aggregate nkv(tm1, 1, 1, 1, 1, false, "2"); nkv(tm1, 1, 1, 1, 2, false, "3"); nkv(tm1, 1, 1, 1, 3, false, "4"); // keys that do not aggregate nkv(tm1, 2, 2, 1, 1, false, "2"); nkv(tm1, 2, 2, 1, 2, false, "3"); AggregatingIterator ai = new AggregatingIterator(); Map<String,String> opts = new HashMap<String,String>(); opts.put("cf001", SummationAggregator.class.getName()); ai.init(new SortedMapIterator(tm1), opts, null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2431 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2781 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3381 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3631 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8159 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8623 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10769 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11694 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12768 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17298 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18316 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20659 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21120 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21899 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22258 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22782 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 117 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 381 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 981 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1581 |
org/apache/accumulo/core/data/thrift/TColumn.java | 91 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 91 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 86 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 91 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 243 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 707 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 96 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3873 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5095 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6217 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7250 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8168 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9186 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10206 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11126 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11487 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11951 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13866 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18362 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 81 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 86 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 91 |
org/apache/accumulo/core/security/thrift/Credential.java | 96 |
org/apache/accumulo/core/security/thrift/Credentials.java | 91 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 94 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 77 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9656 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20846 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22845 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23309 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24329 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26228 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26692 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 81 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6633 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7508 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8453 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9604 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10581 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11504 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12525 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13500 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23145 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 388 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 537 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 998 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 540 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2144 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4856 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6001 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7062 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9995 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10938 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11781 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12242 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12863 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13625 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14160 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 397 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 300 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4603 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5725 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8116 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9034 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12401 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15624 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16751 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18360 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19073 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19742 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20584 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21140 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21601 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23139 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23600 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24141 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25061 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25548 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26522 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27593 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 300 |
credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class ping_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/DeleteCommand.java | 39 |
org/apache/accumulo/core/util/shell/commands/InsertCommand.java | 47 |
private Option deleteOptAuths, timestampOpt; private Option timeoutOption; protected long getTimeout(final CommandLine cl) { if (cl.hasOption(timeoutOption.getLongOpt())) { return AccumuloConfiguration.getTimeInMillis(cl.getOptionValue(timeoutOption.getLongOpt())); } return Long.MAX_VALUE; } @Override public int execute(final String fullCommand, final CommandLine cl, final Shell shellState) throws AccumuloException, AccumuloSecurityException, TableNotFoundException, IOException, ConstraintViolationException { shellState.checkTableState(); final Mutation m = new Mutation(new Text(cl.getArgs()[0].getBytes(Shell.CHARSET))); final Text colf = new Text(cl.getArgs()[1].getBytes(Shell.CHARSET)); final Text colq = new Text(cl.getArgs()[2].getBytes(Shell.CHARSET)); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 749 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 161 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 111 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 595 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 800 |
public static class AsyncClient extends org.apache.thrift.async.TAsyncClient implements AsyncIface { public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> { private org.apache.thrift.async.TAsyncClientManager clientManager; private org.apache.thrift.protocol.TProtocolFactory protocolFactory; public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) { this.clientManager = clientManager; this.protocolFactory = protocolFactory; } public AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) { return new AsyncClient(protocolFactory, clientManager, transport); } } public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport) { super(protocolFactory, clientManager, transport); } public void getRootTabletLocation(org.apache.thrift.async.AsyncMethodCallback<getRootTabletLocation_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7546 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9642 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10619 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11542 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13538 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7100 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8020 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9015 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10033 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13663 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15562 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7307 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14375 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15662 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17535 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18398 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24179 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25099 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TO_AUTHENTICATE |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4685 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5899 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6276 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7991 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14651 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15153 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15846 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16448 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17089 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18107 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19202 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20422 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23547 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 847 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1447 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2124 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 377 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 377 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 451 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 297 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 812 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 394 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 524 |
org/apache/accumulo/core/data/thrift/TKey.java | 649 |
org/apache/accumulo/core/data/thrift/TMutation.java | 572 |
org/apache/accumulo/core/data/thrift/TRange.java | 676 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 662 |
org/apache/accumulo/core/master/thrift/Compacting.java | 370 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 451 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3592 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7982 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8977 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14618 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15524 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16704 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17824 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 978 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 447 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 1121 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1084 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 808 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1172 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1275 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3607 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5114 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6236 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7269 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8577 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9495 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10769 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11405 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11944 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14337 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17497 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 836 |
} private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class bulkImportFiles_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 345 |
org/apache/accumulo/core/data/RangeTest.java | 363 |
assertFalse(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); assertFalse(rowRange.contains(new Key(new Text("r0")))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7546 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8491 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9642 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10619 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11542 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12563 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13538 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14689 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15884 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17127 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20460 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2182 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3630 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4894 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7100 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8020 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9015 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10033 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11819 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13663 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14198 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15562 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7307 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10349 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14375 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15662 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17535 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18398 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21178 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23177 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24179 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25099 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26560 |
case 4: // TINFO if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1346 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1387 |
grantSystemPermission_args args = new grantSystemPermission_args(); args.setTinfo(tinfo); args.setCredential(credential); args.setPrincipal(principal); args.setPermission(permission); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); (new Client(prot)).recv_grantSystemPermission(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10690 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13609 |
public void write(org.apache.thrift.protocol.TProtocol prot, dropUser_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetPrincipal()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetPrincipal()) { oprot.writeString(struct.principal); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, dropUser_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14802 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18258 |
public void read(org.apache.thrift.protocol.TProtocol prot, hasSystemPermission_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { struct.sysPerm = iprot.readByte(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 405 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 405 |
public void read(org.apache.thrift.protocol.TProtocol iprot, InitialMultiScan struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SCAN_ID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.scanID = iprot.readI64(); struct.setScanIDIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // RESULT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.result = new MultiScanResult(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16811 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17931 |
public void write(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetOpid()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetOpid()) { oprot.writeI64(struct.opid); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19157 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19826 |
public void write(org.apache.thrift.protocol.TProtocol oprot, flushTablet_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.lock != null) { oprot.writeFieldBegin(LOCK_FIELD_DESC); oprot.writeString(struct.lock); oprot.writeFieldEnd(); } if (struct.extent != null) { oprot.writeFieldBegin(EXTENT_FIELD_DESC); struct.extent.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class flushTablet_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25170 |
public void write(org.apache.thrift.protocol.TProtocol prot, halt_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } if (struct.isSetLock()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } if (struct.isSetLock()) { oprot.writeString(struct.lock); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, halt_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 234 |
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 307 |
ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", ai.getTopValue().toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", ai.getTopValue().toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 1), ai.getTopKey()); assertEquals("2", ai.getTopValue().toString()); ai.next(); assertFalse(ai.hasTop()); // seek after key that aggregates ai.seek(nr(1, 1, 1, 2), EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9340 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12264 |
public createUser_args setAuthorizations(List<ByteBuffer> authorizations) { this.authorizations = authorizations; return this; } public void unsetAuthorizations() { this.authorizations = null; } /** Returns true if field authorizations is set (has been assigned a value) and false otherwise */ public boolean isSetAuthorizations() { return this.authorizations != null; } public void setAuthorizationsIsSet(boolean value) { if (!value) { this.authorizations = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TO_CREATE: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2970 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17805 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20029 |
tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.START_ROW, new org.apache.thrift.meta_data.FieldMetaData("startRow", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4671 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8441 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10569 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12513 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13488 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14637 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15832 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17075 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18093 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19188 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20408 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 525 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2132 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3578 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4844 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5989 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7050 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7968 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8963 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9983 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10926 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11769 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14148 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15510 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16690 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17810 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14323 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18348 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20572 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21128 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22130 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23127 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24129 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25049 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25536 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26510 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27581 |
first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2321 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2649 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2921 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3249 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3521 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5385 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6635 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6991 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7510 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8455 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9606 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10067 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10583 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11506 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11912 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12527 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12986 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13502 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14005 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17516 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18534 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19729 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20949 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21346 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21725 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22117 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22573 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23147 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 639 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 521 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1121 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1721 |
org/apache/accumulo/core/data/thrift/TColumn.java | 486 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 486 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 390 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 523 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 539 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1000 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 542 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2146 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4163 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4858 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5385 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6003 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6507 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7064 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7468 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8386 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9404 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9997 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10424 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10940 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11344 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11783 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12244 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12865 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13627 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14162 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16165 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17262 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18228 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18502 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18907 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 299 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 399 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 464 |
org/apache/accumulo/core/security/thrift/Credential.java | 541 |
org/apache/accumulo/core/security/thrift/Credentials.java | 464 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 392 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 319 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 319 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 217 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 302 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5727 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8118 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9036 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9874 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10313 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12403 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13027 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13612 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14962 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15626 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16132 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16753 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18362 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19075 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19744 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21603 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22144 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23141 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23602 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24143 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24547 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25063 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25550 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26028 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26524 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27002 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27595 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 302 |
} private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private static class getRootTabletLocation_argsStandardSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12701 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14802 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18258 |
public void read(org.apache.thrift.protocol.TProtocol prot, changeAuthorizations_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 153 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 127 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.RESULTS, new org.apache.thrift.meta_data.FieldMetaData("results", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TKeyValue.class)))); tmpMap.put(_Fields.FAILURES, new org.apache.thrift.meta_data.FieldMetaData("failures", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16505 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18827 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19496 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; case EXTENT: if (value == null) { unsetExtent(); } else { setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 875 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 952 |
trf.writer.startDefaultLocalityGroup(); trf.writer.close(); trf.openReader(); trf.iter.seek(new Range(new Text(""), null), EMPTY_COL_FAMS, false); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0000", "cf1", "doe,john", "", 4))); assertEquals(nv("1123 West Left st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0002", "cf2", "doe,jane", "", 5))); assertEquals(nv("1124 East Right st"), trf.iter.getTopValue()); trf.iter.next(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12480 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14608 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15795 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17046 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18064 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19151 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20371 |
StringBuilder sb = new StringBuilder("changeAuthorizations_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; if (!first) sb.append(", "); sb.append("authorizations:"); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16476 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2152 |
public void read(org.apache.thrift.protocol.TProtocol iprot, authenticateUser_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TKey.java | 677 |
org/apache/accumulo/core/data/thrift/TMutation.java | 600 |
public void read(org.apache.thrift.protocol.TProtocol iprot, TKey struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // ROW if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.row = iprot.readBinary(); struct.setRowIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // COL_FAMILY if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.colFamily = iprot.readBinary(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3529 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4803 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5956 |
StringBuilder sb = new StringBuilder("waitForFlush_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("tableName:"); if (this.tableName == null) { sb.append("null"); } else { sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("startRow:"); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12815 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13569 |
StringBuilder sb = new StringBuilder("reportSplitExtent_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("serverName:"); if (this.serverName == null) { sb.append("null"); } else { sb.append(this.serverName); } first = false; if (!first) sb.append(", "); sb.append("split:"); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17288 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18933 |
public void read(org.apache.thrift.protocol.TProtocol iprot, waitForTableOperation_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 567 |
org/apache/accumulo/core/security/thrift/Credentials.java | 490 |
public void read(org.apache.thrift.protocol.TProtocol iprot, Credential struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // PRINCIPAL if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOKEN_CLASS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tokenClass = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/IterInfo.java | 479 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 581 |
public void read(org.apache.thrift.protocol.TProtocol iprot, IterInfo struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // PRIORITY if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.priority = iprot.readI32(); struct.setPriorityIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CLASS_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.className = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3510 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15576 |
StringBuilder sb = new StringBuilder("startScan_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("extent:"); if (this.extent == null) { sb.append("null"); } else { sb.append(this.extent); } first = false; if (!first) sb.append(", "); sb.append("range:"); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16703 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17443 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19694 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20523 |
StringBuilder sb = new StringBuilder("loadTablet_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; if (!first) sb.append(", "); sb.append("extent:"); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/LongCombiner.java | 169 |
org/apache/accumulo/core/iterators/aggregation/LongSummation.java | 55 |
throw new ValueFormatException("trying to convert to long, but byte array isn't long enough, wanted " + (offset + 8) + " found " + b.length); return (((long) b[offset + 0] << 56) + ((long) (b[offset + 1] & 255) << 48) + ((long) (b[offset + 2] & 255) << 40) + ((long) (b[offset + 3] & 255) << 32) + ((long) (b[offset + 4] & 255) << 24) + ((b[offset + 5] & 255) << 16) + ((b[offset + 6] & 255) << 8) + ((b[offset + 7] & 255) << 0)); } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4555 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9734 |
public setTableProperty_args setValue(String value) { this.value = value; return this; } public void unsetValue() { this.value = null; } /** Returns true if field value is set (has been assigned a value) and false otherwise */ public boolean isSetValue() { return this.value != null; } public void setValueIsSet(boolean value) { if (!value) { this.value = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5740 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10717 |
public removeTableProperty_args setProperty(String property) { this.property = property; return this; } public void unsetProperty() { this.property = null; } /** Returns true if field property is set (has been assigned a value) and false otherwise */ public boolean isSetProperty() { return this.property != null; } public void setPropertyIsSet(boolean value) { if (!value) { this.property = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloFileOutputFormat.java | 154 |
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormat.java | 156 |
public void close(Reporter reporter) throws IOException { if (out != null) out.close(); } @Override public void write(Key key, Value value) throws IOException { Boolean wasChecked = (Boolean) validVisibilities.get(key.getColumnVisibilityData()); if (wasChecked == null) { byte[] cv = key.getColumnVisibilityData().toArray(); new ColumnVisibility(cv); validVisibilities.put(new ArrayByteSequence(Arrays.copyOf(cv, cv.length)), Boolean.TRUE); } if (out == null) { out = FileOperations.getInstance().openWriter(file.toString(), file.getFileSystem(conf), conf, acuConf); out.startDefaultLocalityGroup(); } out.append(key, value); } }; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 785 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6892 |
setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value); } break; case COLUMNS: if (value == null) { unsetColumns(); } else { setColumns((List<org.apache.accumulo.core.data.thrift.TColumn>)value); } break; case SSI_LIST: if (value == null) { unsetSsiList(); } else { setSsiList((List<org.apache.accumulo.core.data.thrift.IterInfo>)value); } break; case SSIO: if (value == null) { unsetSsio(); } else { setSsio((Map<String,Map<String,String>>)value); } break; case AUTHORIZATIONS: if (value == null) { unsetAuthorizations(); } else { setAuthorizations((List<ByteBuffer>)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8782 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13854 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14811 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22494 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25877 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26851 |
setSuccess((Set<String>)value); } break; case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); case SEC: return getSec(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof listUsers_result) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10715 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13634 |
public void read(org.apache.thrift.protocol.TProtocol prot, dropUser_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } } } } public static class dropUser_result implements org.apache.thrift.TBase<dropUser_result, dropUser_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16836 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17956 |
public void read(org.apache.thrift.protocol.TProtocol prot, waitForTableOperation_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.opid = iprot.readI64(); struct.setOpidIsSet(true); } } } } public static class waitForTableOperation_result implements org.apache.thrift.TBase<waitForTableOperation_result, waitForTableOperation_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1416 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1542 |
flush_args args = new flush_args(); args.setTinfo(tinfo); args.setCredential(credential); args.setLock(lock); args.setTableId(tableId); args.setStartRow(startRow); args.setEndRow(endRow); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); } } public void flushTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<flushTablet_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4125 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5247 |
private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField TMFE_FIELD_DESC = new org.apache.thrift.protocol.TField("tmfe", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new startScan_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24275 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25195 |
public void read(org.apache.thrift.protocol.TProtocol prot, halt_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } } } } public static class halt_result implements org.apache.thrift.TBase<halt_result, halt_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8782 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13854 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 846 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12090 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7964 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14811 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21449 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22494 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23448 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25877 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26851 |
setSuccess((Set<String>)value); } break; case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); case SEC: return getSec(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof listUsers_result) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1042 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1123 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3438 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7132 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.entriesWritten, typedOther.entriesWritten); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsiList()).compareTo(typedOther.isSetSsiList()); if (lastComparison != 0) { return lastComparison; } if (isSetSsiList()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssiList, typedOther.ssiList); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSsio()).compareTo(typedOther.isSetSsio()); if (lastComparison != 0) { return lastComparison; } if (isSetSsio()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ssio, typedOther.ssio); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4016 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15780 |
BitSet incoming = iprot.readBitSet(11); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } if (incoming.get(3)) { struct.range = new org.apache.accumulo.core.data.thrift.TRange(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4650 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16168 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // NSTE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nste = new NotServingTabletException(); struct.nste.read(iprot); struct.setNsteIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3467 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18257 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20481 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetStartRow()).compareTo(typedOther.isSetStartRow()); if (lastComparison != 0) { return lastComparison; } if (isSetStartRow()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startRow, typedOther.startRow); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetEndRow()).compareTo(typedOther.isSetEndRow()); if (lastComparison != 0) { return lastComparison; } if (isSetEndRow()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endRow, typedOther.endRow); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 71 |
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 74 |
Random r = new Random(); Value v = new Value(new byte[0]); TreeMap<Key,Value> map = new TreeMap<Key,Value>(); boolean[] negateMask = new boolean[columnFamilies.length]; for (int i = 0; i < columnFamilies.length; i++) { negateMask[i] = false; if (negatedColumns.length > 0) for (Text ng : negatedColumns) if (columnFamilies[i].equals(ng)) negateMask[i] = true; } for (int i = 0; i < numRows; i++) { Text row = new Text(String.format("%06d", i)); for (int startDocID = docid; docid - startDocID < numDocsPerRow; docid++) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14167 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16605 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17623 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeAuthorizations_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.LIST, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2859 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4295 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("waitForFlush_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)6); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 490 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 418 |
public void read(org.apache.thrift.protocol.TProtocol iprot, AuthInfo struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // USER if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.user = iprot.readString(); struct.setUserIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // PASSWORD if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19924 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("flushTablet_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField LOCK_FIELD_DESC = new org.apache.thrift.protocol.TField("lock", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)4); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7017 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10093 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11013 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11938 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13012 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17542 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18560 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19755 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20975 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5411 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6533 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7494 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8412 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9430 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10450 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11370 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16191 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13638 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16158 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24573 |
public void read(org.apache.thrift.protocol.TProtocol iprot, ping_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1200 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 328 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 864 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 328 |
public void read(org.apache.thrift.protocol.TProtocol iprot, ActiveCompaction struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 685 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 729 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 770 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1169 |
args.setMaxLoops(maxLoops); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); (new Client(prot)).recv_waitForFlush(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1240 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3555 |
first = false; if (!first) sb.append(", "); sb.append("ssiList:"); if (this.ssiList == null) { sb.append("null"); } else { sb.append(this.ssiList); } first = false; if (!first) sb.append(", "); sb.append("ssio:"); if (this.ssio == null) { sb.append("null"); } else { sb.append(this.ssio); } first = false; if (!first) sb.append(", "); sb.append("authorizations:"); if (this.authorizations == null) { sb.append("null"); } else { sb.append(this.authorizations); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17172 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18190 |
public void write(org.apache.thrift.protocol.TProtocol oprot, grantSystemPermission_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.principal != null) { oprot.writeFieldBegin(PRINCIPAL_FIELD_DESC); oprot.writeString(struct.principal); oprot.writeFieldEnd(); } oprot.writeFieldBegin(PERMISSION_FIELD_DESC); oprot.writeByte(struct.permission); oprot.writeFieldEnd(); if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class grantSystemPermission_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15564 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18920 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20140 |
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TBLPERM_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; case TBL_PERM: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4571 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5756 |
this.value = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; case PROPERTY: if (value == null) { unsetProperty(); } else { setProperty((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1117 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1089 |
beginTableOperation_args args = new beginTableOperation_args(); args.setTinfo(tinfo); args.setCredential(credential); args.write(prot); prot.writeMessageEnd(); } public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_beginTableOperation(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5303 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16370 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2624 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4502 |
bulkImportFiles_result typedOther = (bulkImportFiles_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTope()).compareTo(typedOther.isSetTope()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4533 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7419 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9497 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11415 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12421 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14549 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15726 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18005 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2058 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3440 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5897 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7898 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9891 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10852 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12756 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13500 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17740 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3381 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7095 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12915 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14221 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15517 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17374 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18220 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20444 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22056 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24055 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24975 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27507 |
bulkImportFiles_args typedOther = (bulkImportFiles_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTid()).compareTo(typedOther.isSetTid()); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5030 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6156 |
BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(3)) { struct.property = iprot.readString(); struct.setPropertyIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 147 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 71 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 63 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 127 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 163 |
public static class Client extends org.apache.thrift.TServiceClient implements Iface { public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> { public Factory() {} public Client getClient(org.apache.thrift.protocol.TProtocol prot) { return new Client(prot); } public Client getClient(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { return new Client(iprot, oprot); } } public Client(org.apache.thrift.protocol.TProtocol prot) { super(prot, prot); } public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot) { super(iprot, oprot); } public String getRootTabletLocation() throws org.apache.thrift.TException |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1159 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1262 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 289 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 289 |
sb.append(this.ssio); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4514 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13532 |
lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste()); if (lastComparison != 0) { return lastComparison; } if (isSetNste()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTmfe()).compareTo(typedOther.isSetTmfe()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/system/SourceSwitchingIteratorTest.java | 37 |
org/apache/accumulo/core/iterators/user/RowDeletingIteratorTest.java | 76 |
Key nk(String row, String cf, String cq, long time) { return new Key(new Text(row), new Text(cf), new Text(cq), time); } void put(TreeMap<Key,Value> tm, String row, String cf, String cq, long time, Value val) { tm.put(nk(row, cf, cq, time), val); } void put(TreeMap<Key,Value> tm, String row, String cf, String cq, long time, String val) { put(tm, row, cf, cq, time, new Value(val.getBytes())); } private void ane(SortedKeyValueIterator<Key,Value> rdi, String row, String cf, String cq, long time, String val, boolean callNext) throws Exception { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19629 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20849 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4063 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5285 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6407 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16065 |
public boolean equals(grantTablePermission_result that) { if (that == null) return false; boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); boolean that_present_tope = true && that.isSetTope(); if (this_present_tope || that_present_tope) { if (!(this_present_tope && that_present_tope)) return false; if (!this.tope.equals(that.tope)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(grantTablePermission_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 511 |
org/apache/accumulo/core/security/thrift/Credentials.java | 511 |
struct.setPasswordIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // INSTANCE_ID if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.instanceId = iprot.readString(); struct.setInstanceIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, AuthInfo struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5888 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23136 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5103 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6225 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8566 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9484 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11933 |
first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8933 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12300 |
public boolean equals(continueMultiScan_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_nssi = true && this.isSetNssi(); boolean that_present_nssi = true && that.isSetNssi(); if (this_present_nssi || that_present_nssi) { if (!(this_present_nssi && that_present_nssi)) return false; if (!this.nssi.equals(that.nssi)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(continueMultiScan_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5648 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14253 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15376 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16691 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17709 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18732 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19952 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7656 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8579 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17498 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4863 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5985 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6472 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8326 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9244 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10987 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11693 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17024 |
private static final int __TID_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8349 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 433 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11677 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14056 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10207 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21036 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23035 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25444 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26418 |
public boolean equals(listUsers_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(listUsers_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8833 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13905 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 897 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12141 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8015 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21500 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22545 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23499 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25928 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26902 |
public boolean equals(listUsers_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(listUsers_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 190 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 160 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); tmpMap.put(_Fields.AGE, new org.apache.thrift.meta_data.FieldMetaData("age", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 240 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormatTest.java | 62 |
private static class TestMapper extends Mapper<Key,Value,Key,Value> { Key key = null; int count = 0; @Override protected void map(Key k, Value v, Context context) throws IOException, InterruptedException { try { if (key != null) assertEquals(key.getRow().toString(), new String(v.get())); assertEquals(k.getRow(), new Text(String.format("%09x", count + 1))); assertEquals(new String(v.get()), String.format("%09x", count)); } catch (AssertionError e) { e1 = e; } key = new Key(k); count++; } @Override protected void cleanup(Context context) throws IOException, InterruptedException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18407 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19120 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20631 |
case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // LOCK if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_ID |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 345 |
org/apache/accumulo/core/data/RangeTest.java | 381 |
org/apache/accumulo/core/data/RangeTest.java | 399 |
assertFalse(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); assertTrue(rowRange.contains(new Key(new Text("r2")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r2"), new Text("cf1"), new Text("cq1")))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16488 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17300 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4057 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5649 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2962 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14861 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2610 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4864 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5986 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8327 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9245 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10988 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11694 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13862 |
private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2610 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3210 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3810 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4600 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5330 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5853 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6241 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6593 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6952 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7446 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7948 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8402 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8886 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9534 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10028 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10522 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10948 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11442 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11873 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12458 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12947 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13441 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13958 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14586 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15110 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16397 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17024 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17477 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18042 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19129 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19682 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20349 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20902 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21307 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21686 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22078 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22526 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23089 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23512 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 568 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 812 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1412 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2081 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 331 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 331 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 400 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 262 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 727 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 351 |
org/apache/accumulo/core/data/thrift/TColumn.java | 431 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 469 |
org/apache/accumulo/core/data/thrift/TKey.java | 582 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 431 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 340 |
org/apache/accumulo/core/data/thrift/TMutation.java | 513 |
org/apache/accumulo/core/data/thrift/TRange.java | 607 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 468 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 486 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 950 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 467 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 607 |
org/apache/accumulo/core/master/thrift/Compacting.java | 331 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 400 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2085 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2651 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3507 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4116 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4781 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5338 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5934 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7003 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7429 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7925 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8347 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8912 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9365 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9928 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10385 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10879 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11305 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11730 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12194 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12793 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13547 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14109 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15439 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16118 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16647 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17207 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17767 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18189 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18860 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 887 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 260 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 400 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 1021 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 997 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 349 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 409 |
org/apache/accumulo/core/security/thrift/Credential.java | 478 |
org/apache/accumulo/core/security/thrift/Credentials.java | 409 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 345 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 745 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1062 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1153 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 280 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 280 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 260 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 494 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3488 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4539 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5068 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5661 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6190 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8068 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8531 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8986 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9449 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9835 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10260 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10726 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11340 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12353 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12952 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13557 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14268 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14915 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15554 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16085 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16681 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17421 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18277 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19003 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19672 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20501 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21089 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22083 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22598 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23088 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23552 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24082 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24508 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25002 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25497 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25981 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26471 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26955 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27534 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 745 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 260 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getRootTabletLocation_result("); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/LongCombiner.java | 149 |
org/apache/accumulo/core/iterators/aggregation/LongSummation.java | 60 |
public byte[] encode(Long l) { byte[] b = new byte[8]; b[0] = (byte) (l >>> 56); b[1] = (byte) (l >>> 48); b[2] = (byte) (l >>> 40); b[3] = (byte) (l >>> 32); b[4] = (byte) (l >>> 24); b[5] = (byte) (l >>> 16); b[6] = (byte) (l >>> 8); b[7] = (byte) (l >>> 0); return b; } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4297 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5519 |
private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField PROPERTY_FIELD_DESC = new org.apache.thrift.protocol.TField("property", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("value", org.apache.thrift.protocol.TType.STRING, (short)4); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 109 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 817 |
public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 817 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 836 |
public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<startScan_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11303 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11881 |
applyUpdates_args typedOther = (applyUpdates_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUpdateID()).compareTo(typedOther.isSetUpdateID()); if (lastComparison != 0) { return lastComparison; } if (isSetUpdateID()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updateID, typedOther.updateID); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5624 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8969 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12336 |
continueScan_result typedOther = (continueScan_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNssi()).compareTo(typedOther.isSetNssi()); if (lastComparison != 0) { return lastComparison; } if (isSetNssi()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nssi, typedOther.nssi); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13530 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16068 |
update_result typedOther = (update_result)other; lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste()); if (lastComparison != 0) { return lastComparison; } if (isSetNste()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5303 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7931 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8869 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13941 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15093 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16370 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 933 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2624 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12177 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14558 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4502 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8051 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10709 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21536 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23535 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25964 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26938 |
bulkImportFiles_result typedOther = (bulkImportFiles_result)other; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4533 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7419 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8385 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9497 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11415 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12421 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14549 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15726 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18005 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19082 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20302 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 469 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2058 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3440 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5897 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6976 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7898 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9891 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10852 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11713 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12756 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13500 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14092 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17740 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3381 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7095 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10243 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12915 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14221 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15517 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17374 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18220 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18966 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20444 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21072 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22056 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23071 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24055 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24975 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25480 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26454 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27507 |
bulkImportFiles_args typedOther = (bulkImportFiles_args)other; lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(typedOther.isSetTinfo()); if (lastComparison != 0) { return lastComparison; } if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, typedOther.tinfo); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCredential()).compareTo(typedOther.isSetCredential()); if (lastComparison != 0) { return lastComparison; } if (isSetCredential()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credential, typedOther.credential); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 247 |
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 195 |
assertEquals(hitCount, docs.size()); cleanup(); } public void test3() throws IOException { columnFamilies = new Text[6]; columnFamilies[0] = new Text("C"); columnFamilies[1] = new Text("E"); columnFamilies[2] = new Text("G"); columnFamilies[3] = new Text("H"); columnFamilies[4] = new Text("I"); columnFamilies[5] = new Text("J"); otherColumnFamilies = new Text[4]; otherColumnFamilies[0] = new Text("A"); otherColumnFamilies[1] = new Text("B"); otherColumnFamilies[2] = new Text("D"); otherColumnFamilies[3] = new Text("F"); float hitRatio = 0.5f; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10544 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12480 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13463 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14608 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15795 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17046 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18064 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19151 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20371 |
StringBuilder sb = new StringBuilder("dropUser_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("principal:"); if (this.principal == null) { sb.append("null"); } else { sb.append(this.principal); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2107 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3529 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4803 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5956 |
StringBuilder sb = new StringBuilder("initiateFlush_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("tableName:"); if (this.tableName == null) { sb.append("null"); } else { sb.append(this.tableName); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4394 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9603 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PROPERTY, new org.apache.thrift.meta_data.FieldMetaData("property", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.VALUE, new org.apache.thrift.meta_data.FieldMetaData("value", 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(setTableProperty_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9950 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10901 |
StringBuilder sb = new StringBuilder("setSystemProperty_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("property:"); if (this.property == null) { sb.append("null"); } else { sb.append(this.property); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4964 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16049 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2303 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16861 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new bulkImportFiles_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5048 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16134 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2388 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16944 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkImportFiles_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5434 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2743 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17301 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 115 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 948 |
public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startMultiScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 948 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 964 |
public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<startMultiScan_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1329 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1458 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1498 |
loadTablet_args args = new loadTablet_args(); args.setTinfo(tinfo); args.setCredential(credential); args.setLock(lock); args.setExtent(extent); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); } } public void unloadTablet(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, boolean save, org.apache.thrift.async.AsyncMethodCallback<unloadTablet_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8882 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12249 |
setSuccess((org.apache.accumulo.core.data.thrift.MultiScanResult)value); } break; case NSSI: if (value == null) { unsetNssi(); } else { setNssi((NoSuchScanIDException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); case NSSI: return getNssi(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case NSSI: return isSetNssi(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof continueMultiScan_result) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16703 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17443 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19694 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20523 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24104 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25024 |
StringBuilder sb = new StringBuilder("loadTablet_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("lock:"); if (this.lock == null) { sb.append("null"); } else { sb.append(this.lock); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1068 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1185 |
args.setToCreate(toCreate); args.setAuthorizations(authorizations); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); (new Client(prot)).recv_createUser(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4514 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16070 |
lastComparison = Boolean.valueOf(isSetSec()).compareTo(typedOther.isSetSec()); if (lastComparison != 0) { return lastComparison; } if (isSetSec()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sec, typedOther.sec); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNste()).compareTo(typedOther.isSetNste()); if (lastComparison != 0) { return lastComparison; } if (isSetNste()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nste, typedOther.nste); if (lastComparison != 0) { return lastComparison; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloFileOutputFormatTest.java | 214 |
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormatTest.java | 205 |
JobConf job = new JobConf(); AccumuloFileOutputFormat.setReplication(job, a); AccumuloFileOutputFormat.setFileBlockSize(job, b); AccumuloFileOutputFormat.setDataBlockSize(job, c); AccumuloFileOutputFormat.setIndexBlockSize(job, d); AccumuloFileOutputFormat.setCompressionType(job, e); AccumuloConfiguration acuconf = AccumuloFileOutputFormat.getAccumuloConfiguration(job); assertEquals(7, acuconf.getCount(Property.TABLE_FILE_REPLICATION)); assertEquals(300l, acuconf.getMemoryInBytes(Property.TABLE_FILE_BLOCK_SIZE)); assertEquals(50l, acuconf.getMemoryInBytes(Property.TABLE_FILE_COMPRESSED_BLOCK_SIZE)); assertEquals(10l, acuconf.getMemoryInBytes(Property.TABLE_FILE_COMPRESSED_BLOCK_SIZE_INDEX)); assertEquals("snappy", acuconf.get(Property.TABLE_FILE_COMPRESSION_TYPE)); a = 17; b = 1300l; c = 150l; d = 110l; e = "lzo"; job = new JobConf(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4698 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9855 |
if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_property = true && this.isSetProperty(); boolean that_present_property = true && that.isSetProperty(); if (this_present_property || that_present_property) { if (!(this_present_property && that_present_property)) return false; if (!this.property.equals(that.property)) return false; } boolean this_present_value = true && this.isSetValue(); boolean that_present_value = true && that.isSetValue(); if (this_present_value || that_present_value) { if (!(this_present_value && that_present_value)) return false; if (!this.value.equals(that.value)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(setTableProperty_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5048 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19481 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20701 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2388 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3915 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5137 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6259 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15917 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16944 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TOPE, new org.apache.thrift.meta_data.FieldMetaData("tope", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(bulkImportFiles_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 405 |
org/apache/accumulo/core/security/thrift/Credentials.java | 346 |
if (!this.tokenClass.equals(that.tokenClass)) return false; } boolean this_present_token = true && this.isSetToken(); boolean that_present_token = true && that.isSetToken(); if (this_present_token || that_present_token) { if (!(this_present_token && that_present_token)) return false; if (!this.token.equals(that.token)) return false; } boolean this_present_instanceId = true && this.isSetInstanceId(); boolean that_present_instanceId = true && that.isSetInstanceId(); if (this_present_instanceId || that_present_instanceId) { if (!(this_present_instanceId && that_present_instanceId)) return false; if (!this.instanceId.equals(that.instanceId)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(Credential other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 109 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 836 |
public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16488 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17300 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4644 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4466 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5588 |
if (!this.sec.equals(that.sec)) return false; } boolean this_present_nste = true && this.isSetNste(); boolean that_present_nste = true && that.isSetNste(); if (this_present_nste || that_present_nste) { if (!(this_present_nste && that_present_nste)) return false; if (!this.nste.equals(that.nste)) return false; } boolean this_present_tmfe = true && this.isSetTmfe(); boolean that_present_tmfe = true && that.isSetTmfe(); if (this_present_tmfe || that_present_tmfe) { if (!(this_present_tmfe && that_present_tmfe)) return false; if (!this.tmfe.equals(that.tmfe)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(startScan_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3136 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6900 |
setBatchSize((Integer)value); } break; case SSI_LIST: if (value == null) { unsetSsiList(); } else { setSsiList((List<org.apache.accumulo.core.data.thrift.IterInfo>)value); } break; case SSIO: if (value == null) { unsetSsio(); } else { setSsio((Map<String,Map<String,String>>)value); } break; case AUTHORIZATIONS: if (value == null) { unsetAuthorizations(); } else { setAuthorizations((List<ByteBuffer>)value); } break; case WAIT_FOR_WRITES: if (value == null) { unsetWaitForWrites(); } else { setWaitForWrites((Boolean)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5267 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16334 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2588 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17144 |
if (!this.success.equals(that.success)) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); boolean that_present_tope = true && that.isSetTope(); if (this_present_tope || that_present_tope) { if (!(this_present_tope && that_present_tope)) return false; if (!this.tope.equals(that.tope)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(bulkImportFiles_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 115 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 964 |
public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startMultiScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5434 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4645 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4058 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17711 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18734 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19954 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22822 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2963 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7658 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8581 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14862 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16380 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17500 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2611 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6474 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13863 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17026 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.CREDENTIAL, new org.apache.thrift.meta_data.FieldMetaData("credential", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6671 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8500 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 584 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11828 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14207 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10358 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21187 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23186 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25595 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26569 |
case 1: // CREDENTIAL if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, ping_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7027 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8037 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8987 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10103 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11023 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11948 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13022 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14059 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15199 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17552 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18570 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1045 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7504 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9440 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11380 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12289 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14664 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8163 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10815 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21648 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22700 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23647 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24583 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26083 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27057 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, ping_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5650 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7179 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8199 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10255 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11175 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13174 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 283 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1818 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4386 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5603 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6728 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9597 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10612 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11527 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12462 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13144 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13906 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4865 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5987 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8328 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9246 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10057 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10989 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12621 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16350 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17796 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18672 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19341 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20020 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20886 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21816 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22885 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23815 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24735 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25294 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26268 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27247 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.TINFO, new org.apache.thrift.meta_data.FieldMetaData("tinfo", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.trace.thrift.TInfo.class))); tmpMap.put(_Fields.TID, new org.apache.thrift.meta_data.FieldMetaData("tid", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormatTest.java | 160 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormatTest.java | 153 |
public void checkOutputSpecs(FileSystem ignored, JobConf job) throws IOException { BatchWriterConfig bwOpts = getBatchWriterOptions(job); // passive check assertEquals(bwConfig.getMaxLatency(TimeUnit.MILLISECONDS), bwOpts.getMaxLatency(TimeUnit.MILLISECONDS)); assertEquals(bwConfig.getTimeout(TimeUnit.MILLISECONDS), bwOpts.getTimeout(TimeUnit.MILLISECONDS)); assertEquals(bwConfig.getMaxWriteThreads(), bwOpts.getMaxWriteThreads()); assertEquals(bwConfig.getMaxMemory(), bwOpts.getMaxMemory()); // explicit check assertEquals(7654321l, bwOpts.getMaxLatency(TimeUnit.MILLISECONDS)); assertEquals(9898989l, bwOpts.getTimeout(TimeUnit.MILLISECONDS)); assertEquals(42, bwOpts.getMaxWriteThreads()); assertEquals(1123581321l, bwOpts.getMaxMemory()); } }; myAOF.checkOutputSpecs(null, job); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 929 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 964 |
trf.iter.seek(new Range(new Text(""), null), EMPTY_COL_FAMS, false); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0007", "good citizen", "q,john", "", 4))); assertEquals(nv("70 Apple st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0008", "model citizen", "q,jane", "", 5))); assertEquals(nv("81 Plum st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); trf.closeReader(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4622 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14290 |
StringBuilder sb = new StringBuilder("bulkImportFiles_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("tid:"); sb.append(this.tid); first = false; if (!first) sb.append(", "); sb.append("tableId:"); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 108 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 126 |
ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 1), ai.getTopKey()); assertEquals("2", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertFalse(ai.hasTop()); // try seeking ai.seek(nr(1, 1, 1, 2), EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7667 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14829 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("authenticateUser_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new authenticateUser_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 50 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 50 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InitialMultiScan"); private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1); private static final org.apache.thrift.protocol.TField RESULT_FIELD_DESC = new org.apache.thrift.protocol.TField("result", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new InitialMultiScanStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 640 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1212 |
public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_initiateFlush(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19552 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20772 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3986 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5208 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15988 |
public grantTablePermission_result setTope(ThriftTableOperationException tope) { this.tope = tope; return this; } public void unsetTope() { this.tope = null; } /** Returns true if field tope is set (has been assigned a value) and false otherwise */ public boolean isSetTope() { return this.tope != null; } public void setTopeIsSet(boolean value) { if (!value) { this.tope = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; case TOPE: if (value == null) { unsetTope(); } else { setTope((ThriftTableOperationException)value); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4964 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16049 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19403 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20623 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2303 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3837 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5059 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6181 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15839 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16861 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TOPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tope", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new bulkImportFiles_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4787 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5909 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9168 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueScan_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField SCAN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("scanID", org.apache.thrift.protocol.TType.I64, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new continueScan_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14294 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10445 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("beginTableOperation_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new beginTableOperation_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8707 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12074 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("continueMultiScan_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField NSSI_FIELD_DESC = new org.apache.thrift.protocol.TField("nssi", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new continueMultiScan_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17705 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19929 |
private static final org.apache.thrift.protocol.TField TABLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("tableId", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)5); private static final org.apache.thrift.protocol.TField END_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("endRow", org.apache.thrift.protocol.TType.STRING, (short)6); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new flush_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11915 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21274 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23273 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getStatus_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new getStatus_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8123 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 207 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11451 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13830 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9981 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22809 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25218 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26192 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("listUsers_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new listUsers_argsStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13657 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14616 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25682 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26656 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserAuthorizations_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new getUserAuthorizations_resultStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 338 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16815 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19137 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19806 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 338 |
case 1: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, NotServingTabletException struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/SetScanIterCommand.java | 55 |
org/apache/accumulo/core/util/shell/commands/SetShellIterCommand.java | 55 |
final String tableName = OptUtil.getTableOpt(cl, shellState); // instead of setting table properties, just put the options in a list to use at scan time if (!shellState.getConnector().instanceOperations().testClassLoad(classname, SortedKeyValueIterator.class.getName())) { throw new ShellCommandException(ErrorCode.INITIALIZATION_FAILURE, "Servers are unable to load " + classname + " as type " + SortedKeyValueIterator.class.getName()); } for (Iterator<Entry<String,String>> i = options.entrySet().iterator(); i.hasNext();) { final Entry<String,String> entry = i.next(); if (entry.getValue() == null || entry.getValue().isEmpty()) { i.remove(); } } List<IteratorSetting> tableScanIterators = shellState.scanIteratorOptions.get(tableName); |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/SetScanIterCommand.java | 95 |
org/apache/accumulo/core/util/shell/commands/SetShellIterCommand.java | 90 |
} @Override public Options getOptions() { // Remove the options that specify which type of iterator this is, since // they are all scan iterators with this command. final HashSet<OptionGroup> groups = new HashSet<OptionGroup>(); final Options parentOptions = super.getOptions(); final Options modifiedOptions = new Options(); for (Iterator<?> it = parentOptions.getOptions().iterator(); it.hasNext();) { Option o = (Option) it.next(); if (!IteratorScope.majc.name().equals(o.getOpt()) && !IteratorScope.minc.name().equals(o.getOpt()) && !IteratorScope.scan.name().equals(o.getOpt())) { |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 921 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 948 |
trf.writer.startNewLocalityGroup("lg1", ncfs("cf1", "cf2")); trf.writer.startNewLocalityGroup("lg2", ncfs("cf3", "cf4")); trf.writer.startDefaultLocalityGroup(); trf.writer.append(nk("0007", "good citizen", "q,john", "", 4), nv("70 Apple st")); trf.writer.append(nk("0008", "model citizen", "q,jane", "", 5), nv("81 Plum st")); trf.writer.close(); trf.openReader(); trf.iter.seek(new Range(new Text(""), null), EMPTY_COL_FAMS, false); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0007", "good citizen", "q,john", "", 4))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 993 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1265 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 250 |
args.setToAuthenticate(toAuthenticate); args.write(prot); prot.writeMessageEnd(); } public boolean getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_authenticateUser(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 677 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 692 |
SummingArrayCombiner.setEncodingType(is, type); Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf001"))); ai.init(new SortedMapIterator(tm1), is.getOptions(), null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertBytesEqual(encoder.encode(nal(4l, 6l, 5l)), ai.getTopValue().get()); ai.next(); assertFalse(ai.hasTop()); is.clearOptions(); SummingArrayCombiner.setEncodingType(is, encoderClass); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5271 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16338 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19633 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20853 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2592 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4067 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5289 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6411 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16069 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17148 |
boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); boolean that_present_tope = true && that.isSetTope(); if (this_present_tope || that_present_tope) { if (!(this_present_tope && that_present_tope)) return false; if (!this.tope.equals(that.tope)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(bulkImportFiles_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 53 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 183 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 189 |
public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 955 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1069 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1107 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1145 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1186 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1350 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1391 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 808 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 846 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 887 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 928 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 966 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1245 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1693 |
args.setCredential(credential); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); (new Client(prot)).recv_ping(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2639 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3239 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3839 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5375 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6981 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7981 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8923 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10057 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10977 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11902 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12976 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13995 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15143 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16438 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17506 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18524 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19719 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20939 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21336 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21715 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22107 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22563 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 629 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2114 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 441 |
org/apache/accumulo/core/data/thrift/TColumn.java | 476 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 476 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 513 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 441 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2692 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4153 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5375 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6497 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7458 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8376 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9394 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10414 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11334 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14608 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16155 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17252 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18218 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18897 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 968 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 289 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1074 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 454 |
org/apache/accumulo/core/security/thrift/Credential.java | 531 |
org/apache/accumulo/core/security/thrift/Credentials.java | 454 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 382 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 309 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 309 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 543 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9864 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10759 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13602 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14952 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16122 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22635 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24537 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26018 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26992 |
sb.append(this.success); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 191 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 121 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 161 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 121 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.EXTENT, new org.apache.thrift.meta_data.FieldMetaData("extent", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/GrantCommand.java | 33 |
org/apache/accumulo/core/util/shell/commands/RevokeCommand.java | 33 |
public class GrantCommand extends TableOperation { { disableUnflaggedTableOptions(); } private Option systemOpt, userOpt; private String user; private String[] permission; @Override public int execute(final String fullCommand, final CommandLine cl, final Shell shellState) throws Exception { user = cl.hasOption(userOpt.getOpt()) ? cl.getOptionValue(userOpt.getOpt()) : shellState.getConnector().whoami(); permission = cl.getArgs()[0].split("\\.", 2); if (cl.hasOption(systemOpt.getOpt()) && permission[0].equalsIgnoreCase("System")) { try { shellState.getConnector().securityOperations().grantSystemPermission(user, SystemPermission.valueOf(permission[1])); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 271 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 308 |
Connector c = mockInstance.getConnector("root", ""); c.tableOperations().create(TEST_TABLE_1); BatchWriter bw = c.createBatchWriter(TEST_TABLE_1, new BatchWriterConfig()); for (int i = 0; i < 100; i++) { Mutation m = new Mutation(new Text(String.format("%09x", i + 1))); m.put(new Text(), new Text(), new Value(String.format("%09x", i).getBytes())); bw.addMutation(m); } bw.close(); MRTester.main(new String[] {"root", "", TEST_TABLE_1}); assertNull(e1); assertNull(e2); } } |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 749 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 772 |
assertEquals(nv("90 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0003", "cf4", "buck,jane", "", 5))); assertEquals(nv("09 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); // scan all loc groups r = new Range(nk("0000", "cf1", "doe,john", "", 4), true, nk("0003", "cf4", "buck,jane", "", 5), true); trf.iter.seek(r, EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 677 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 692 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 707 |
SummingArrayCombiner.setEncodingType(is, type); Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf001"))); ai.init(new SortedMapIterator(tm1), is.getOptions(), null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertBytesEqual(encoder.encode(nal(4l, 6l, 5l)), ai.getTopValue().get()); ai.next(); assertFalse(ai.hasTop()); is.clearOptions(); SummingArrayCombiner.setEncodingType(is, encoderClass); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14804 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16018 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17242 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18260 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20594 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { struct.sysPerm = iprot.readByte(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TKey.java | 141 |
org/apache/accumulo/core/data/thrift/TMutation.java | 136 |
private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.ROW, new org.apache.thrift.meta_data.FieldMetaData("row", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.COL_FAMILY, new org.apache.thrift.meta_data.FieldMetaData("colFamily", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3800 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5030 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6156 |
BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(3)) { struct.startRow = iprot.readBinary(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13019 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13800 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.serverName = iprot.readString(); struct.setServerNameIsSet(true); } if (incoming.get(3)) { struct.split = new TabletSplit(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4914 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3798 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15780 |
public void read(org.apache.thrift.protocol.TProtocol prot, bulkImportFiles_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tid = iprot.readI64(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2292 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2892 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3492 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 492 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1092 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1692 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18473 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 188 |
getRootTabletLocation_args typedOther = (getRootTabletLocation_args)other; return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getRootTabletLocation_args("); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 59 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 271 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 277 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1404 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1530 |
public flush_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, String tableId, ByteBuffer startRow, ByteBuffer endRow, org.apache.thrift.async.AsyncMethodCallback<flush_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, true); this.tinfo = tinfo; this.credential = credential; this.lock = lock; this.tableId = tableId; this.startRow = startRow; this.endRow = endRow; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("flush", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3088 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15378 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case EXTENT: if (value == null) { unsetExtent(); } else { setExtent((org.apache.accumulo.core.data.thrift.TKeyExtent)value); } break; case RANGE: |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16016 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19372 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20592 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5028 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13798 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14561 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17668 |
public void read(org.apache.thrift.protocol.TProtocol prot, hasTablePermission_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9781 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12701 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14802 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17240 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18258 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6154 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9128 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10148 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13180 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15778 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16905 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19227 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19896 |
public void read(org.apache.thrift.protocol.TProtocol prot, createUser_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.toCreate = new org.apache.accumulo.core.security.thrift.Credential(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16907 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17670 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20777 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } if (incoming.get(3)) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7643 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10715 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11639 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13634 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2278 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7196 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8114 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11072 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16836 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17956 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22276 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24275 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25195 |
public void read(org.apache.thrift.protocol.TProtocol prot, authenticateUser_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.toAuthenticate = new org.apache.accumulo.core.security.thrift.Credential(); |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/GrantCommand.java | 75 |
org/apache/accumulo/core/util/shell/commands/RevokeCommand.java | 75 |
} @Override public String usage() { return getName() + " <permission>"; } @Override public void registerCompletion(final Token root, final Map<Command.CompletionSet,Set<String>> completionSet) { final Token cmd = new Token(getName()); cmd.addSubcommand(new Token(TablePermission.printableValues())); cmd.addSubcommand(new Token(SystemPermission.printableValues())); root.addSubcommand(cmd); } @Override public Options getOptions() { super.getOptions(); final Options o = new Options(); final OptionGroup group = new OptionGroup(); systemOpt = new Option("s", "system", false, "grant a system permission"); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 730 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 879 |
assertEquals(1, trf.reader.getNumLocalityGroupsSeeked()); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0000", "cf1", "doe,john", "", 4))); assertEquals(nv("1123 West Left st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0002", "cf2", "doe,jane", "", 5))); assertEquals(nv("1124 East Right st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 745 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 904 |
assertEquals(1, trf.reader.getNumLocalityGroupsSeeked()); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0001", "cf3", "buck,john", "", 4))); assertEquals(nv("90 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0003", "cf4", "buck,jane", "", 5))); assertEquals(nv("09 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6304 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16476 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23575 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 875 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1475 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2152 |
public void read(org.apache.thrift.protocol.TProtocol iprot, isActive_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2675 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3275 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17288 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18933 |
public void read(org.apache.thrift.protocol.TProtocol iprot, getRootTabletLocation_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2641 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3241 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3841 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5377 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6268 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6983 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8925 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10059 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10979 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11904 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12978 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13997 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17508 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18526 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19721 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20941 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21338 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21717 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22109 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22565 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23539 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 631 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 839 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1439 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 289 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 386 |
org/apache/accumulo/core/data/thrift/TColumn.java | 478 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 516 |
org/apache/accumulo/core/data/thrift/TKey.java | 641 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 478 |
org/apache/accumulo/core/data/thrift/TMutation.java | 564 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 515 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 654 |
org/apache/accumulo/core/master/thrift/Compacting.java | 362 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4155 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5377 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6499 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7460 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9396 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10416 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11336 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16157 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17254 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18220 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18899 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 291 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 439 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 456 |
org/apache/accumulo/core/security/thrift/Credential.java | 533 |
org/apache/accumulo/core/security/thrift/Credentials.java | 456 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 384 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 800 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 311 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9866 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13604 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14954 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16124 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22637 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24539 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26020 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26994 |
first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/Shell.java | 461 |
org/apache/accumulo/core/util/shell/commands/ListIterCommand.java | 66 |
sb.append("- Iterator ").append(setting.getName()).append(" options:\n"); sb.append("- ").append("iteratorPriority").append(" = ").append(setting.getPriority()).append("\n"); sb.append("- ").append("iteratorClassName").append(" = ").append(setting.getIteratorClass()).append("\n"); for (Entry<String,String> optEntry : setting.getOptions().entrySet()) { sb.append("- ").append(optEntry.getKey()).append(" = ").append(optEntry.getValue()).append("\n"); } } } } sb.append("-\n"); |
File | Line |
---|---|
org/apache/accumulo/core/data/MutationTest.java | 83 |
org/apache/accumulo/core/data/MutationTest.java | 105 |
ColumnUpdate cu = updates.get(0); assertEquals("cf1", new String(cu.getColumnFamily())); assertEquals("cq1", new String(cu.getColumnQualifier())); assertEquals("", new String(cu.getColumnVisibility())); assertFalse(cu.hasTimestamp()); cu = updates.get(1); assertEquals("cf2", new String(cu.getColumnFamily())); assertEquals("cq2", new String(cu.getColumnQualifier())); assertEquals("", new String(cu.getColumnVisibility())); assertTrue(cu.hasTimestamp()); assertEquals(56, cu.getTimestamp()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16018 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20594 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } if (incoming.get(3)) { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4276 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5498 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6620 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16278 |
public void read(org.apache.thrift.protocol.TProtocol prot, waitForFlush_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } if (incoming.get(1)) { struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } } } } public static class setTableProperty_args implements org.apache.thrift.TBase<setTableProperty_args, setTableProperty_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5210 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17087 |
setTope((ThriftTableOperationException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return getSuccess(); case SEC: return getSec(); case TOPE: return getTope(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); case TOPE: return isSetTope(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof bulkImportFiles_result) |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4916 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14563 |
BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tid = iprot.readI64(); struct.setTidIsSet(true); } if (incoming.get(3)) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7643 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10715 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11639 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13634 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2278 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7196 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8114 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11072 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16836 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17956 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22276 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24275 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25195 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27750 |
public void read(org.apache.thrift.protocol.TProtocol prot, authenticateUser_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2294 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2615 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2894 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3494 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3815 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4605 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5335 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5858 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6246 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6598 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6957 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7451 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7953 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8407 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8891 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9539 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10033 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10527 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10953 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11447 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11878 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12463 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12952 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13446 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13963 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14591 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15115 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15778 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16402 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17029 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18047 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18500 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19687 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20354 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20907 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21312 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21691 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22083 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22531 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23094 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23517 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 573 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 494 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 817 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1094 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1417 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1694 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2086 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 336 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 336 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 405 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 267 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 732 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 356 |
org/apache/accumulo/core/data/thrift/TColumn.java | 436 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 474 |
org/apache/accumulo/core/data/thrift/TKey.java | 587 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 436 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 345 |
org/apache/accumulo/core/data/thrift/TMutation.java | 518 |
org/apache/accumulo/core/data/thrift/TRange.java | 612 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 473 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 491 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 955 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 472 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 612 |
org/apache/accumulo/core/master/thrift/Compacting.java | 336 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 405 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2090 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2656 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3512 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4121 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4786 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5343 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5939 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6465 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7008 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7434 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7930 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8352 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8917 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9370 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9933 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10390 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10884 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11310 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11735 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12199 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12798 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13552 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14114 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14580 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15444 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16123 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16652 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17212 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17772 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18194 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18475 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18865 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 892 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 265 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 405 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 1026 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1002 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 354 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 414 |
org/apache/accumulo/core/security/thrift/Credential.java | 483 |
org/apache/accumulo/core/security/thrift/Credentials.java | 414 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 350 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 750 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1067 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1158 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 285 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 285 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 190 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 265 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 499 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3493 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4544 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5073 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5666 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6195 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7177 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8073 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8536 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8991 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9454 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9840 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10265 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10731 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11345 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11903 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12358 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12957 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13562 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14273 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14920 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15559 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16090 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16686 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17426 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18282 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19677 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20506 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21094 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21558 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22088 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22603 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23093 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23557 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24087 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24513 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25007 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25502 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25986 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26476 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26960 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27539 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 750 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 265 |
return 0; } public _Fields fieldForId(int fieldId) { return _Fields.findByThriftId(fieldId); } public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { schemes.get(iprot.getScheme()).getScheme().read(iprot, this); } public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { schemes.get(oprot.getScheme()).getScheme().write(oprot, this); } @Override public String toString() { StringBuilder sb = new StringBuilder("getRootTabletLocation_args("); |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/GrantCommand.java | 50 |
org/apache/accumulo/core/util/shell/commands/RevokeCommand.java | 50 |
Shell.log.debug("Granted " + user + " the " + permission[1] + " permission"); } catch (IllegalArgumentException e) { throw new BadArgumentException("No such system permission", fullCommand, fullCommand.indexOf(cl.getArgs()[0])); } } else if (permission[0].equalsIgnoreCase("Table")) { super.execute(fullCommand, cl, shellState); } else { throw new BadArgumentException("Unrecognized permission", fullCommand, fullCommand.indexOf(cl.getArgs()[0])); } return 0; } @Override protected void doTableOp(final Shell shellState, final String tableName) throws Exception { try { shellState.getConnector().securityOperations().grantTablePermission(user, tableName, TablePermission.valueOf(permission[1])); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10656 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13575 |
public void write(org.apache.thrift.protocol.TProtocol oprot, dropUser_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.principal != null) { oprot.writeFieldBegin(PRINCIPAL_FIELD_DESC); oprot.writeString(struct.principal); oprot.writeFieldEnd(); } if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class dropUser_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15675 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17556 |
struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // RANGE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24216 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25136 |
public void write(org.apache.thrift.protocol.TProtocol oprot, halt_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.lock != null) { oprot.writeFieldBegin(LOCK_FIELD_DESC); oprot.writeString(struct.lock); oprot.writeFieldEnd(); } if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class halt_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/Shell.java | 461 |
org/apache/accumulo/core/util/shell/commands/ListShellIterCommand.java | 63 |
sb.append("- Iterator ").append(setting.getName()).append(" options:\n"); sb.append("- ").append("iteratorPriority").append(" = ").append(setting.getPriority()).append("\n"); sb.append("- ").append("iteratorClassName").append(" = ").append(setting.getIteratorClass()).append("\n"); for (Entry<String,String> optEntry : setting.getOptions().entrySet()) { sb.append("- ").append(optEntry.getKey()).append(" = ").append(optEntry.getValue()).append("\n"); } } } |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 278 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 278 |
public boolean equals(InitialMultiScan that) { if (that == null) return false; boolean this_present_scanID = true; boolean that_present_scanID = true; if (this_present_scanID || that_present_scanID) { if (!(this_present_scanID && that_present_scanID)) return false; if (this.scanID != that.scanID) return false; } boolean this_present_result = true && this.isSetResult(); boolean that_present_result = true && that.isSetResult(); if (this_present_result || that_present_result) { if (!(this_present_result && that_present_result)) return false; if (!this.result.equals(that.result)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(InitialMultiScan other) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 53 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 109 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 183 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 817 |
public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 53 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 183 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 189 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2650 |
public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5015 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6137 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8478 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9396 |
public boolean equals(continueScan_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_scanID = true; boolean that_present_scanID = true; if (this_present_scanID || that_present_scanID) { if (!(this_present_scanID && that_present_scanID)) return false; if (this.scanID != that.scanID) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(continueScan_args other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7895 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15057 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14522 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10673 |
public boolean equals(authenticateUser_result that) { if (that == null) return false; boolean this_present_success = true; boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (this.success != that.success) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } return true; } @Override public int hashCode() { return 0; } public int compareTo(authenticateUser_result other) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2314 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2914 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3514 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6269 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7984 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15146 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16441 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23540 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 514 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 840 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1114 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1440 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1714 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 2117 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 444 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 290 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 387 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 517 |
org/apache/accumulo/core/data/thrift/TKey.java | 642 |
org/apache/accumulo/core/data/thrift/TMutation.java | 565 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 655 |
org/apache/accumulo/core/master/thrift/Compacting.java | 363 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 444 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2695 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14611 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18495 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 971 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 440 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 1077 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 801 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 210 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 546 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10762 |
sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/system/SourceSwitchingIteratorTest.java | 104 |
org/apache/accumulo/core/iterators/system/SourceSwitchingIteratorTest.java | 121 |
public void test1() throws Exception { TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); put(tm1, "r1", "cf1", "cq1", 5, "v1"); put(tm1, "r1", "cf1", "cq3", 5, "v2"); put(tm1, "r2", "cf1", "cq1", 5, "v3"); SortedMapIterator smi = new SortedMapIterator(tm1); TestDataSource tds = new TestDataSource(smi); SourceSwitchingIterator ssi = new SourceSwitchingIterator(tds); ssi.seek(new Range(), new ArrayList<ByteSequence>(), false); ane(ssi, "r1", "cf1", "cq1", 5, "v1", true); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 186 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 183 |
assertEquals("9", ai.getTopValue().toString()); ai.next(); assertFalse(ai.hasTop()); // try seeking the middle of a key the aggregates ai.seek(nr(1, 1, 1, 2), EMPTY_COL_FAMS, false); assertFalse(ai.hasTop()); // try seeking to the end of a key the aggregates ai.seek(nr(1, 1, 1, 1), EMPTY_COL_FAMS, false); assertFalse(ai.hasTop()); // try seeking before a key the aggregates ai.seek(nr(1, 1, 1, 4), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", ai.getTopValue().toString()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 194 |
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 232 |
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 315 |
IndexedDocIterator.setColumnFamilies(is, columnFamilies); IndexedDocIterator.setColfs(is, indexColf.toString(), docColfPrefix); IndexedDocIterator iter = new IndexedDocIterator(); iter.init(source, is.getOptions(), env); iter.seek(new Range(), EMPTY_COL_FAMS, false); int hitCount = 0; while (iter.hasTop()) { hitCount++; Key k = iter.getTopKey(); Value v = iter.getTopValue(); // System.out.println(k.toString()); // System.out.println(iter.getDocID(k)); Text d = IndexedDocIterator.parseDocID(k); assertTrue(docs.contains(d)); assertTrue(new String(v.get()).endsWith(" docID=" + d)); iter.next(); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1419 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1463 |
public grantTablePermission_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String principal, String tableName, byte permission, org.apache.thrift.async.AsyncMethodCallback<grantTablePermission_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.credential = credential; this.principal = principal; this.tableName = tableName; this.permission = permission; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grantTablePermission", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 53 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 183 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 836 |
public org.apache.accumulo.core.data.thrift.InitialScan startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 59 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 115 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 271 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 948 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 109 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 189 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 817 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2650 |
public void startScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.accumulo.core.data.thrift.TRange range, List<org.apache.accumulo.core.data.thrift.TColumn> columns, int batchSize, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5258 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17135 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4448 |
public boolean equals(bulkImportFiles_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_tope = true && this.isSetTope(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 59 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 271 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 277 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6507 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4452 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9443 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10450 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11370 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12367 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13369 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15663 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17951 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2013 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3359 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5843 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6931 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7853 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8821 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9837 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10807 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13437 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15291 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7005 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12861 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14158 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15463 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18148 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20372 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22011 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24930 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27462 |
public boolean equals(bulkImportFiles_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } boolean this_present_tid = true; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 640 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 690 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 734 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 775 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1174 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1212 |
public long getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 59 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 271 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 964 |
public org.apache.accumulo.core.data.thrift.InitialMultiScan startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 115 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 277 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 948 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6507 |
public void startMultiScan(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,List<org.apache.accumulo.core.data.thrift.TRange>> batch, List<org.apache.accumulo.core.data.thrift.TColumn> columns, List<org.apache.accumulo.core.data.thrift.IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.startMultiScan_call> resultHandler) throws org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5570 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8933 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12300 |
public boolean equals(continueScan_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_nssi = true && this.isSetNssi(); boolean that_present_nssi = true && that.isSetNssi(); if (this_present_nssi || that_present_nssi) { if (!(this_present_nssi && that_present_nssi)) return false; if (!this.nssi.equals(that.nssi)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13485 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16032 |
public boolean equals(update_result that) { if (that == null) return false; boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_nste = true && this.isSetNste(); boolean that_present_nste = true && that.isSetNste(); if (this_present_nste || that_present_nste) { if (!(this_present_nste && that_present_nste)) return false; if (!this.nste.equals(that.nste)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8568 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 652 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11896 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14275 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10426 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25663 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26637 |
public void read(org.apache.thrift.protocol.TProtocol prot, listUsers_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } } } } public static class listUsers_result implements org.apache.thrift.TBase<listUsers_result, listUsers_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5258 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8833 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13905 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 897 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12141 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17135 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4448 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8015 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14862 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21500 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22545 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23499 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25928 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26902 |
public boolean equals(bulkImportFiles_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4452 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8349 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9443 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10450 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11370 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12367 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13369 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14495 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15663 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16933 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17951 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20239 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 433 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2013 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3359 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4671 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5843 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6931 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7853 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8821 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9837 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10807 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11677 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13437 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14056 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15291 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7005 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10207 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12861 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14158 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15463 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16590 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18148 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18912 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20372 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21036 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22011 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23035 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24010 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24930 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25444 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26418 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27462 |
public boolean equals(bulkImportFiles_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_credential = true && this.isSetCredential(); boolean that_present_credential = true && that.isSetCredential(); if (this_present_credential || that_present_credential) { if (!(this_present_credential && that_present_credential)) return false; if (!this.credential.equals(that.credential)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/data/Mutation.java | 436 |
org/apache/accumulo/core/data/OldMutation.java | 316 |
int len = (int)in.readVLong(); if (len == 0) return EMPTY_BYTES; byte bytes[] = new byte[len]; in.readBytes(bytes); return bytes; } public List<ColumnUpdate> getUpdates() { serialize(); SimpleReader in = new SimpleReader(data); if (updates == null) { if (entries == 1) { updates = Collections.singletonList(deserializeColumnUpdate(in)); } else { ColumnUpdate[] tmpUpdates = new ColumnUpdate[entries]; for (int i = 0; i < entries; i++) tmpUpdates[i] = deserializeColumnUpdate(in); updates = Arrays.asList(tmpUpdates); } } return updates; } |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormat.java | 508 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormat.java | 512 |
public void checkOutputSpecs(FileSystem ignored, JobConf job) throws IOException { if (!isConnectorInfoSet(job)) throw new IOException("Connector info has not been set."); try { // if the instance isn't configured, it will complain here Connector c = getInstance(job).getConnector(getPrincipal(job), CredentialHelper.extractToken(getTokenClass(job), getToken(job))); if (!c.securityOperations().authenticateUser(getPrincipal(job), CredentialHelper.extractToken(getTokenClass(job), getToken(job)))) throw new IOException("Unable to authenticate user"); } catch (AccumuloException e) { throw new IOException(e); } catch (AccumuloSecurityException e) { throw new IOException(e); } } @Override public RecordWriter<Text,Mutation> getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 246 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 175 |
setMoreIsSet(false); this.more = false; } public int getResultsSize() { return (this.results == null) ? 0 : this.results.size(); } public java.util.Iterator<TKeyValue> getResultsIterator() { return (this.results == null) ? null : this.results.iterator(); } public void addToResults(TKeyValue elem) { if (this.results == null) { this.results = new ArrayList<TKeyValue>(); } this.results.add(elem); } public List<TKeyValue> getResults() { return this.results; } public MultiScanResult setResults(List<TKeyValue> results) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9081 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9910 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12448 |
case 1: // NSSI if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nssi = new NoSuchScanIDException(); struct.nssi.read(iprot); struct.setNssiIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, continueMultiScan_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 1096 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 1138 |
trf.writer.append(nk("0009", "c", "cq1", "", 4), nv("1")); assertFalse(true); } catch (IllegalArgumentException ioe) { } trf.closeWriter(); trf.openReader(); trf.iter.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(trf.iter.hasTop()); assertEquals(nk("0007", "a", "cq1", "", 4), trf.iter.getTopKey()); assertEquals(nv("1"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); } @Test public void test13() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 155 |
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 382 |
public void test2() throws IOException { TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that aggregate nkv(tm1, 1, 1, 1, 1, false, "2"); nkv(tm1, 1, 1, 1, 2, false, "3"); nkv(tm1, 1, 1, 1, 3, false, "4"); AggregatingIterator ai = new AggregatingIterator(); Map<String,String> opts = new HashMap<String,String>(); opts.put("cf001", SummationAggregator.class.getName()); ai.init(new SortedMapIterator(tm1), opts, null); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8086 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15248 |
public void write(org.apache.thrift.protocol.TProtocol prot, authenticateUser_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } if (struct.isSetSec()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { oprot.writeBool(struct.success); } if (struct.isSetSec()) { struct.sec.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, authenticateUser_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 470 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 470 |
public void write(org.apache.thrift.protocol.TProtocol prot, InitialMultiScan struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetScanID()) { optionals.set(0); } if (struct.isSetResult()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetScanID()) { oprot.writeI64(struct.scanID); } if (struct.isSetResult()) { struct.result.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, InitialMultiScan struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19823 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21043 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4257 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5479 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6601 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16259 |
public void write(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSec()) { optionals.set(0); } if (struct.isSetTope()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetSec()) { struct.sec.write(oprot); } if (struct.isSetTope()) { struct.tope.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2347 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2947 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3547 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 547 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1147 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1747 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18528 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 243 |
public void read(org.apache.thrift.protocol.TProtocol iprot, getRootTabletLocation_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getRootTabletLocation_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5207 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6329 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8670 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9588 |
public void write(org.apache.thrift.protocol.TProtocol prot, continueScan_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetScanID()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetScanID()) { oprot.writeI64(struct.scanID); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, continueScan_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14713 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10864 |
public void write(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } if (struct.isSetSec()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { oprot.writeI64(struct.success); } if (struct.isSetSec()) { struct.sec.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9130 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12497 |
public void write(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } if (struct.isSetNssi()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { struct.success.write(oprot); } if (struct.isSetNssi()) { struct.nssi.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, continueMultiScan_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13292 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.TMFE, new org.apache.thrift.meta_data.FieldMetaData("tmfe", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16384 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18706 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19375 |
public loadTablet_args(loadTablet_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetLock()) { this.lock = other.lock; } if (other.isSetExtent()) { this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent); } } public loadTablet_args deepCopy() { |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1094 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12338 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21697 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23696 |
public void write(org.apache.thrift.protocol.TProtocol prot, getStatus_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } if (struct.isSetSec()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetSuccess()) { struct.success.write(oprot); } if (struct.isSetSec()) { struct.sec.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, getStatus_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8549 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 633 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11877 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14256 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10407 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21236 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23235 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26618 |
public void write(org.apache.thrift.protocol.TProtocol prot, listUsers_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredential()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredential()) { struct.credential.write(oprot); } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, listUsers_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/ListIterCommand.java | 66 |
org/apache/accumulo/core/util/shell/commands/ListShellIterCommand.java | 63 |
sb.append("- Iterator ").append(setting.getName()).append(", ").append(scope).append(" scope options:\n"); sb.append("- ").append("iteratorPriority").append(" = ").append(setting.getPriority()).append("\n"); sb.append("- ").append("iteratorClassName").append(" = ").append(setting.getIteratorClass()).append("\n"); for (Entry<String,String> optEntry : setting.getOptions().entrySet()) { sb.append("- ").append(optEntry.getKey()).append(" = ").append(optEntry.getValue()).append("\n"); } } } |
File | Line |
---|---|
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 261 |
org/apache/accumulo/core/client/mapreduce/AccumuloRowInputFormatTest.java | 138 |
assertEquals(100, count); } catch (AssertionError e) { e2 = e; } } } @Override public int run(String[] args) throws Exception { if (args.length != 3) { throw new IllegalArgumentException("Usage : " + MRTester.class.getName() + " <user> <pass> <table>"); } String user = args[0]; String pass = args[1]; String table = args[2]; Job job = new Job(getConf(), this.getClass().getSimpleName() + "_" + System.currentTimeMillis()); job.setJarByClass(this.getClass()); job.setInputFormatClass(AccumuloInputFormat.class); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14409 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15564 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16847 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18920 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20140 |
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SYSPERM_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case SYS_PERM: |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5448 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16503 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19774 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20994 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22629 |
case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImportFiles_result struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12615 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13337 |
this.split = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case SERVER_NAME: if (value == null) { unsetServerName(); } else { setServerName((String)value); } break; case SPLIT: |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16503 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18035 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19494 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20259 |
this.extent = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; case EXTENT: |
File | Line |
---|---|
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1038 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12282 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4643 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8156 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21641 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23640 |
struct.success = new GCStatus(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloOutputFormatTest.java | 142 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormatTest.java | 135 |
JobConf job = new JobConf(); // make sure we aren't testing defaults final BatchWriterConfig bwDefaults = new BatchWriterConfig(); assertNotEquals(7654321l, bwDefaults.getMaxLatency(TimeUnit.MILLISECONDS)); assertNotEquals(9898989l, bwDefaults.getTimeout(TimeUnit.MILLISECONDS)); assertNotEquals(42, bwDefaults.getMaxWriteThreads()); assertNotEquals(1123581321l, bwDefaults.getMaxMemory()); final BatchWriterConfig bwConfig = new BatchWriterConfig(); bwConfig.setMaxLatency(7654321l, TimeUnit.MILLISECONDS); bwConfig.setTimeout(9898989l, TimeUnit.MILLISECONDS); bwConfig.setMaxWriteThreads(42); bwConfig.setMaxMemory(1123581321l); AccumuloOutputFormat.setBatchWriterOptions(job, bwConfig); AccumuloOutputFormat myAOF = new AccumuloOutputFormat() { @Override public void checkOutputSpecs(FileSystem ignored, JobConf job) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1336 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1377 |
public grantSystemPermission_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String principal, byte permission, org.apache.thrift.async.AsyncMethodCallback<grantSystemPermission_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.credential = credential; this.principal = principal; this.permission = permission; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("grantSystemPermission", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10376 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12280 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13295 |
this.principal = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 201 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 201 |
public InitialMultiScan setResult(MultiScanResult result) { this.result = result; return this; } public void unsetResult() { this.result = null; } /** Returns true if field result is set (has been assigned a value) and false otherwise */ public boolean isSetResult() { return this.result != null; } public void setResultIsSet(boolean value) { if (!value) { this.result = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SCAN_ID: if (value == null) { unsetScanID(); } else { setScanID((Long)value); } break; case RESULT: if (value == null) { unsetResult(); } else { setResult((MultiScanResult)value); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 438 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 222 |
public MultiScanResult setMore(boolean more) { this.more = more; setMoreIsSet(true); return this; } public void unsetMore() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MORE_ISSET_ID); } /** Returns true if field more is set (has been assigned a value) and false otherwise */ public boolean isSetMore() { return EncodingUtils.testBit(__isset_bitfield, __MORE_ISSET_ID); } public void setMoreIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MORE_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case RESULTS: if (value == null) { unsetResults(); } else { setResults((List<TKeyValue>)value); } break; case FAILURES: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1939 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4571 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5756 |
this.tableName = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9750 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10733 |
this.value = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PROPERTY: if (value == null) { unsetProperty(); } else { setProperty((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15166 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16502 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17622 |
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AUTOCLEAN_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case OPID: if (value == null) { unsetOpid(); } else { setOpid((Long)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1319 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1448 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1488 |
public loadTablet_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String lock, org.apache.accumulo.core.data.thrift.TKeyExtent extent, org.apache.thrift.async.AsyncMethodCallback<loadTablet_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, true); this.tinfo = tinfo; this.credential = credential; this.lock = lock; this.extent = extent; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("loadTablet", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13652 |
struct.setNssiIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // NSTE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nste = new NotServingTabletException(); struct.nste.read(iprot); struct.setNsteIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // TMFE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tmfe = new TooManyFilesException(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16503 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18035 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19494 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20259 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23936 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24856 |
this.extent = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloFileOutputFormatTest.java | 235 |
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormatTest.java | 226 |
job = new JobConf(); AccumuloFileOutputFormat.setReplication(job, a); AccumuloFileOutputFormat.setFileBlockSize(job, b); AccumuloFileOutputFormat.setDataBlockSize(job, c); AccumuloFileOutputFormat.setIndexBlockSize(job, d); AccumuloFileOutputFormat.setCompressionType(job, e); acuconf = AccumuloFileOutputFormat.getAccumuloConfiguration(job); assertEquals(17, acuconf.getCount(Property.TABLE_FILE_REPLICATION)); assertEquals(1300l, acuconf.getMemoryInBytes(Property.TABLE_FILE_BLOCK_SIZE)); assertEquals(150l, acuconf.getMemoryInBytes(Property.TABLE_FILE_COMPRESSED_BLOCK_SIZE)); assertEquals(110l, acuconf.getMemoryInBytes(Property.TABLE_FILE_COMPRESSED_BLOCK_SIZE_INDEX)); assertEquals("lzo", acuconf.get(Property.TABLE_FILE_COMPRESSION_TYPE)); } } |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 862 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 937 |
trf.iter.seek(new Range(new Text(""), null), EMPTY_COL_FAMS, false); assertFalse(trf.iter.hasTop()); trf.closeReader(); // another empty locality group test trf = new TestRFile(); trf.openWriter(false); trf.writer.startNewLocalityGroup("lg1", ncfs("cf1", "cf2")); trf.writer.append(nk("0000", "cf1", "doe,john", "", 4), nv("1123 West Left st")); trf.writer.append(nk("0002", "cf2", "doe,jane", "", 5), nv("1124 East Right st")); trf.writer.startNewLocalityGroup("lg2", ncfs("cf3", "cf4")); trf.writer.startDefaultLocalityGroup(); trf.writer.close(); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 730 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 956 |
assertEquals(1, trf.reader.getNumLocalityGroupsSeeked()); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0000", "cf1", "doe,john", "", 4))); assertEquals(nv("1123 West Left st"), trf.iter.getTopValue()); trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0002", "cf2", "doe,jane", "", 5))); assertEquals(nv("1124 East Right st"), trf.iter.getTopValue()); trf.iter.next(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/RowFilterTest.java | 90 |
org/apache/accumulo/core/iterators/user/RowFilterTest.java | 119 |
Mutation m = new Mutation("0"); m.put("cf1", "cq1", "1"); m.put("cf1", "cq2", "1"); m.put("cf1", "cq3", "1"); m.put("cf1", "cq4", "1"); m.put("cf1", "cq5", "1"); m.put("cf1", "cq6", "1"); m.put("cf1", "cq7", "1"); m.put("cf1", "cq8", "1"); m.put("cf1", "cq9", "1"); m.put("cf2", "cq1", "1"); m.put("cf2", "cq2", "1"); bw.addMutation(m); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/WholeRowIteratorTest.java | 129 |
org/apache/accumulo/core/iterators/user/WholeRowIteratorTest.java | 165 |
SortedMapIterator source = new SortedMapIterator(map); WholeRowIterator iter = new WholeRowIterator(source); Range range = new Range(new Text("row1"), true, new Text("row2"), true); iter.seek(range, new ArrayList<ByteSequence>(), false); assertTrue(iter.hasTop()); assertEquals(map1, WholeRowIterator.decodeRow(iter.getTopKey(), iter.getTopValue())); // simulate something continuing using the last key from the iterator // this is what client and server code will do range = new Range(iter.getTopKey(), false, range.getEndKey(), range.isEndKeyInclusive()); iter.seek(range, new ArrayList<ByteSequence>(), false); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 780 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 809 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 838 |
getRootTabletLocation_args args = new getRootTabletLocation_args(); args.write(prot); prot.writeMessageEnd(); } public String getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRootTabletLocation(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 893 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1314 |
public List<String> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_bulkImportFiles(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 192 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 221 |
success_args args = new success_args(); args.write(prot); prot.writeMessageEnd(); } public boolean getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_success(); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15461 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16669 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17789 |
StringBuilder sb = new StringBuilder("executeTableOperation_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("opid:"); sb.append(this.opid); first = false; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5430 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14050 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22691 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26074 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27048 |
struct.success.add(_elem10); } iprot.readListEnd(); } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 207 |
org/apache/accumulo/core/client/mapred/AccumuloOutputFormatTest.java | 73 |
try { if (key != null) assertEquals(key.getRow().toString(), new String(v.get())); assertEquals(k.getRow(), new Text(String.format("%09x", count + 1))); assertEquals(new String(v.get()), String.format("%09x", count)); } catch (AssertionError e) { e1 = e; } key = new Key(k); count++; } @Override public void configure(JobConf job) {} @Override public void close() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 215 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 281 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 352 |
TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that aggregate nkv(tm1, 1, 1, 1, 1, false, 2l, encoder); nkv(tm1, 1, 1, 1, 2, false, 3l, encoder); nkv(tm1, 1, 1, 1, 3, false, 4l, encoder); // keys that do not aggregate nkv(tm1, 2, 2, 1, 1, false, 2l, encoder); nkv(tm1, 2, 2, 1, 2, false, 3l, encoder); Combiner ai = new SummingCombiner(); IteratorSetting is = new IteratorSetting(1, SummingCombiner.class); LongCombiner.setEncodingType(is, FixedLenEncoder.class.getName()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19993 |
public grantTablePermission_args(grantTablePermission_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetPrincipal()) { this.principal = other.principal; } if (other.isSetTableName()) { this.tableName = other.tableName; } this.permission = other.permission; } public grantTablePermission_args deepCopy() { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12282 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14410 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15565 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16848 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17866 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18921 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20141 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case AUTHORIZATIONS: |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10717 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13636 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14804 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16018 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17242 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18260 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20594 |
BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.principal = iprot.readString(); struct.setPrincipalIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 923 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1581 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 192 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 221 |
args.setTid(tid); args.write(prot); prot.writeMessageEnd(); } public boolean getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_isActive(); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 235 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 235 |
setResult((MultiScanResult)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SCAN_ID: return Long.valueOf(getScanID()); case RESULT: return getResult(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SCAN_ID: return isSetScanID(); case RESULT: return isSetResult(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof InitialMultiScan) |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3235 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4573 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5758 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; case START_ROW: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2280 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3800 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5030 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6156 |
BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10150 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11074 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.property = iprot.readString(); struct.setPropertyIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15782 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16838 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17958 |
BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.opid = iprot.readI64(); struct.setOpidIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1033 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1256 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1625 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1805 |
public Set<String> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_listUsers(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18037 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20261 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; case EXTENT: |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3386 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18184 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20408 |
if (!this.tableName.equals(that.tableName)) return false; } boolean this_present_startRow = true && this.isSetStartRow(); boolean that_present_startRow = true && that.isSetStartRow(); if (this_present_startRow || that_present_startRow) { if (!(this_present_startRow && that_present_startRow)) return false; if (!this.startRow.equals(that.startRow)) return false; } boolean this_present_endRow = true && this.isSetEndRow(); boolean that_present_endRow = true && that.isSetEndRow(); if (this_present_endRow || that_present_endRow) { if (!(this_present_endRow && that_present_endRow)) return false; if (!this.endRow.equals(that.endRow)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3552 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18330 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20554 |
sb.append(this.tableName); } first = false; if (!first) sb.append(", "); sb.append("startRow:"); if (this.startRow == null) { sb.append("null"); } else { org.apache.thrift.TBaseHelper.toString(this.startRow, sb); } first = false; if (!first) sb.append(", "); sb.append("endRow:"); if (this.endRow == null) { sb.append("null"); } else { org.apache.thrift.TBaseHelper.toString(this.endRow, sb); } first = false; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7938 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21423 |
public startMultiScan_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((org.apache.accumulo.core.data.thrift.InitialMultiScan)value); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16907 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17670 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20777 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24277 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25197 |
BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.lock = iprot.readString(); struct.setLockIsSet(true); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8908 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13980 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 972 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12216 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8090 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14937 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21575 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22620 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23574 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26003 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26977 |
StringBuilder sb = new StringBuilder("listUsers_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10378 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13297 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14410 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15565 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16848 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17866 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18921 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20141 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1941 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3235 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case TABLE_NAME: if (value == null) { unsetTableName(); } else { setTableName((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16779 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17899 |
public void write(org.apache.thrift.protocol.TProtocol oprot, waitForTableOperation_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(OPID_FIELD_DESC); oprot.writeI64(struct.opid); oprot.writeFieldEnd(); if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class waitForTableOperation_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 136 |
org/apache/accumulo/core/security/thrift/Credential.java | 143 |
org/apache/accumulo/core/security/thrift/Credentials.java | 136 |
tmpMap.put(_Fields.PASSWORD, new org.apache.thrift.meta_data.FieldMetaData("password", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.INSTANCE_ID, new org.apache.thrift.meta_data.FieldMetaData("instanceId", 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(AuthInfo.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 998 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1033 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1229 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1270 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 255 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 153 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1006 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1124 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1279 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 991 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1096 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1256 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1587 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1625 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1660 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1805 |
public boolean getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_authenticateUser(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9317 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12241 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 680 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3001 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6804 |
this.toCreate = null; } } public int getAuthorizationsSize() { return (this.authorizations == null) ? 0 : this.authorizations.size(); } public java.util.Iterator<ByteBuffer> getAuthorizationsIterator() { return (this.authorizations == null) ? null : this.authorizations.iterator(); } public void addToAuthorizations(ByteBuffer elem) { if (this.authorizations == null) { this.authorizations = new ArrayList<ByteBuffer>(); } this.authorizations.add(elem); } public List<ByteBuffer> getAuthorizations() { return this.authorizations; } public createUser_args setAuthorizations(List<ByteBuffer> authorizations) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 919 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 991 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3318 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7041 |
if (this.entriesWritten != that.entriesWritten) return false; } boolean this_present_ssiList = true && this.isSetSsiList(); boolean that_present_ssiList = true && that.isSetSsiList(); if (this_present_ssiList || that_present_ssiList) { if (!(this_present_ssiList && that_present_ssiList)) return false; if (!this.ssiList.equals(that.ssiList)) return false; } boolean this_present_ssio = true && this.isSetSsio(); boolean that_present_ssio = true && that.isSetSsio(); if (this_present_ssio || that_present_ssio) { if (!(this_present_ssio && that_present_ssio)) return false; if (!this.ssio.equals(that.ssio)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16385 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17067 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18707 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19376 |
if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetLock()) { this.lock = other.lock; } if (other.isSetExtent()) { this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent); } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23938 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24858 |
} public void setFieldValue(_Fields field, Object value) { switch (field) { case TINFO: if (value == null) { unsetTinfo(); } else { setTinfo((org.apache.accumulo.trace.thrift.TInfo)value); } break; case CREDENTIAL: if (value == null) { unsetCredential(); } else { setCredential((org.apache.accumulo.core.security.thrift.Credential)value); } break; case LOCK: if (value == null) { unsetLock(); } else { setLock((String)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/file/blockfile/cache/TestCachedBlockQueue.java | 59 |
org/apache/accumulo/core/file/blockfile/cache/TestCachedBlockQueue.java | 111 |
LinkedList<org.apache.accumulo.core.file.blockfile.cache.CachedBlock> blocks = queue.getList(); assertEquals(blocks.poll().getName(), "cb1"); assertEquals(blocks.poll().getName(), "cb2"); assertEquals(blocks.poll().getName(), "cb3"); assertEquals(blocks.poll().getName(), "cb4"); assertEquals(blocks.poll().getName(), "cb5"); assertEquals(blocks.poll().getName(), "cb6"); assertEquals(blocks.poll().getName(), "cb7"); assertEquals(blocks.poll().getName(), "cb8"); } |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 773 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 789 |
trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0003", "cf4", "buck,jane", "", 5))); assertEquals(nv("09 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); // scan no loc groups r = new Range(nk("0000", "cf1", "doe,john", "", 4), true, nk("0003", "cf4", "buck,jane", "", 5), true); trf.iter.seek(r, ncfs("saint", "dogooder"), true); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 735 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 822 |
trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0002", "cf2", "doe,jane", "", 5))); assertEquals(nv("1124 East Right st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); // scan second loc group r = new Range(nk("0000", "cf1", "doe,john", "", 4), true, nk("0003", "cf4", "buck,jane", "", 5), true); trf.iter.seek(r, ncfs("cf3", "cf4"), true); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java | 97 |
org/apache/accumulo/core/iterators/user/VersioningIteratorTest.java | 133 |
public void test2() { Text colf = new Text("a"); Text colq = new Text("b"); TreeMap<Key,Value> tm = new TreeMap<Key,Value>(); createTestData(tm, colf, colq); try { VersioningIterator it = new VersioningIterator(); IteratorSetting is = new IteratorSetting(1, VersioningIterator.class); VersioningIterator.setMaxVersions(is, 3); it.init(new SortedMapIterator(tm), is.getOptions(), null); // after doing this seek, should only get two keys for row 1 // since we are seeking to the middle of the most recent // three keys Key seekKey = new Key(new Text(String.format("%03d", 1)), colf, colq, 18); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15937 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19293 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20513 |
public void write(org.apache.thrift.protocol.TProtocol oprot, hasTablePermission_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.principal != null) { oprot.writeFieldBegin(PRINCIPAL_FIELD_DESC); oprot.writeString(struct.principal); oprot.writeFieldEnd(); } if (struct.tableName != null) { oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); oprot.writeString(struct.tableName); oprot.writeFieldEnd(); } oprot.writeFieldBegin(TBL_PERM_FIELD_DESC); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22153 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2200 |
case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, getTableConfiguration_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4947 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6084 |
public void write(org.apache.thrift.protocol.TProtocol oprot, setTableProperty_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.tableName != null) { oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); oprot.writeString(struct.tableName); oprot.writeFieldEnd(); } if (struct.property != null) { oprot.writeFieldBegin(PROPERTY_FIELD_DESC); oprot.writeString(struct.property); oprot.writeFieldEnd(); } if (struct.value != null) { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4212 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15884 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.InitialScan.class))); tmpMap.put(_Fields.SEC, new org.apache.thrift.meta_data.FieldMetaData("sec", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.NSTE, new org.apache.thrift.meta_data.FieldMetaData("nste", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19157 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19826 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20683 |
public void write(org.apache.thrift.protocol.TProtocol oprot, flushTablet_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } if (struct.credential != null) { oprot.writeFieldBegin(CREDENTIAL_FIELD_DESC); struct.credential.write(oprot); oprot.writeFieldEnd(); } if (struct.lock != null) { oprot.writeFieldBegin(LOCK_FIELD_DESC); oprot.writeString(struct.lock); oprot.writeFieldEnd(); } if (struct.extent != null) { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapreduce/AccumuloFileOutputFormatTest.java | 133 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 272 |
throw new IllegalArgumentException("Usage : " + MRTester.class.getName() + " <user> <pass> <table> <outputfile>"); } String user = args[0]; String pass = args[1]; String table = args[2]; Job job = new Job(getConf(), this.getClass().getSimpleName() + "_" + System.currentTimeMillis()); job.setJarByClass(this.getClass()); job.setInputFormatClass(AccumuloInputFormat.class); AccumuloInputFormat.setConnectorInfo(job, user, new PasswordToken().setPassword(pass.getBytes(Charset.forName("UTF-8")))); AccumuloInputFormat.setInputTableName(job, table); AccumuloInputFormat.setMockInstance(job, INSTANCE_NAME); |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 1245 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 1256 |
trf.iter.seek(new Range(nk("r0000", "cf1", "cq1", "", 1), false, nk("r0001", "cf1", "cq1", "", 1), true), EMPTY_COL_FAMS, false); for (int i = 2048; i < 4096; i++) { assertTrue(trf.iter.hasTop()); assertEquals(nk("r0001", "cf1", "cq1", "", 1), trf.iter.getTopKey()); assertEquals(nv("" + i), trf.iter.getTopValue()); trf.iter.next(); } assertFalse(trf.iter.hasTop()); trf.iter.seek(new Range(nk("r0001", "cf1", "cq1", "", 1), true, nk("r0001", "cf1", "cq1", "", 1), true), EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 114 |
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 132 |
ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 2), ai.getTopKey()); assertEquals("3", ai.getTopValue().toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 1), ai.getTopKey()); assertEquals("2", ai.getTopValue().toString()); ai.next(); assertFalse(ai.hasTop()); // try seeking ai.seek(nr(1, 1, 1, 2), EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 233 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 302 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 399 |
ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 150 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 484 |
public void test2() throws IOException { Encoder<Long> encoder = LongCombiner.VAR_LEN_ENCODER; TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that aggregate nkv(tm1, 1, 1, 1, 1, false, 2l, encoder); nkv(tm1, 1, 1, 1, 2, false, 3l, encoder); nkv(tm1, 1, 1, 1, 3, false, 4l, encoder); Combiner ai = new SummingCombiner(); IteratorSetting is = new IteratorSetting(1, SummingCombiner.class); LongCombiner.setEncodingType(is, VarLenEncoder.class); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1095 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1212 |
public dropUser_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String principal, org.apache.thrift.async.AsyncMethodCallback<dropUser_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.credential = credential; this.principal = principal; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("dropUser", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16700 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17718 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18743 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19963 |
tmpMap.put(_Fields.PRINCIPAL, new org.apache.thrift.meta_data.FieldMetaData("principal", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.PERMISSION, new org.apache.thrift.meta_data.FieldMetaData("permission", 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(grantSystemPermission_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1195 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1233 |
public waitForTableOperation_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long opid, org.apache.thrift.async.AsyncMethodCallback<waitForTableOperation_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.credential = credential; this.opid = opid; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("waitForTableOperation", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 147 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 152 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __AGE_ISSET_ID = 0; private static final int __ENTRIESREAD_ISSET_ID = 1; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 73 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 456 |
public List<org.apache.accumulo.core.data.thrift.TKeyExtent> bulkImport(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, long tid, Map<org.apache.accumulo.core.data.thrift.TKeyExtent,Map<String,org.apache.accumulo.core.data.thrift.MapFileInfo>> files, boolean setTime) throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException; |
File | Line |
---|---|
org/apache/accumulo/core/file/rfile/RFileTest.java | 750 |
org/apache/accumulo/core/file/rfile/RFileTest.java | 789 |
trf.iter.next(); assertTrue(trf.iter.hasTop()); assertTrue(trf.iter.getTopKey().equals(nk("0003", "cf4", "buck,jane", "", 5))); assertEquals(nv("09 Slum st"), trf.iter.getTopValue()); trf.iter.next(); assertFalse(trf.iter.hasTop()); // scan all loc groups r = new Range(nk("0000", "cf1", "doe,john", "", 4), true, nk("0003", "cf4", "buck,jane", "", 5), true); trf.iter.seek(r, EMPTY_COL_FAMS, false); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 161 |
org/apache/accumulo/core/iterators/AggregatingIteratorTest.java | 225 |
nkv(tm1, 1, 1, 1, 3, false, "4"); AggregatingIterator ai = new AggregatingIterator(); Map<String,String> opts = new HashMap<String,String>(); opts.put("cf001", SummationAggregator.class.getName()); ai.init(new SortedMapIterator(tm1), opts, null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", ai.getTopValue().toString()); ai.next(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 197 |
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 235 |
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 277 |
iter.init(source, is.getOptions(), env); iter.seek(new Range(), EMPTY_COL_FAMS, false); int hitCount = 0; while (iter.hasTop()) { hitCount++; Key k = iter.getTopKey(); Value v = iter.getTopValue(); // System.out.println(k.toString()); // System.out.println(iter.getDocID(k)); Text d = IndexedDocIterator.parseDocID(k); assertTrue(docs.contains(d)); assertTrue(new String(v.get()).endsWith(" docID=" + d)); iter.next(); } assertEquals(hitCount, docs.size()); cleanup(); } public void test2() throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5432 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8980 |
iprot.readListEnd(); } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17153 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18171 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19274 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20494 |
case 3: // PERMISSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.permission = iprot.readByte(); struct.setPermissionIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, grantSystemPermission_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19842 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21062 |
public void read(org.apache.thrift.protocol.TProtocol prot, grantTablePermission_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } if (incoming.get(1)) { struct.tope = new ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } } } } public static class revokeTablePermission_args implements org.apache.thrift.TBase<revokeTablePermission_args, revokeTablePermission_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 946 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 451 |
case 7: // MORE if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.more = iprot.readBool(); struct.setMoreIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, MultiScanResult struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4928 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10059 |
case 4: // VALUE if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.value = iprot.readString(); struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, setTableProperty_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6065 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10994 |
case 3: // PROPERTY if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.property = iprot.readString(); struct.setPropertyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, removeTableProperty_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16084 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19435 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20655 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2338 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3869 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5091 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6213 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15871 |
case 1: // SEC return SEC; case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19586 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20806 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4020 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5242 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6364 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16022 |
setTope((ThriftTableOperationException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SEC: return getSec(); case TOPE: return getTope(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SEC: return isSetSec(); case TOPE: return isSetTope(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof grantTablePermission_result) |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 516 |
org/apache/accumulo/core/security/thrift/Credential.java | 601 |
org/apache/accumulo/core/security/thrift/Credentials.java | 516 |
case 3: // INSTANCE_ID if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.instanceId = iprot.readString(); struct.setInstanceIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, AuthInfo struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4461 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13489 |
boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_nste = true && this.isSetNste(); boolean that_present_nste = true && that.isSetNste(); if (this_present_nste || that_present_nste) { if (!(this_present_nste && that_present_nste)) return false; if (!this.nste.equals(that.nste)) return false; } boolean this_present_tmfe = true && this.isSetTmfe(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4783 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14435 |
case 7: // SET_TIME if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.setTime = iprot.readBool(); struct.setSetTimeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); // check for required fields of primitive type, which can't be checked in the validate method struct.validate(); } public void write(org.apache.thrift.protocol.TProtocol oprot, bulkImportFiles_args struct) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 305 |
org/apache/accumulo/core/data/RangeTest.java | 341 |
Range rowRange = new Range(new Text("r1"), false, new Text("r2"), false); assertFalse(rowRange.contains(new Key(new Text("r1")))); assertFalse(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertFalse(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); |
File | Line |
---|---|
org/apache/accumulo/core/data/RangeTest.java | 287 |
org/apache/accumulo/core/data/RangeTest.java | 323 |
org/apache/accumulo/core/data/RangeTest.java | 359 |
org/apache/accumulo/core/data/RangeTest.java | 377 |
org/apache/accumulo/core/data/RangeTest.java | 395 |
Range rowRange = new Range(new Text("r1"), new Text("r2")); assertTrue(rowRange.contains(new Key(new Text("r1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1")))); assertTrue(rowRange.contains(new Key(new Text("r1"), new Text("cf1"), new Text("cq1")))); assertTrue(rowRange.contains(new Key(new Text("r1")).followingKey(PartialKey.ROW))); assertTrue(rowRange.contains(new Key(new Text("r11")))); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 233 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 263 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 302 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 399 |
ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23187 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 492 |
struct.setTinfoIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // CLASS_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.className = iprot.readString(); struct.setClassNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // INTERFACE_MATCH if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.interfaceMatch = iprot.readString(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 686 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15583 |
struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // OP if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.op = TableOperation.findByValue(iprot.readI32()); struct.setOpIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.I32) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15193 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17300 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1042 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1085 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 934 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1132 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1333 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1376 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1422 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1462 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1502 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1548 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1731 |
args.setSplit(split); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); } } public void reportTabletStatus(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, String serverName, TabletLoadState status, org.apache.accumulo.core.data.thrift.TKeyExtent tablet, org.apache.thrift.async.AsyncMethodCallback<reportTabletStatus_call> resultHandler) throws org.apache.thrift.TException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16488 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10809 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4461 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16036 |
boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } boolean this_present_nste = true && this.isSetNste(); boolean that_present_nste = true && that.isSetNste(); if (this_present_nste || that_present_nste) { if (!(this_present_nste && that_present_nste)) return false; if (!this.nste.equals(that.nste)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 85 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 150 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 484 |
public void test1() throws IOException { Encoder<Long> encoder = LongCombiner.VAR_LEN_ENCODER; TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); // keys that do not aggregate nkv(tm1, 1, 1, 1, 1, false, 2l, encoder); nkv(tm1, 1, 1, 1, 2, false, 3l, encoder); nkv(tm1, 1, 1, 1, 3, false, 4l, encoder); Combiner ai = new SummingCombiner(); IteratorSetting is = new IteratorSetting(1, SummingCombiner.class); LongCombiner.setEncodingType(is, SummingCombiner.Type.VARLEN); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4958 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10084 |
oprot.writeString(struct.tableName); oprot.writeFieldEnd(); } if (struct.property != null) { oprot.writeFieldBegin(PROPERTY_FIELD_DESC); oprot.writeString(struct.property); oprot.writeFieldEnd(); } if (struct.value != null) { oprot.writeFieldBegin(VALUE_FIELD_DESC); oprot.writeString(struct.value); oprot.writeFieldEnd(); } if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class setTableProperty_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2489 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17045 |
public initiateFlush_result setTope(org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException tope) { this.tope = tope; return this; } public void unsetTope() { this.tope = null; } /** Returns true if field tope is set (has been assigned a value) and false otherwise */ public boolean isSetTope() { return this.tope != null; } public void setTopeIsSet(boolean value) { if (!value) { this.tope = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Long)value); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14819 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16338 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17458 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __OPID_ISSET_ID = 0; private static final int __AUTOCLEAN_ISSET_ID = 1; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15193 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4644 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10809 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4015 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5608 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13820 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __TID_ISSET_ID = 0; private static final int __SETTIME_ISSET_ID = 1; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4682 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6632 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14648 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15843 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17086 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18104 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19199 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20419 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3589 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7979 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8974 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15521 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16701 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17821 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7266 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14334 |
if (credential != null) { credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1169 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1272 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15623 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16750 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19072 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19741 |
if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16488 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1039 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2742 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12283 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17300 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8157 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21642 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23641 |
struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13828 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14785 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22468 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25851 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26825 |
public getUserAuthorizations_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((List<ByteBuffer>)value); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17494 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 299 |
if (extent != null) { extent.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/ListCompactionsCommand.java | 36 |
org/apache/accumulo/core/util/shell/commands/ListScansCommand.java | 36 |
org/apache/accumulo/core/util/shell/commands/PingCommand.java | 39 |
} @Override public int execute(final String fullCommand, final CommandLine cl, final Shell shellState) throws Exception { List<String> tservers; final InstanceOperations instanceOps = shellState.getConnector().instanceOperations(); final boolean paginate = !cl.hasOption(disablePaginationOpt.getOpt()); if (cl.hasOption(tserverOption.getOpt())) { tservers = new ArrayList<String>(); tservers.add(cl.getOptionValue(tserverOption.getOpt())); } else { tservers = instanceOps.getTabletServers(); } shellState.printLines(new ActiveCompactionIterator(tservers, instanceOps), paginate); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/FirstEntryInRowTest.java | 75 |
org/apache/accumulo/core/iterators/system/ColumnFamilySkippingIteratorTest.java | 64 |
public void test1() throws Exception { TreeMap<Key,Value> tm1 = new TreeMap<Key,Value>(); put(tm1, "r1", "cf1", "cq1", 5, "v1"); put(tm1, "r1", "cf1", "cq3", 5, "v2"); put(tm1, "r2", "cf1", "cq1", 5, "v3"); put(tm1, "r2", "cf2", "cq4", 5, "v4"); put(tm1, "r2", "cf2", "cq5", 5, "v5"); put(tm1, "r3", "cf3", "cq6", 5, "v6"); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15417 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19993 |
public hasTablePermission_args(hasTablePermission_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetPrincipal()) { this.principal = other.principal; } if (other.isSetTableName()) { this.tableName = other.tableName; } this.tblPerm = other.tblPerm; |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 109 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 84 |
case 7: // MORE return MORE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __PARTNEXTKEYINCLUSIVE_ISSET_ID = 0; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1042 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1085 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 934 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1132 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1333 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1376 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1422 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1462 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1502 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1548 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1731 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1838 |
args.setSplit(split); args.write(prot); prot.writeMessageEnd(); } public void getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); } } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 793 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3136 |
setColumns((List<org.apache.accumulo.core.data.thrift.TColumn>)value); } break; case SSI_LIST: if (value == null) { unsetSsiList(); } else { setSsiList((List<org.apache.accumulo.core.data.thrift.IterInfo>)value); } break; case SSIO: if (value == null) { unsetSsio(); } else { setSsio((Map<String,Map<String,String>>)value); } break; case AUTHORIZATIONS: if (value == null) { unsetAuthorizations(); } else { setAuthorizations((List<ByteBuffer>)value); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2471 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3071 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3671 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6102 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7745 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14907 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16130 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23373 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 673 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1273 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1878 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2384 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14372 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16940 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18657 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10523 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> 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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5434 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8032 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15194 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 1040 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12284 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14659 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8158 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10810 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21643 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23642 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8982 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14054 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16489 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2743 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15012 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26078 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27052 |
struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7675 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27752 |
BitSet incoming = iprot.readBitSet(8); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { { org.apache.thrift.protocol.TMap _map188 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 376 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 399 |
ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java | 654 |
org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java | 676 |
ArrayList<Entry<Key,Value>> entries = new ArrayList<Map.Entry<Key,Value>>(scanResult.results.size()); for (TKeyValue kv : scanResult.results) { entries.add(new MyEntry(new Key(kv.key), new Value(kv.value))); } if (entries.size() > 0) receiver.receive(entries); if (entries.size() > 0 || scanResult.fullScans.size() > 0) timeoutTracker.madeProgress(); trackScanning(failures, unscanned, scanResult); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 893 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1314 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1440 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1484 |
public List<String> getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, ThriftTableOperationException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2840 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17398 |
struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } if (incoming.get(2)) { struct.tope = new org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException(); struct.tope.read(iprot); struct.setTopeIsSet(true); } } } } public static class waitForFlush_args implements org.apache.thrift.TBase<waitForFlush_args, waitForFlush_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 889 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1011 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1046 |
public continueScan_call(org.apache.accumulo.trace.thrift.TInfo tinfo, long scanID, org.apache.thrift.async.AsyncMethodCallback<continueScan_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.scanID = scanID; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("continueScan", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1018 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 138 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 991 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1109 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1081 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1572 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1645 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1755 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1790 |
public listUsers_call(org.apache.accumulo.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.Credential credential, org.apache.thrift.async.AsyncMethodCallback<listUsers_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.tinfo = tinfo; this.credential = credential; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("listUsers", org.apache.thrift.protocol.TMessageType.CALL, 0)); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 213 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2621 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TKeyExtent.class))); tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class)))); tmpMap.put(_Fields.SSI_LIST, new org.apache.thrift.meta_data.FieldMetaData("ssiList", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4345 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5467 |
public startScan_result setTmfe(TooManyFilesException tmfe) { this.tmfe = tmfe; return this; } public void unsetTmfe() { this.tmfe = null; } /** Returns true if field tmfe is set (has been assigned a value) and false otherwise */ public boolean isSetTmfe() { return this.tmfe != null; } public void setTmfeIsSet(boolean value) { if (!value) { this.tmfe = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((org.apache.accumulo.core.data.thrift.InitialScan)value); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8856 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12223 |
public continueMultiScan_result setNssi(NoSuchScanIDException nssi) { this.nssi = nssi; return this; } public void unsetNssi() { this.nssi = null; } /** Returns true if field nssi is set (has been assigned a value) and false otherwise */ public boolean isSetNssi() { return this.nssi != null; } public void setNssiIsSet(boolean value) { if (!value) { this.nssi = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((org.apache.accumulo.core.data.thrift.MultiScanResult)value); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7818 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8756 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13828 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14980 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 820 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12064 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14445 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7938 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10596 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14785 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21423 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22468 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23422 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25851 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26825 |
public authenticateUser_result setSec(org.apache.accumulo.core.security.thrift.ThriftSecurityException sec) { this.sec = sec; return this; } public void unsetSec() { this.sec = null; } /** Returns true if field sec is set (has been assigned a value) and false otherwise */ public boolean isSetSec() { return this.sec != null; } public void setSecIsSet(boolean value) { if (!value) { this.sec = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Boolean)value); |
File | Line |
---|---|
org/apache/accumulo/core/data/Mutation.java | 64 |
org/apache/accumulo/core/data/OldMutation.java | 41 |
private byte[] row; private byte[] data; private int entries; private List<byte[]> values; // created this little class instead of using ByteArrayOutput stream and DataOutputStream // because both are synchronized... lots of small syncs slow things down private static class ByteBuffer { int offset; byte data[] = new byte[64]; private void reserve(int l) { if (offset + l > data.length) { int newSize = data.length * 2; while (newSize <= offset + l) newSize = newSize * 2; byte[] newData = new byte[newSize]; System.arraycopy(data, 0, newData, 0, offset); data = newData; } } |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 136 |
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 116 |
private SortedKeyValueIterator<Key,Value> createIteratorStack(float hitRatio, int numRows, int numDocsPerRow, Text[] columnFamilies, Text[] otherColumnFamilies, HashSet<Text> docs) throws IOException { Text nullText[] = new Text[0]; return createIteratorStack(hitRatio, numRows, numDocsPerRow, columnFamilies, otherColumnFamilies, docs, nullText); } private SortedKeyValueIterator<Key,Value> createIteratorStack(float hitRatio, int numRows, int numDocsPerRow, Text[] columnFamilies, Text[] otherColumnFamilies, HashSet<Text> docs, Text[] negatedColumns) throws IOException { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16494 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4199 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5421 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6543 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16201 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19765 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20985 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2748 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17306 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2236 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2836 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3436 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 436 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1036 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1636 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18417 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 132 |
return new getRootTabletLocation_args(this); } @Override public void clear() { } public void setFieldValue(_Fields field, Object value) { switch (field) { } } public Object getFieldValue(_Fields field) { switch (field) { } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof getRootTabletLocation_args) |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5765 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9074 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12441 |
struct.success = new org.apache.accumulo.core.data.thrift.ScanResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 1: // NSSI if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.nssi = new NoSuchScanIDException(); struct.nssi.read(iprot); struct.setNssiIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17951 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20175 |
public flush_args setTableId(String tableId) { this.tableId = tableId; return this; } public void unsetTableId() { this.tableId = null; } /** Returns true if field tableId is set (has been assigned a value) and false otherwise */ public boolean isSetTableId() { return this.tableId != null; } public void setTableIdIsSet(boolean value) { if (!value) { this.tableId = null; } } public byte[] getStartRow() { setStartRow(org.apache.thrift.TBaseHelper.rightSize(startRow)); return startRow == null ? null : startRow.array(); } public ByteBuffer bufferForStartRow() { return startRow; } public flush_args setStartRow(byte[] startRow) { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3137 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17985 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20209 |
public waitForFlush_args setStartRow(ByteBuffer startRow) { this.startRow = startRow; return this; } public void unsetStartRow() { this.startRow = null; } /** Returns true if field startRow is set (has been assigned a value) and false otherwise */ public boolean isSetStartRow() { return this.startRow != null; } public void setStartRowIsSet(boolean value) { if (!value) { this.startRow = null; } } public byte[] getEndRow() { setEndRow(org.apache.thrift.TBaseHelper.rightSize(endRow)); return endRow == null ? null : endRow.array(); } public ByteBuffer bufferForEndRow() { return endRow; } public waitForFlush_args setEndRow(byte[] endRow) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6771 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7701 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9847 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10767 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11692 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12766 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14863 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17296 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18314 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7248 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8166 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9184 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10204 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11124 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14328 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18008 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10479 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24327 |
case 1: // SEC return SEC; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 272 |
org/apache/accumulo/core/client/mapred/AccumuloOutputFormatTest.java | 185 |
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 309 |
org/apache/accumulo/core/client/mapreduce/AccumuloOutputFormatTest.java | 178 |
c.tableOperations().create(TEST_TABLE_1); BatchWriter bw = c.createBatchWriter(TEST_TABLE_1, new BatchWriterConfig()); for (int i = 0; i < 100; i++) { Mutation m = new Mutation(new Text(String.format("%09x", i + 1))); m.put(new Text(), new Text(), new Value(String.format("%09x", i).getBytes())); bw.addMutation(m); } bw.close(); MRTester.main(new String[] {"root", "", TEST_TABLE_1}); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 163 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 229 |
LongCombiner.setEncodingType(is, VarLenEncoder.class); Combiner.setColumns(is, Collections.singletonList(new IteratorSetting.Column("cf001"))); ai.init(new SortedMapIterator(tm1), is.getOptions(), null); ai.seek(new Range(), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/CombinerTest.java | 263 |
org/apache/accumulo/core/iterators/user/CombinerTest.java | 376 |
ai.seek(nr(1, 1, 1, 4), EMPTY_COL_FAMS, false); assertTrue(ai.hasTop()); assertEquals(nk(1, 1, 1, 3), ai.getTopKey()); assertEquals("9", encoder.decode(ai.getTopValue().get()).toString()); ai.next(); assertTrue(ai.hasTop()); assertEquals(nk(2, 2, 1, 2), ai.getTopKey()); assertEquals("3", encoder.decode(ai.getTopValue().get()).toString()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IndexedDocIteratorTest.java | 213 |
org/apache/accumulo/core/iterators/user/IntersectingIteratorTest.java | 166 |
assertEquals(hitCount, docs.size()); cleanup(); } public void test2() throws IOException { columnFamilies = new Text[3]; columnFamilies[0] = new Text("A"); columnFamilies[1] = new Text("E"); columnFamilies[2] = new Text("G"); otherColumnFamilies = new Text[4]; otherColumnFamilies[0] = new Text("B"); otherColumnFamilies[1] = new Text("C"); otherColumnFamilies[2] = new Text("D"); otherColumnFamilies[3] = new Text("F"); float hitRatio = 0.5f; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9579 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12503 |
sb.append(this.toCreate); } first = false; if (!first) sb.append(", "); sb.append("authorizations:"); if (this.authorizations == null) { sb.append("null"); } else { sb.append(this.authorizations); } first = false; sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity if (tinfo != null) { tinfo.validate(); } if (credential != null) { credential.validate(); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 678 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4907 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6052 |
struct.setTableIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 3: // OP if (schemeField.type == org.apache.thrift.protocol.TType.I32) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9189 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12113 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 225 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.security.thrift.Credential.class))); tmpMap.put(_Fields.AUTHORIZATIONS, new org.apache.thrift.meta_data.FieldMetaData("authorizations", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createUser_args.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 960 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 998 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1033 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1074 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1112 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1150 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1191 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1229 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1270 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1355 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1396 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 255 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 153 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 813 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 851 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 892 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 933 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 971 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1006 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1124 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1250 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1279 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 991 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1096 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1256 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1587 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1625 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1660 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1698 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1770 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1805 |
public void getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2621 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6482 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TRange.class))); tmpMap.put(_Fields.COLUMNS, new org.apache.thrift.meta_data.FieldMetaData("columns", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.accumulo.core.data.thrift.TColumn.class)))); tmpMap.put(_Fields.BATCH_SIZE, new org.apache.thrift.meta_data.FieldMetaData("batchSize", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7895 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15057 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16325 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2579 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14522 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10673 |
public boolean equals(authenticateUser_result that) { if (that == null) return false; boolean this_present_success = true; boolean that_present_success = true; if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (this.success != that.success) return false; } boolean this_present_sec = true && this.isSetSec(); boolean that_present_sec = true && that.isSetSec(); if (this_present_sec || that_present_sec) { if (!(this_present_sec && that_present_sec)) return false; if (!this.sec.equals(that.sec)) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11249 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11845 |
public boolean equals(applyUpdates_args that) { if (that == null) return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) return false; if (!this.tinfo.equals(that.tinfo)) return false; } boolean this_present_updateID = true; boolean that_present_updateID = true; if (this_present_updateID || that_present_updateID) { if (!(this_present_updateID && that_present_updateID)) return false; if (this.updateID != that.updateID) return false; } |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4631 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5753 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8144 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9062 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12429 |
public void read(org.apache.thrift.protocol.TProtocol iprot, startScan_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.success = new org.apache.accumulo.core.data.thrift.InitialScan(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3658 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15675 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16810 |
struct.setCredentialIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // EXTENT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(); struct.extent.read(iprot); struct.setExtentIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4744 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1324 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20643 |
struct.setTidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 4: // TABLE_ID if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableId = iprot.readString(); struct.setTableIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 5: // FILES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4015 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5608 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6060 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14213 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15336 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16651 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17669 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18692 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19912 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23331 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 631 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1231 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1836 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 86 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 86 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 91 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 81 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 111 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 86 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 96 |
org/apache/accumulo/core/data/thrift/TKey.java | 101 |
org/apache/accumulo/core/data/thrift/TMutation.java | 96 |
org/apache/accumulo/core/data/thrift/TRange.java | 106 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 106 |
org/apache/accumulo/core/master/thrift/Compacting.java | 86 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 91 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2342 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2920 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7616 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8539 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14819 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16338 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17458 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 132 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 91 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 136 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 131 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 116 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 147 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 152 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 96 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2567 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4823 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5945 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6432 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8286 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9204 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10481 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10947 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11653 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13820 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16984 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 116 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } // isset id assignments private static final int __TID_ISSET_ID = 0; |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/TableInfo.java | 1202 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 921 |
struct.setIngestByteRateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 7: // QUERY_RATE if (schemeField.type == org.apache.thrift.protocol.TType.DOUBLE) { struct.queryRate = iprot.readDouble(); struct.setQueryRateIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 8: // QUERY_BYTE_RATE if (schemeField.type == org.apache.thrift.protocol.TType.DOUBLE) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15267 |
public void read(org.apache.thrift.protocol.TProtocol prot, authenticateUser_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } } } } public static class listUsers_args implements org.apache.thrift.TBase<listUsers_args, listUsers_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/client/IsolatedScanner.java | 230 |
org/apache/accumulo/core/client/mock/MockScanner.java | 39 |
return new RowBufferingIterator(scanner, this, range, timeOut, batchSize, bufferFactory); } @Deprecated @Override public void setTimeOut(int timeOut) { if (timeOut == Integer.MAX_VALUE) setTimeout(Long.MAX_VALUE, TimeUnit.MILLISECONDS); else setTimeout(timeOut, TimeUnit.SECONDS); } @Deprecated @Override public int getTimeOut() { long timeout = getTimeout(TimeUnit.SECONDS); if (timeout >= Integer.MAX_VALUE) return Integer.MAX_VALUE; return (int) timeout; } @Override public void setRange(Range range) { this.range = range; ; } @Override public Range getRange() { return range; |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16086 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22256 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2340 |
case 2: // TOPE return TOPE; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12063 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 150 |
case 4: // AUTHORIZATIONS return AUTHORIZATIONS; default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21525 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 147 |
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getConfiguration_result.class, metaDataMap); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14732 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10883 |
public void read(org.apache.thrift.protocol.TProtocol prot, beginTableOperation_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } } } } public static class executeTableOperation_args implements org.apache.thrift.TBase<executeTableOperation_args, executeTableOperation_args._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/iterators/LongCombiner.java | 62 |
org/apache/accumulo/core/iterators/user/SummingArrayCombiner.java | 87 |
} @Override public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException { super.init(source, options, env); setEncoder(options); } private void setEncoder(Map<String,String> options) { String type = options.get(TYPE); if (type == null) throw new IllegalArgumentException("no type specified"); if (type.startsWith(CLASS_PREFIX)) { setEncoder(type.substring(CLASS_PREFIX.length())); testEncoder(42l); |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/AuthInfo.java | 53 |
org/apache/accumulo/core/security/thrift/Credentials.java | 53 |
private static final org.apache.thrift.protocol.TField PASSWORD_FIELD_DESC = new org.apache.thrift.protocol.TField("password", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField INSTANCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("instanceId", org.apache.thrift.protocol.TType.STRING, (short)3); private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>(); static { schemes.put(StandardScheme.class, new AuthInfoStandardSchemeFactory()); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5352 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4561 |
StringBuilder sb = new StringBuilder("bulkImportFiles_result("); boolean first = true; sb.append("success:"); if (this.success == null) { sb.append("null"); } else { sb.append(this.success); } first = false; if (!first) sb.append(", "); sb.append("sec:"); if (this.sec == null) { sb.append("null"); } else { sb.append(this.sec); } first = false; if (!first) sb.append(", "); sb.append("tope:"); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19765 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20985 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4199 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5421 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6543 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16201 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4650 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16494 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2748 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17306 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13648 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16168 |
case 1: // SEC if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.sec = new org.apache.accumulo.core.security.thrift.ThriftSecurityException(); struct.sec.read(iprot); struct.setSecIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; case 2: // TOPE if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.tope = new ThriftTableOperationException(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4622 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7468 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9556 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10544 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11464 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12480 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13463 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14608 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15795 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17046 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18064 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19151 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20371 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2107 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3529 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4803 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5956 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7025 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7947 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8934 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9950 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10901 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12815 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13569 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15461 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16669 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17789 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3510 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7194 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12974 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15576 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16703 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17443 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18299 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19694 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20523 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22105 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24104 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25024 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27556 |
StringBuilder sb = new StringBuilder("bulkImportFiles_args("); boolean first = true; sb.append("tinfo:"); if (this.tinfo == null) { sb.append("null"); } else { sb.append(this.tinfo); } first = false; if (!first) sb.append(", "); sb.append("credential:"); if (this.credential == null) { sb.append("null"); } else { sb.append(this.credential); } first = false; if (!first) sb.append(", "); sb.append("tid:"); |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloRowInputFormatTest.java | 114 |
org/apache/accumulo/core/client/mapreduce/AccumuloRowInputFormatTest.java | 111 |
public void map(Text k, PeekingIterator<Entry<Key,Value>> v, OutputCollector<Key,Value> output, Reporter reporter) throws IOException { try { switch (count) { case 0: assertEquals("Current key should be " + ROW1, new Text(ROW1), k); checkLists(row1, v); break; case 1: assertEquals("Current key should be " + ROW2, new Text(ROW2), k); checkLists(row2, v); break; case 2: assertEquals("Current key should be " + ROW3, new Text(ROW3), k); checkLists(row3, v); break; default: assertTrue(false); } } catch (AssertionError e) { e1 = e; } count++; } @Override |
File | Line |
---|---|
org/apache/accumulo/core/client/mapreduce/AccumuloInputFormatTest.java | 286 |
org/apache/accumulo/core/client/mapreduce/AccumuloRowInputFormatTest.java | 163 |
AccumuloInputFormat.setMockInstance(job, INSTANCE_NAME); job.setMapperClass(TestMapper.class); job.setMapOutputKeyClass(Key.class); job.setMapOutputValueClass(Value.class); job.setOutputFormatClass(NullOutputFormat.class); job.setNumReduceTasks(0); job.waitForCompletion(true); return job.isSuccessful() ? 0 : 1; } public static void main(String[] args) throws Exception { assertEquals(0, ToolRunner.run(CachedConfiguration.getInstance(), new MRTester(), args)); } } @Test public void testMap() throws Exception { |
File | Line |
---|---|
org/apache/accumulo/core/client/admin/TableOperationsImpl.java | 492 |
org/apache/accumulo/core/client/admin/TableOperationsImpl.java | 508 |
public void merge(String tableName, Text start, Text end) throws AccumuloException, AccumuloSecurityException, TableNotFoundException { ArgumentChecker.notNull(tableName); ByteBuffer EMPTY = ByteBuffer.allocate(0); List<ByteBuffer> args = Arrays.asList(ByteBuffer.wrap(tableName.getBytes()), start == null ? EMPTY : TextUtil.getByteBuffer(start), end == null ? EMPTY : TextUtil.getByteBuffer(end)); Map<String,String> opts = new HashMap<String,String>(); try { doTableOperation(TableOperation.MERGE, args, opts); |
File | Line |
---|---|
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 134 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2972 |
tmpMap.put(_Fields.TABLE, new org.apache.thrift.meta_data.FieldMetaData("table", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.END_ROW, new org.apache.thrift.meta_data.FieldMetaData("endRow", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); tmpMap.put(_Fields.PREV_END_ROW, new org.apache.thrift.meta_data.FieldMetaData("prevEndRow", org.apache.thrift.TFieldRequirementType.DEFAULT, |
File | Line |
---|---|
org/apache/accumulo/core/security/thrift/Credential.java | 284 |
org/apache/accumulo/core/security/thrift/Credentials.java | 247 |
public Credential setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public void unsetInstanceId() { this.instanceId = null; } /** Returns true if field instanceId is set (has been assigned a value) and false otherwise */ public boolean isSetInstanceId() { return this.instanceId != null; } public void setInstanceIdIsSet(boolean value) { if (!value) { this.instanceId = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { case PRINCIPAL: if (value == null) { unsetPrincipal(); } else { setPrincipal((String)value); } break; case TOKEN_CLASS: |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1026 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 1171 |
public org.apache.accumulo.core.data.thrift.MultiScanResult getResult() throws NoSuchScanIDException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_continueMultiScan(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5226 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6348 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8689 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9607 |
public void read(org.apache.thrift.protocol.TProtocol prot, continueScan_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.scanID = iprot.readI64(); struct.setScanIDIsSet(true); } } } } public static class continueScan_result implements org.apache.thrift.TBase<continueScan_result, continueScan_result._Fields>, java.io.Serializable, Cloneable { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3719 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18478 |
if (struct.tinfo != null) { oprot.writeFieldBegin(TINFO_FIELD_DESC); struct.tinfo.write(oprot); oprot.writeFieldEnd(); } if (struct.startRow != null) { oprot.writeFieldBegin(START_ROW_FIELD_DESC); oprot.writeBinary(struct.startRow); oprot.writeFieldEnd(); } if (struct.endRow != null) { oprot.writeFieldBegin(END_ROW_FIELD_DESC); oprot.writeBinary(struct.endRow); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); } } private static class waitForFlush_argsTupleSchemeFactory implements SchemeFactory { |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 251 |
org/apache/accumulo/core/client/mapred/AccumuloRowInputFormatTest.java | 170 |
AccumuloInputFormat.setMockInstance(job, INSTANCE_NAME); job.setMapperClass(TestMapper.class); job.setMapOutputKeyClass(Key.class); job.setMapOutputValueClass(Value.class); job.setOutputFormat(NullOutputFormat.class); job.setNumReduceTasks(0); return JobClient.runJob(job).isSuccessful() ? 0 : 1; } public static void main(String[] args) throws Exception { assertEquals(0, ToolRunner.run(CachedConfiguration.getInstance(), new MRTester(), args)); } } @Test public void testMap() throws Exception { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12021 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14169 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15287 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16607 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17625 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18643 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19863 |
private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField AUTHORIZATIONS_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizations", org.apache.thrift.protocol.TType.LIST, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/IntersectingIterator.java | 209 |
org/apache/accumulo/core/iterators/user/IntersectingIterator.java | 289 |
} // we have verified that the current source is positioned in currentRow // now we must make sure we're in the right columnFamily in the current row // Note: Iterators are auto-magically set to the correct columnFamily if (sources[sourceID].term != null) { int termCompare = sources[sourceID].term.compareTo(getTerm(sources[sourceID].iter.getTopKey())); // check if this source is already on the right columnFamily // if not, then seek forwards to the right columnFamily if (termCompare > 0) { Key seekKey = buildKey(currentPartition, sources[sourceID].term, currentDocID); sources[sourceID].iter.seek(new Range(seekKey, true, null, false), sources[sourceID].seekColfams, true); continue; } // check if this source is beyond the right columnFamily // if so, then this is a valid condition for negating if (termCompare < 0) { |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2861 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5519 |
private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField START_ROW_FIELD_DESC = new org.apache.thrift.protocol.TField("startRow", org.apache.thrift.protocol.TType.STRING, (short)6); |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4424 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5637 |
public setTableProperty_args(setTableProperty_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetProperty()) { this.property = other.property; } |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12378 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13047 |
private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField SERVER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("serverName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField SPLIT_FIELD_DESC = new org.apache.thrift.protocol.TField("split", org.apache.thrift.protocol.TType.STRUCT, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 869 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 904 |
public org.apache.accumulo.core.data.thrift.InitialScan getResult() throws org.apache.accumulo.core.security.thrift.ThriftSecurityException, NotServingTabletException, TooManyFilesException, org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_startScan(); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4124 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13209 |
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("sec", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField NSTE_FIELD_DESC = new org.apache.thrift.protocol.TField("nste", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField TMFE_FIELD_DESC = new org.apache.thrift.protocol.TField("tmfe", org.apache.thrift.protocol.TType.STRUCT, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2488 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15128 |
private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)11); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField EXTENT_FIELD_DESC = new org.apache.thrift.protocol.TField("extent", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField RANGE_FIELD_DESC = new org.apache.thrift.protocol.TField("range", org.apache.thrift.protocol.TType.STRUCT, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2685 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15247 |
if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredential()) { this.credential = new org.apache.accumulo.core.security.thrift.Credential(other.credential); } if (other.isSetExtent()) { this.extent = new org.apache.accumulo.core.data.thrift.TKeyExtent(other.extent); } if (other.isSetRange()) { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9095 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15285 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18641 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19861 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2859 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4295 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13045 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16264 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16933 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createUser_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TO_CREATE_FIELD_DESC = new org.apache.thrift.protocol.TField("toCreate", org.apache.thrift.protocol.TType.STRUCT, (short)2); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7098 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11094 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12019 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14167 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16605 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17623 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5517 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9511 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12376 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12535 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15126 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17700 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("authenticateUser_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)4); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField TO_AUTHENTICATE_FIELD_DESC = new org.apache.thrift.protocol.TField("toAuthenticate", org.apache.thrift.protocol.TType.STRUCT, (short)2); |
File | Line |
---|---|
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4631 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5753 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8144 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9062 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12429 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21629 |
public void read(org.apache.thrift.protocol.TProtocol iprot, startScan_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.success = new org.apache.accumulo.core.data.thrift.InitialScan(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10174 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13093 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1737 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6639 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7575 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8493 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10531 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16297 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17417 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13769 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21735 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23734 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24654 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("dropUser_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField PRINCIPAL_FIELD_DESC = new org.apache.thrift.protocol.TField("principal", org.apache.thrift.protocol.TType.STRING, (short)2); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4916 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7645 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9783 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10717 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11641 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13636 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14804 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16018 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17242 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18260 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19374 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20594 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2280 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3800 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5030 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6156 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7198 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8116 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9130 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10150 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11074 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13019 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13800 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15782 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16838 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17958 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4016 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13182 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14563 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15780 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16907 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17670 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18553 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19229 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19898 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20777 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22278 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24277 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25197 |
BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credential = new org.apache.accumulo.core.security.thrift.Credential(); struct.credential.read(iprot); struct.setCredentialIsSet(true); } if (incoming.get(2)) { struct.tid = iprot.readI64(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3954 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18586 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19255 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19924 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27166 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("bulkImportFiles_args"); private static final org.apache.thrift.protocol.TField TINFO_FIELD_DESC = new org.apache.thrift.protocol.TField("tinfo", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField CREDENTIAL_FIELD_DESC = new org.apache.thrift.protocol.TField("credential", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField TID_FIELD_DESC = new org.apache.thrift.protocol.TField("tid", org.apache.thrift.protocol.TType.I64, (short)3); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5897 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6633 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8453 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10581 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12525 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13500 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 375 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 375 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 810 |
org/apache/accumulo/core/data/thrift/TRange.java | 674 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 537 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2144 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4856 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6001 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7062 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9995 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10938 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11781 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14160 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 1119 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 1170 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 1273 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 3605 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5112 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6234 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8575 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9493 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10311 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11403 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11942 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17495 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18360 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20584 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21140 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22142 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23139 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24141 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25061 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25548 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26522 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27593 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 834 |
tinfo.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2181 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2431 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 2781 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3031 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3381 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 3631 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4015 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5003 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 5608 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6060 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6414 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 6773 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7139 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7703 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8159 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 8623 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9141 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9849 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10215 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 10769 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11135 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11694 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12065 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 12768 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13134 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 13693 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14213 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14865 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15336 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16088 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16651 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17298 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17669 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18316 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18692 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19439 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19912 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20659 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21120 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21482 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 21899 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22258 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 22782 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23331 |
org/apache/accumulo/core/client/impl/thrift/ThriftTableOperationException.java | 117 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 381 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 631 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 981 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1231 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1581 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 1836 |
org/apache/accumulo/core/data/thrift/InitialMultiScan.java | 86 |
org/apache/accumulo/core/data/thrift/InitialScan.java | 86 |
org/apache/accumulo/core/data/thrift/IterInfo.java | 91 |
org/apache/accumulo/core/data/thrift/MapFileInfo.java | 81 |
org/apache/accumulo/core/data/thrift/MultiScanResult.java | 111 |
org/apache/accumulo/core/data/thrift/ScanResult.java | 86 |
org/apache/accumulo/core/data/thrift/TColumn.java | 91 |
org/apache/accumulo/core/data/thrift/TConstraintViolationSummary.java | 96 |
org/apache/accumulo/core/data/thrift/TKey.java | 101 |
org/apache/accumulo/core/data/thrift/TKeyExtent.java | 91 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 86 |
org/apache/accumulo/core/data/thrift/TMutation.java | 96 |
org/apache/accumulo/core/data/thrift/TRange.java | 106 |
org/apache/accumulo/core/data/thrift/UpdateErrors.java | 91 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 243 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 707 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 96 |
org/apache/accumulo/core/gc/thrift/GcCycleStats.java | 106 |
org/apache/accumulo/core/master/thrift/Compacting.java | 86 |
org/apache/accumulo/core/master/thrift/DeadServer.java | 91 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 1778 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2342 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2920 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3873 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 4346 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5095 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 5563 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6217 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 6688 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7250 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7616 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8168 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8539 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9186 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 9557 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10206 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 10572 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11126 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11487 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 11951 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12422 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13104 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13866 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14330 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 14819 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15875 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16338 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16900 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17458 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18010 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18362 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 18617 |
org/apache/accumulo/core/master/thrift/MasterMonitorInfo.java | 132 |
org/apache/accumulo/core/master/thrift/RecoveryException.java | 81 |
org/apache/accumulo/core/master/thrift/RecoveryStatus.java | 91 |
org/apache/accumulo/core/master/thrift/TableInfo.java | 136 |
org/apache/accumulo/core/master/thrift/TabletServerStatus.java | 131 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 86 |
org/apache/accumulo/core/security/thrift/AuthInfo.java | 91 |
org/apache/accumulo/core/security/thrift/Credential.java | 96 |
org/apache/accumulo/core/security/thrift/Credentials.java | 91 |
org/apache/accumulo/core/security/thrift/ThriftSecurityException.java | 94 |
org/apache/accumulo/core/tabletserver/thrift/ActionStats.java | 116 |
org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java | 147 |
org/apache/accumulo/core/tabletserver/thrift/ActiveScan.java | 152 |
org/apache/accumulo/core/tabletserver/thrift/ConstraintViolationException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/NoSuchScanIDException.java | 77 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 81 |
org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java | 96 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 2567 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4168 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4823 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5290 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5945 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 6432 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7825 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8286 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8743 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9204 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9656 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10017 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10481 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 10947 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 11653 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12110 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12581 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13250 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13820 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14652 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15172 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15842 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16984 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 17756 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 18632 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19301 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19980 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 20846 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21310 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21776 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 22845 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23309 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23775 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24329 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 24695 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25254 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 25718 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26228 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 26692 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 27207 |
org/apache/accumulo/core/tabletserver/thrift/TabletStats.java | 116 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 81 |
default: return null; } } /** * Find the _Fields constant that matches fieldId, throwing an exception * if it is not found. */ public static _Fields findByThriftIdOrThrow(int fieldId) { _Fields fields = findByThriftId(fieldId); if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); return fields; } /** * Find the _Fields constant that matches name, or null if its not found. */ public static _Fields findByName(String name) { return byName.get(name); } private final short _thriftId; private final String _fieldName; _Fields(short thriftId, String fieldName) { _thriftId = thriftId; _fieldName = fieldName; } public short getThriftFieldId() { return _thriftId; } public String getFieldName() { return _fieldName; } } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 4683 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 7508 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 9604 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 11504 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 14649 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 15844 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 17087 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 18105 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 19200 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 20420 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 23145 |
org/apache/accumulo/core/data/thrift/TKeyValue.java | 388 |
org/apache/accumulo/core/gc/thrift/GCMonitorService.java | 998 |
org/apache/accumulo/core/gc/thrift/GCStatus.java | 540 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 3590 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 7980 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 8975 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12242 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 12863 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 13625 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 15522 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 16702 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17822 |
org/apache/accumulo/core/master/thrift/TabletSplit.java | 397 |
org/apache/accumulo/core/tabletserver/thrift/NotServingTabletException.java | 300 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 4603 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 5725 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 7267 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 8116 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 9034 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 12401 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 13025 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 14335 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 15624 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 16751 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19073 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 19742 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 21601 |
org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java | 23600 |
org/apache/accumulo/core/tabletserver/thrift/TooManyFilesException.java | 300 |
credential.validate(); } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } } private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { |
File | Line |
---|---|
org/apache/accumulo/core/util/shell/commands/DeleteIterCommand.java | 38 |
org/apache/accumulo/core/util/shell/commands/SetIterCommand.java | 106 |
} final EnumSet<IteratorScope> scopes = EnumSet.noneOf(IteratorScope.class); if (cl.hasOption(mincScopeOpt.getOpt())) { scopes.add(IteratorScope.minc); } if (cl.hasOption(majcScopeOpt.getOpt())) { scopes.add(IteratorScope.majc); } if (cl.hasOption(scanScopeOpt.getOpt())) { scopes.add(IteratorScope.scan); } if (scopes.isEmpty()) { throw new IllegalArgumentException("You must select at least one scope to configure"); } |
File | Line |
---|---|
org/apache/accumulo/core/client/mapred/AccumuloInputFormatTest.java | 225 |
org/apache/accumulo/core/client/mapred/AccumuloRowInputFormatTest.java | 144 |
assertEquals(100, count); } catch (AssertionError e) { e2 = e; } } } @Override public int run(String[] args) throws Exception { if (args.length != 3) { throw new IllegalArgumentException("Usage : " + MRTester.class.getName() + " <user> <pass> <table>"); } String user = args[0]; String pass = args[1]; String table = args[2]; JobConf job = new JobConf(getConf()); job.setJarByClass(this.getClass()); job.setInputFormat(AccumuloInputFormat.class); |
File | Line |
---|---|
org/apache/accumulo/core/data/Mutation.java | 492 |
org/apache/accumulo/core/data/OldMutation.java | 366 |
return newColumnUpdate(cf, cq, cv, hasts, ts, deleted, val); } private int cachedValLens = -1; long getValueLengths() { if (values == null) return 0; if (cachedValLens == -1) { int tmpCVL = 0; for (byte[] val : values) tmpCVL += val.length; cachedValLens = tmpCVL; } return cachedValLens; } public long numBytes() { serialize(); return row.length + data.length + getValueLengths(); } public long estimatedMemoryUsed() { return numBytes() + 238; |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/FilterTest.java | 82 |
org/apache/accumulo/core/iterators/user/FilterTest.java | 117 |
public void test1() throws IOException { Text colf = new Text("a"); Text colq = new Text("b"); Value dv = new Value(); TreeMap<Key,Value> tm = new TreeMap<Key,Value>(); for (int i = 0; i < 1000; i++) { Key k = new Key(new Text(String.format("%03d", i)), colf, colq); tm.put(k, dv); } assertTrue(tm.size() == 1000); Filter filter1 = new SimpleFilter(); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/system/ColumnFamilySkippingIteratorTest.java | 42 |
org/apache/accumulo/core/iterators/system/SourceSwitchingIteratorTest.java | 38 |
org/apache/accumulo/core/iterators/user/RowDeletingIteratorTest.java | 77 |
return nk(String.format("%06d", row), String.format("%06d", cf), String.format("%06d", cq), time); } void put(TreeMap<Key,Value> tm, String row, String cf, String cq, long time, Value val) { tm.put(nk(row, cf, cq, time), val); } void put(TreeMap<Key,Value> tm, String row, String cf, String cq, long time, String val) { put(tm, row, cf, cq, time, new Value(val.getBytes())); } |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 785 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 814 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 843 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 928 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1516 |
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 1586 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 197 |
org/apache/accumulo/core/client/impl/thrift/ThriftTest.java | 226 |
public String getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); return (new Client(prot)).recv_getRootTabletLocation(); |
File | Line |
---|---|
org/apache/accumulo/core/client/impl/thrift/ClientService.java | 16287 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2541 |
return Boolean.valueOf(isSuccess()); case SEC: return getSec(); case TOPE: return getTope(); } throw new IllegalStateException(); } /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case SUCCESS: return isSetSuccess(); case SEC: return isSetSec(); case TOPE: return isSetTope(); } throw new IllegalStateException(); } @Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof hasTablePermission_result) |
File | Line |
---|---|
org/apache/accumulo/core/master/thrift/MasterClientService.java | 2515 |
org/apache/accumulo/core/master/thrift/MasterClientService.java | 17071 |
setSuccess((Long)value); } break; case SEC: if (value == null) { unsetSec(); } else { setSec((org.apache.accumulo.core.security.thrift.ThriftSecurityException)value); } break; case TOPE: if (value == null) { unsetTope(); } else { setTope((org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException)value); } break; } } public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: return Long.valueOf(getSuccess()); |
File | Line |
---|---|
org/apache/accumulo/core/iterators/user/FilterTest.java | 82 |
org/apache/accumulo/core/iterators/user/FilterTest.java | 117 |
org/apache/accumulo/core/iterators/user/FilterTest.java | 154 |
public void test1() throws IOException { Text colf = new Text("a"); Text colq = new Text("b"); Value dv = new Value(); TreeMap<Key,Value> tm = new TreeMap<Key,Value>(); for (int i = 0; i < 1000; i++) { Key k = new Key(new Text(String.format("%03d", i)), colf, colq); tm.put(k, dv); } assertTrue(tm.size() == 1000); |