Lines Matching refs:FieldReader
49 private FieldReader secKeyFieldReader;
50 private FieldReader nonKeyFieldReader;
1157 * Creates a FieldReader for secondary key fields and non-key fields if
1182 FieldReader reader = evolveFieldList
1185 if (reader == FieldReader.EVOLVE_FAILURE) {
1190 if (reader != FieldReader.EVOLVE_NEEDED) {
1198 if (reader == FieldReader.EVOLVE_FAILURE) {
1203 if (reader != FieldReader.EVOLVE_NEEDED) {
1218 * Returns a FieldReader that reads no fields.
1222 * FieldReader class to avoid changing the catalog format. [#15524]
1224 private FieldReader getDoNothingFieldReader() {
1225 List<FieldReader> emptyList = Collections.emptyList();
1233 * @return a FieldReader if field evolution is needed, null if no evolution
1234 * is needed, or FieldReader.EVOLVE_FAILURE if an evolution error occurs.
1236 private FieldReader evolveFieldList(List<FieldInfo> oldFields,
1246 List<FieldReader> fieldReaders = new ArrayList<FieldReader>();
1247 FieldReader currentReader = null;
1531 return FieldReader.EVOLVE_FAILURE;
1541 return FieldReader.EVOLVE_NEEDED;
1548 * Base class for all FieldReader subclasses. A FieldReader reads one or
1552 private static abstract class FieldReader implements Serializable {
1554 static final FieldReader EVOLVE_NEEDED =
1556 static final FieldReader EVOLVE_FAILURE =
1561 FieldReader() {
1591 private static class PlainFieldReader extends FieldReader {
1643 private static class SkipFieldReader extends FieldReader {
1691 private static class ConvertFieldReader extends FieldReader {
1785 private static class WidenFieldReader extends FieldReader {
1825 * A FieldReader composed of other FieldReaders, and that calls them in
1826 * sequence. Used when more than one FieldReader is needed for a list of
1829 private static class MultiFieldReader extends FieldReader {
1833 private List<FieldReader> subReaders;
1835 MultiFieldReader(List<FieldReader> subReaders) {
1845 for (FieldReader reader : subReaders) {
1857 for (FieldReader reader : subReaders) {
1868 * inserted/deleted during evolution). At each level, a FieldReader is
1974 FieldReader reader = oldHierarchy[i].secKeyFieldReader;
1986 FieldReader reader = oldHierarchy[i].nonKeyFieldReader;