io.deephaven.engine.table.impl.sources.RowIdSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-table Show documentation
Show all versions of deephaven-engine-table Show documentation
Engine Table: Implementation and closely-coupled utilities
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.engine.table.impl.sources;
import io.deephaven.engine.table.impl.AbstractColumnSource;
import io.deephaven.engine.table.impl.ImmutableColumnSourceGetDefaults;
public class RowIdSource extends AbstractColumnSource implements ImmutableColumnSourceGetDefaults.ForLong {
public static final RowIdSource INSTANCE = new RowIdSource();
public RowIdSource() {
super(Long.class);
}
@Override
public long getLong(long rowKey) {
return rowKey;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy