1/*2 * Licensed to the Apache Software Foundation (ASF) under one3 * or more contributor license agreements. See the NOTICE file4 * distributed with this work for additional information5 * regarding copyright ownership. The ASF licenses this file6 * to you under the Apache License, Version 2.0 (the7 * "License"); you may not use this file except in compliance8 * with the License. You may obtain a copy of the License at9 *10 * http://www.apache.org/licenses/LICENSE-2.011 *12 * Unless required by applicable law or agreed to in writing, software13 * distributed under the License is distributed on an "AS IS" BASIS,14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.15 * See the License for the specific language governing permissions and16 * limitations under the License.17 */18/**19 * Autogenerated by Avro20 * 21 * DO NOT EDIT DIRECTLY22 */23package org.apache.hadoop.chukwa.datacollection.writer.gora;
2425/**26 * Chukwa Adaptors emit data in Chunks. A Chunk is a sequence of bytes, with27 * some metadata. Several of these are set automatically by the Agent or28 * Adaptors. Two of them require user intervention: cluster name and datatype.29 * Cluster name is specified in conf/chukwa-agent-conf.xml, and is global to30 * each Agent process. Datatype describes the expected format of the data31 * collected by an Adaptor instance, and it is specified when that instance is32 * started.33 */34 @SuppressWarnings("all")
35publicclassChukwaChunkextends org.apache.gora.persistency.impl.PersistentBase
36implements org.apache.avro.specific.SpecificRecord,
37 org.apache.gora.persistency.Persistent {
38publicstaticfinal org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser()
39 .parse(
40"{\"type\":\"record\",\"name\":\"ChukwaChunk\",\"namespace\":\"org.apache.hadoop.chukwa.datacollection.writer.gora\",\"doc\":\"Chukwa Adaptors emit data in Chunks. A Chunk is a sequence of bytes, with some metadata. Several of these are set automatically by the Agent or Adaptors. Two of them require user intervention: cluster name and datatype. Cluster name is specified in conf/chukwa-agent-conf.xml, and is global to each Agent process. Datatype describes the expected format of the data collected by an Adaptor instance, and it is specified when that instance is started. \",\"fields\":[{\"name\":\"source\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"tags\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"datatype\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"sequenceID\",\"type\":[\"null\",\"long\"],\"default\":null},{\"name\":\"name\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"data\",\"type\":[\"null\",\"bytes\"],\"default\":null}]}");
4142/** Enum containing all data bean's fields. */43publicstatic enum Field {
44 SOURCE(0, "source"), TAGS(1, "tags"), DATATYPE(2, "datatype"), SEQUENCE_ID(
45 3, "sequenceID"), NAME(4, "name"), DATA(5, "data"),;
46/**47 * Field's index.48 */49privateint index;
5051/**52 * Field's name.53 */54private String name;
5556/**57 * Field's constructor58 * 59 * @param index60 * field's index.61 * @param name62 * field's name.63 */64Field(int index, String name) {
65this.index = index;
66this.name = name;
67 }
6869/**70 * Gets field's index.71 * 72 * @return int field's index.73 */74publicint getIndex() {
75return index;
76 }
7778/**79 * Gets field's name.80 * 81 * @return String field's name.82 */83public String getName() {
84return name;
85 }
8687/**88 * Gets field's attributes to string.89 * 90 * @return String field's attributes to string.91 */92public String toString() {
93return name;
94 }
95 };
9697publicstaticfinal String[] _ALL_FIELDS = { "source", "tags", "datatype",
98"sequenceID", "name", "data", };
99100/**101 * Gets the total field count.102 * 103 * @return int field count104 */105publicint getFieldsCount() {
106return ChukwaChunk._ALL_FIELDS.length;
107 }
108109private java.lang.CharSequence source;
110private java.lang.CharSequence tags;
111private java.lang.CharSequence datatype;
112private java.lang.Long sequenceID;
113private java.lang.CharSequence name;
114private java.nio.ByteBuffer data;
115116public org.apache.avro.Schema getSchema() {
117return SCHEMA$;
118 }
119120// Used by DatumWriter. Applications should not call.121public java.lang.Object get(int field$) {
122switch (field$) {
123case 0:
124return source;
125case 1:
126return tags;
127case 2:
128return datatype;
129case 3:
130return sequenceID;
131case 4:
132return name;
133case 5:
134return data;
135default:
136thrownew org.apache.avro.AvroRuntimeException("Bad index");
137 }
138 }
139140// Used by DatumReader. Applications should not call.141 @SuppressWarnings(value = "unchecked")
142publicvoid put(int field$, java.lang.Object value) {
143switch (field$) {
144case 0:
145 source = (java.lang.CharSequence) (value);
146break;
147case 1:
148 tags = (java.lang.CharSequence) (value);
149break;
150case 2:
151 datatype = (java.lang.CharSequence) (value);
152break;
153case 3:
154 sequenceID = (java.lang.Long) (value);
155break;
156case 4:
157 name = (java.lang.CharSequence) (value);
158break;
159case 5:
160 data = (java.nio.ByteBuffer) (value);
161break;
162default:
163thrownew org.apache.avro.AvroRuntimeException("Bad index");
164 }
165 }
166167/**168 * Gets the value of the 'source' field.169 * 170 * @return source171 */172public java.lang.CharSequence getSource() {
173return source;
174 }
175176/**177 * Sets the value of the 'source' field.178 * 179 * @param value is the value to set.180 */181publicvoid setSource(java.lang.CharSequence value) {
182this.source = value;
183 setDirty(0);
184 }
185186/**187 * Checks the dirty status of the 'source' field. A field is dirty if it188 * represents a change that has not yet been written to the database.189 * 190 * @return true if a sourcefield has not been written to database191 */192publicboolean isSourceDirty() {
193return isDirty(0);
194 }
195196/**197 * Gets the value of the 'tags' field.198 * 199 * @return value of tags field200 */201public java.lang.CharSequence getTags() {
202return tags;
203 }
204205/**206 * Sets the value of the 'tags' field.207 * 208 * @param value is the value to set.209 */210publicvoid setTags(java.lang.CharSequence value) {
211this.tags = value;
212 setDirty(1);
213 }
214215/**216 * Checks the dirty status of the 'tags' field. A field is dirty if it217 * represents a change that has not yet been written to the database.218 * 219 * @return true if tags field has not been written to database220 */221publicboolean isTagsDirty() {
222return isDirty(1);
223 }
224225/**226 * Gets the value of the 'datatype' field.227 * 228 * @return datatype field229 */230public java.lang.CharSequence getDatatype() {
231return datatype;
232 }
233234/**235 * Sets the value of the 'datatype' field.236 * 237 * @param value is the value to set.238 */239publicvoid setDatatype(java.lang.CharSequence value) {
240this.datatype = value;
241 setDirty(2);
242 }
243244/**245 * Checks the dirty status of the 'datatype' field. A field is dirty if it246 * represents a change that has not yet been written to the database.247 * 248 * @return true if datatype field has not been written to database249 */250publicboolean isDatatypeDirty() {
251return isDirty(2);
252 }
253254/**255 * Gets the value of the 'sequenceID' field.256 * 257 * @return sequenceID258 */259public java.lang.Long getSequenceID() {
260return sequenceID;
261 }
262263/**264 * Sets the value of the 'sequenceID' field.265 * 266 * @param value is the value to set.267 */268publicvoid setSequenceID(java.lang.Long value) {
269this.sequenceID = value;
270 setDirty(3);
271 }
272273/**274 * Checks the dirty status of the 'sequenceID' field. A field is dirty if it275 * represents a change that has not yet been written to the database.276 * 277 * @return true if sequenceID has not been commit to database278 */279publicboolean isSequenceIDDirty() {
280return isDirty(3);
281 }
282283/**284 * Gets the value of the 'name' field.285 * 286 * @return name287 */288public java.lang.CharSequence getName() {
289return name;
290 }
291292/**293 * Sets the value of the 'name' field.294 * 295 * @param value is the value to set.296 */297publicvoid setName(java.lang.CharSequence value) {
298this.name = value;
299 setDirty(4);
300 }
301302/**303 * Checks the dirty status of the 'name' field. A field is dirty if it304 * represents a change that has not yet been written to the database.305 * 306 * @return true if name has not been committed to database307 */308publicboolean isNameDirty() {
309return isDirty(4);
310 }
311312/**313 * Gets the value of the 'data' field.314 * 315 * @return data field316 */317public java.nio.ByteBuffer getData() {
318return data;
319 }
320321/**322 * Sets the value of the 'data' field.323 * 324 * @param value is a string325 * the value to set.326 */327publicvoid setData(java.nio.ByteBuffer value) {
328this.data = value;
329 setDirty(5);
330 }
331332/**333 * Checks the dirty status of the 'data' field. A field is dirty if it334 * represents a change that has not yet been written to the database.335 * 336 * @return true if data field has not been committed to database337 */338publicboolean isDataDirty() {
339return isDirty(5);
340 }
341342/**343 * Creates a new ChukwaChunk RecordBuilder344 * 345 * @return RecordBuilder346 */347publicstatic org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder() {
348returnnew org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder();
349 }
350351/**352 * Creates a new ChukwaChunk RecordBuilder by copying an existing Builder353 * 354 * @param other is Chukwa chunk355 * @return RecordBuilder356 */357publicstatic org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder(
358 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder other) {
359returnnew org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder(
360 other);
361 }
362363/**364 * Creates a new ChukwaChunk RecordBuilder by copying an existing ChukwaChunk365 * instance366 * 367 * @param other is Chukwa chunk368 * @return RecordBuilder369 */370publicstatic org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder newBuilder(
371 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk other) {
372returnnew org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder(
373 other);
374 }
375376privatestatic java.nio.ByteBuffer deepCopyToReadOnlyBuffer(
377 java.nio.ByteBuffer input) {
378 java.nio.ByteBuffer copy = java.nio.ByteBuffer.allocate(input.capacity());
379int position = input.position();
380 input.reset();
381int mark = input.position();
382int limit = input.limit();
383 input.rewind();
384 input.limit(input.capacity());
385 copy.put(input);
386 input.rewind();
387 copy.rewind();
388 input.position(mark);
389 input.mark();
390 copy.position(mark);
391 copy.mark();
392 input.position(position);
393 copy.position(position);
394 input.limit(limit);
395 copy.limit(limit);
396return copy.asReadOnlyBuffer();
397 }
398399/**400 * RecordBuilder for ChukwaChunk instances.401 */402publicstaticclassBuilder403extends org.apache.avro.specific.SpecificRecordBuilderBase<ChukwaChunk>
404implements org.apache.avro.data.RecordBuilder<ChukwaChunk> {
405406private java.lang.CharSequence source;
407private java.lang.CharSequence tags;
408private java.lang.CharSequence datatype;
409private java.lang.Long sequenceID;
410private java.lang.CharSequence name;
411private java.nio.ByteBuffer data;
412413/** Creates a new Builder */414privateBuilder() {
415super(
416 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.SCHEMA$);
417 }
418419/** Creates a Builder by copying an existing Builder */420privateBuilder(
421 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder other) {
422super(other);
423 }
424425/** Creates a Builder by copying an existing ChukwaChunk instance */426privateBuilder(
427 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk other) {
428super(
429 org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.SCHEMA$);
430if (isValidValue(fields()[0], other.source)) {
431this.source = (java.lang.CharSequence) data()
432 .deepCopy(fields()[0].schema(), other.source);
433 fieldSetFlags()[0] = true;
434 }
435if (isValidValue(fields()[1], other.tags)) {
436this.tags = (java.lang.CharSequence) data()
437 .deepCopy(fields()[1].schema(), other.tags);
438 fieldSetFlags()[1] = true;
439 }
440if (isValidValue(fields()[2], other.datatype)) {
441this.datatype = (java.lang.CharSequence) data()
442 .deepCopy(fields()[2].schema(), other.datatype);
443 fieldSetFlags()[2] = true;
444 }
445if (isValidValue(fields()[3], other.sequenceID)) {
446this.sequenceID = (java.lang.Long) data().deepCopy(fields()[3].schema(),
447 other.sequenceID);
448 fieldSetFlags()[3] = true;
449 }
450if (isValidValue(fields()[4], other.name)) {
451this.name = (java.lang.CharSequence) data()
452 .deepCopy(fields()[4].schema(), other.name);
453 fieldSetFlags()[4] = true;
454 }
455if (isValidValue(fields()[5], other.data)) {
456this.data = (java.nio.ByteBuffer) data().deepCopy(fields()[5].schema(),
457 other.data);
458 fieldSetFlags()[5] = true;
459 }
460 }
461462/**463 * Gets the value of the 'source' field464 * 465 * @return source field466 */467public java.lang.CharSequence getSource() {
468return source;
469 }
470471/**472 * Sets the value of the 'source' field473 * 474 * @param value is a string475 * @return RecordBuilder476 */477public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setSource(
478 java.lang.CharSequence value) {
479 validate(fields()[0], value);
480this.source = value;
481 fieldSetFlags()[0] = true;
482returnthis;
483 }
484485/**486 * Checks whether the 'source' field has been set487 * 488 * @return true if source field has been set489 */490publicboolean hasSource() {
491return fieldSetFlags()[0];
492 }
493494/**495 * Clears the value of the 'source' field496 * 497 * @return RecordBuilder498 */499public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearSource() {
500 source = null;
501 fieldSetFlags()[0] = false;
502returnthis;
503 }
504505/**506 * Gets the value of the 'tags' field507 * 508 * @return tags field509 */510public java.lang.CharSequence getTags() {
511return tags;
512 }
513514/**515 * Sets the value of the 'tags' field516 * 517 * @param value is a string518 * @return RecordBuilder519 */520public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setTags(
521 java.lang.CharSequence value) {
522 validate(fields()[1], value);
523this.tags = value;
524 fieldSetFlags()[1] = true;
525returnthis;
526 }
527528/**529 * Checks whether the 'tags' field has been set530 * 531 * @return true if tags has been set532 */533publicboolean hasTags() {
534return fieldSetFlags()[1];
535 }
536537/**538 * Clears the value of the 'tags' field539 * 540 * @return RecordBuilder541 */542public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearTags() {
543 tags = null;
544 fieldSetFlags()[1] = false;
545returnthis;
546 }
547548/**549 * Gets the value of the 'datatype' field550 * 551 * @return datatype field552 */553public java.lang.CharSequence getDatatype() {
554return datatype;
555 }
556557/**558 * Sets the value of the 'datatype' field559 * 560 * @param value is a string561 * @return RecordBuilder562 */563public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setDatatype(
564 java.lang.CharSequence value) {
565 validate(fields()[2], value);
566this.datatype = value;
567 fieldSetFlags()[2] = true;
568returnthis;
569 }
570571/**572 * Checks whether the 'datatype' field has been set573 * 574 * @return true if datatype field has been set575 */576publicboolean hasDatatype() {
577return fieldSetFlags()[2];
578 }
579580/**581 * Clears the value of the 'datatype' field582 * 583 * @return RecordBuilder584 */585public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearDatatype() {
586 datatype = null;
587 fieldSetFlags()[2] = false;
588returnthis;
589 }
590591/**592 * Gets the value of the 'sequenceID' field593 * 594 * @return sequenceID595 */596public java.lang.Long getSequenceID() {
597return sequenceID;
598 }
599600/**601 * Sets the value of the 'sequenceID' field602 * 603 * @param value is a string604 * @return RecordBuilder605 */606public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setSequenceID(
607 java.lang.Long value) {
608 validate(fields()[3], value);
609this.sequenceID = value;
610 fieldSetFlags()[3] = true;
611returnthis;
612 }
613614/**615 * Checks whether the 'sequenceID' field has been set616 * 617 * @return true if sequenceID has been set618 */619publicboolean hasSequenceID() {
620return fieldSetFlags()[3];
621 }
622623/**624 * Clears the value of the 'sequenceID' field625 * 626 * @return RecordBuilder627 */628public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearSequenceID() {
629 sequenceID = null;
630 fieldSetFlags()[3] = false;
631returnthis;
632 }
633634/**635 * Gets the value of the 'name' field636 * 637 * @return name638 */639public java.lang.CharSequence getName() {
640return name;
641 }
642643/**644 * Sets the value of the 'name' field645 * 646 * @param value is a string647 * @return RecordBuilder648 */649public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setName(
650 java.lang.CharSequence value) {
651 validate(fields()[4], value);
652this.name = value;
653 fieldSetFlags()[4] = true;
654returnthis;
655 }
656657/**658 * Checks whether the 'name' field has been set659 * 660 * @return true if name field has been set661 */662publicboolean hasName() {
663return fieldSetFlags()[4];
664 }
665666/**667 * Clears the value of the 'name' field668 * 669 * @return RecordBuilder670 */671public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearName() {
672 name = null;
673 fieldSetFlags()[4] = false;
674returnthis;
675 }
676677/**678 * Gets the value of the 'data' field679 * 680 * @return data681 */682public java.nio.ByteBuffer getData() {
683return data;
684 }
685686/**687 * Sets the value of the 'data' field688 * 689 * @param value is a string690 * @return RecordBudiler691 */692public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder setData(
693 java.nio.ByteBuffer value) {
694 validate(fields()[5], value);
695this.data = value;
696 fieldSetFlags()[5] = true;
697returnthis;
698 }
699700/**701 * Checks whether the 'data' field has been set702 * 703 * @return true if data field has been set704 */705publicboolean hasData() {
706return fieldSetFlags()[5];
707 }
708709/**710 * Clears the value of the 'data' field711 * 712 * @return RecordBuilder713 */714public org.apache.hadoop.chukwa.datacollection.writer.gora.ChukwaChunk.Builder clearData() {
715 data = null;
716 fieldSetFlags()[5] = false;
717returnthis;
718 }
719720 @Override
721publicChukwaChunk build() {
722try {
723ChukwaChunk record = newChukwaChunk();
724 record.source = fieldSetFlags()[0] ? this.source
725 : (java.lang.CharSequence) defaultValue(fields()[0]);
726 record.tags = fieldSetFlags()[1] ? this.tags
727 : (java.lang.CharSequence) defaultValue(fields()[1]);
728 record.datatype = fieldSetFlags()[2] ? this.datatype
729 : (java.lang.CharSequence) defaultValue(fields()[2]);
730 record.sequenceID = fieldSetFlags()[3] ? this.sequenceID
731 : (java.lang.Long) defaultValue(fields()[3]);
732 record.name = fieldSetFlags()[4] ? this.name
733 : (java.lang.CharSequence) defaultValue(fields()[4]);
734 record.data = fieldSetFlags()[5] ? this.data
735 : (java.nio.ByteBuffer) defaultValue(fields()[5]);
736return record;
737 } catch (Exception e) {
738thrownew org.apache.avro.AvroRuntimeException(e);
739 }
740 }
741 }
742743public ChukwaChunk.Tombstone getTombstone() {
744return TOMBSTONE;
745 }
746747publicChukwaChunk newInstance() {
748return newBuilder().build();
749 }
750751privatestaticfinalTombstone TOMBSTONE = newTombstone();
752753publicstaticfinalclassTombstoneextendsChukwaChunk754implements org.apache.gora.persistency.Tombstone {
755756privateTombstone() {
757 }
758759/**760 * Gets the value of the 'source' field.761 */762public java.lang.CharSequence getSource() {
763thrownew java.lang.UnsupportedOperationException(
764"Get is not supported on tombstones");
765 }
766767/**768 * Sets the value of the 'source' field.769 * 770 * @param value771 * the value to set.772 */773publicvoid setSource(java.lang.CharSequence value) {
774thrownew java.lang.UnsupportedOperationException(
775"Set is not supported on tombstones");
776 }
777778/**779 * Checks the dirty status of the 'source' field. A field is dirty if it780 * represents a change that has not yet been written to the database.781 */782publicboolean isSourceDirty() {
783thrownew java.lang.UnsupportedOperationException(
784"IsDirty is not supported on tombstones");
785 }
786787/**788 * Gets the value of the 'tags' field.789 */790public java.lang.CharSequence getTags() {
791thrownew java.lang.UnsupportedOperationException(
792"Get is not supported on tombstones");
793 }
794795/**796 * Sets the value of the 'tags' field.797 * 798 * @param value799 * the value to set.800 */801publicvoid setTags(java.lang.CharSequence value) {
802thrownew java.lang.UnsupportedOperationException(
803"Set is not supported on tombstones");
804 }
805806/**807 * Checks the dirty status of the 'tags' field. A field is dirty if it808 * represents a change that has not yet been written to the database.809 */810publicboolean isTagsDirty() {
811thrownew java.lang.UnsupportedOperationException(
812"IsDirty is not supported on tombstones");
813 }
814815/**816 * Gets the value of the 'datatype' field.817 */818public java.lang.CharSequence getDatatype() {
819thrownew java.lang.UnsupportedOperationException(
820"Get is not supported on tombstones");
821 }
822823/**824 * Sets the value of the 'datatype' field.825 * 826 * @param value827 * the value to set.828 */829publicvoid setDatatype(java.lang.CharSequence value) {
830thrownew java.lang.UnsupportedOperationException(
831"Set is not supported on tombstones");
832 }
833834/**835 * Checks the dirty status of the 'datatype' field. A field is dirty if it836 * represents a change that has not yet been written to the database.837 */838publicboolean isDatatypeDirty() {
839thrownew java.lang.UnsupportedOperationException(
840"IsDirty is not supported on tombstones");
841 }
842843/**844 * Gets the value of the 'sequenceID' field.845 */846public java.lang.Long getSequenceID() {
847thrownew java.lang.UnsupportedOperationException(
848"Get is not supported on tombstones");
849 }
850851/**852 * Sets the value of the 'sequenceID' field.853 * 854 * @param value855 * the value to set.856 */857publicvoid setSequenceID(java.lang.Long value) {
858thrownew java.lang.UnsupportedOperationException(
859"Set is not supported on tombstones");
860 }
861862/**863 * Checks the dirty status of the 'sequenceID' field. A field is dirty if it864 * represents a change that has not yet been written to the database.865 */866publicboolean isSequenceIDDirty() {
867thrownew java.lang.UnsupportedOperationException(
868"IsDirty is not supported on tombstones");
869 }
870871/**872 * Gets the value of the 'name' field.873 */874public java.lang.CharSequence getName() {
875thrownew java.lang.UnsupportedOperationException(
876"Get is not supported on tombstones");
877 }
878879/**880 * Sets the value of the 'name' field.881 * 882 * @param value883 * the value to set.884 */885publicvoid setName(java.lang.CharSequence value) {
886thrownew java.lang.UnsupportedOperationException(
887"Set is not supported on tombstones");
888 }
889890/**891 * Checks the dirty status of the 'name' field. A field is dirty if it892 * represents a change that has not yet been written to the database.893 */894publicboolean isNameDirty() {
895thrownew java.lang.UnsupportedOperationException(
896"IsDirty is not supported on tombstones");
897 }
898899/**900 * Gets the value of the 'data' field.901 */902public java.nio.ByteBuffer getData() {
903thrownew java.lang.UnsupportedOperationException(
904"Get is not supported on tombstones");
905 }
906907/**908 * Sets the value of the 'data' field.909 * 910 * @param value911 * the value to set.912 */913publicvoid setData(java.nio.ByteBuffer value) {
914thrownew java.lang.UnsupportedOperationException(
915"Set is not supported on tombstones");
916 }
917918/**919 * Checks the dirty status of the 'data' field. A field is dirty if it920 * represents a change that has not yet been written to the database.921 */922publicboolean isDataDirty() {
923thrownew java.lang.UnsupportedOperationException(
924"IsDirty is not supported on tombstones");
925 }
926927 }
928929 }