All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.dto.DtoReadSetColumnSkip Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.dto;

import io.ebean.core.type.DataReader;

/**
 * Placeholder to skip reading a column that isn't mapped to a bean property.
 */
final class DtoReadSetColumnSkip implements DtoReadSet {

  static final DtoReadSet INSTANCE = new DtoReadSetColumnSkip();

  @Override
  public void readSet(Object bean, DataReader dataReader) {
    dataReader.incrementPos(1);
  }

  @Override
  public boolean isReadOnly() {
    return false;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy