Package org.apache.pinot.spi.utils
Class ArrayCopyUtils
- java.lang.Object
-
- org.apache.pinot.spi.utils.ArrayCopyUtils
-
public class ArrayCopyUtils extends Object
The classArrayCopyUtilsprovides methods to copy values across arrays of different types.
-
-
Method Summary
Modifier and Type Method Description static voidcopy(boolean[] src, int[] dest, int length)static voidcopy(byte[][] src, String[] dest, int length)static voidcopy(byte[][] src, BigDecimal[] dest, int length)static voidcopy(double[][] src, float[][] dest, int length)static voidcopy(double[][] src, int[][] dest, int length)static voidcopy(double[][] src, long[][] dest, int length)static voidcopy(double[][] src, String[][] dest, int length)static voidcopy(double[][] src, BigDecimal[][] dest, int length)static voidcopy(double[] src, float[] dest, int length)static voidcopy(double[] src, int[] dest, int length)static voidcopy(double[] src, long[] dest, int length)static voidcopy(double[] src, String[] dest, int length)static voidcopy(double[] src, BigDecimal[] dest, int length)static voidcopy(float[][] src, double[][] dest, int length)static voidcopy(float[][] src, int[][] dest, int length)static voidcopy(float[][] src, long[][] dest, int length)static voidcopy(float[][] src, String[][] dest, int length)static voidcopy(float[][] src, BigDecimal[][] dest, int length)static voidcopy(float[] src, double[] dest, int length)static voidcopy(float[] src, int[] dest, int length)static voidcopy(float[] src, long[] dest, int length)static voidcopy(float[] src, String[] dest, int length)static voidcopy(float[] src, BigDecimal[] dest, int length)static voidcopy(int[][] src, double[][] dest, int length)static voidcopy(int[][] src, float[][] dest, int length)static voidcopy(int[][] src, long[][] dest, int length)static voidcopy(int[][] src, String[][] dest, int length)static voidcopy(int[][] src, BigDecimal[][] dest, int length)static voidcopy(int[] src, double[] dest, int length)static voidcopy(int[] src, float[] dest, int length)static voidcopy(int[] src, long[] dest, int length)static voidcopy(int[] src, String[] dest, int length)static voidcopy(int[] src, BigDecimal[] dest, int length)static voidcopy(long[][] src, double[][] dest, int length)static voidcopy(long[][] src, float[][] dest, int length)static voidcopy(long[][] src, int[][] dest, int length)static voidcopy(long[][] src, String[][] dest, int length)static voidcopy(long[][] src, BigDecimal[][] dest, int length)static voidcopy(long[] src, double[] dest, int length)static voidcopy(long[] src, float[] dest, int length)static voidcopy(long[] src, int[] dest, int length)static voidcopy(long[] src, String[] dest, int length)static voidcopy(long[] src, BigDecimal[] dest, int length)static voidcopy(String[][] src, byte[][][] dest, int length)static voidcopy(String[][] src, double[][] dest, int length)static voidcopy(String[][] src, float[][] dest, int length)static voidcopy(String[][] src, int[][] dest, int length)static voidcopy(String[][] src, long[][] dest, int length)static voidcopy(String[][] src, BigDecimal[][] dest, int length)static voidcopy(String[] src, byte[][] dest, int length)static voidcopy(String[] src, double[] dest, int length)static voidcopy(String[] src, float[] dest, int length)static voidcopy(String[] src, int[] dest, int length)static voidcopy(String[] src, long[] dest, int length)static voidcopy(String[] src, BigDecimal[] dest, int length)static voidcopy(BigDecimal[] src, byte[][] dest, int length)static voidcopy(BigDecimal[] src, double[] dest, int length)static voidcopy(BigDecimal[] src, float[] dest, int length)static voidcopy(BigDecimal[] src, int[] dest, int length)static voidcopy(BigDecimal[] src, long[] dest, int length)static voidcopy(BigDecimal[] src, String[] dest, int length)static voidcopy(Timestamp[] src, long[] dest, int length)static voidcopyFromBoolean(int[][] src, String[][] dest, int length)static voidcopyFromBoolean(int[] src, String[] dest, int length)static voidcopyFromTimestamp(long[][] src, String[][] dest, int length)static voidcopyFromTimestamp(long[] src, String[] dest, int length)static voidcopyToBoolean(double[][] src, int[][] dest, int length)static voidcopyToBoolean(double[] src, int[] dest, int length)static voidcopyToBoolean(float[][] src, int[][] dest, int length)static voidcopyToBoolean(float[] src, int[] dest, int length)static voidcopyToBoolean(int[][] src, int[][] dest, int length)static voidcopyToBoolean(int[] src, int[] dest, int length)static voidcopyToBoolean(long[][] src, int[][] dest, int length)static voidcopyToBoolean(long[] src, int[] dest, int length)static voidcopyToBoolean(String[][] src, int[][] dest, int length)static voidcopyToBoolean(String[] src, int[] dest, int length)static voidcopyToBoolean(BigDecimal[] src, int[] dest, int length)static voidcopyToTimestamp(String[][] src, long[][] dest, int length)static voidcopyToTimestamp(String[] src, long[] dest, int length)
-
-
-
Method Detail
-
copy
public static void copy(int[] src, long[] dest, int length)
-
copy
public static void copy(int[] src, float[] dest, int length)
-
copy
public static void copy(int[] src, double[] dest, int length)
-
copy
public static void copy(int[] src, BigDecimal[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(int[] src, int[] dest, int length)
-
copy
public static void copy(int[] src, String[] dest, int length)
-
copy
public static void copy(long[] src, int[] dest, int length)
-
copy
public static void copy(long[] src, float[] dest, int length)
-
copy
public static void copy(long[] src, double[] dest, int length)
-
copy
public static void copy(long[] src, BigDecimal[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(long[] src, int[] dest, int length)
-
copy
public static void copy(long[] src, String[] dest, int length)
-
copy
public static void copy(float[] src, int[] dest, int length)
-
copy
public static void copy(float[] src, long[] dest, int length)
-
copy
public static void copy(float[] src, double[] dest, int length)
-
copy
public static void copy(float[] src, BigDecimal[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(float[] src, int[] dest, int length)
-
copy
public static void copy(float[] src, String[] dest, int length)
-
copy
public static void copy(double[] src, int[] dest, int length)
-
copy
public static void copy(double[] src, long[] dest, int length)
-
copy
public static void copy(double[] src, float[] dest, int length)
-
copy
public static void copy(double[] src, BigDecimal[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(double[] src, int[] dest, int length)
-
copy
public static void copy(double[] src, String[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, int[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, long[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, float[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, double[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(BigDecimal[] src, int[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, String[] dest, int length)
-
copy
public static void copy(BigDecimal[] src, byte[][] dest, int length)
-
copyFromBoolean
public static void copyFromBoolean(int[] src, String[] dest, int length)
-
copyFromTimestamp
public static void copyFromTimestamp(long[] src, String[] dest, int length)
-
copy
public static void copy(String[] src, int[] dest, int length)
-
copy
public static void copy(String[] src, long[] dest, int length)
-
copy
public static void copy(String[] src, float[] dest, int length)
-
copy
public static void copy(String[] src, double[] dest, int length)
-
copy
public static void copy(String[] src, BigDecimal[] dest, int length)
-
copyToBoolean
public static void copyToBoolean(String[] src, int[] dest, int length)
-
copyToTimestamp
public static void copyToTimestamp(String[] src, long[] dest, int length)
-
copy
public static void copy(String[] src, byte[][] dest, int length)
-
copy
public static void copy(String[][] src, byte[][][] dest, int length)
-
copy
public static void copy(byte[][] src, BigDecimal[] dest, int length)
-
copy
public static void copy(byte[][] src, String[] dest, int length)
-
copy
public static void copy(int[][] src, long[][] dest, int length)
-
copy
public static void copy(int[][] src, float[][] dest, int length)
-
copy
public static void copy(int[][] src, double[][] dest, int length)
-
copy
public static void copy(int[][] src, BigDecimal[][] dest, int length)
-
copyToBoolean
public static void copyToBoolean(int[][] src, int[][] dest, int length)
-
copy
public static void copy(int[][] src, String[][] dest, int length)
-
copy
public static void copy(long[][] src, int[][] dest, int length)
-
copy
public static void copy(long[][] src, float[][] dest, int length)
-
copy
public static void copy(long[][] src, double[][] dest, int length)
-
copy
public static void copy(long[][] src, BigDecimal[][] dest, int length)
-
copyToBoolean
public static void copyToBoolean(long[][] src, int[][] dest, int length)
-
copy
public static void copy(long[][] src, String[][] dest, int length)
-
copy
public static void copy(float[][] src, int[][] dest, int length)
-
copy
public static void copy(float[][] src, long[][] dest, int length)
-
copy
public static void copy(float[][] src, double[][] dest, int length)
-
copy
public static void copy(float[][] src, BigDecimal[][] dest, int length)
-
copyToBoolean
public static void copyToBoolean(float[][] src, int[][] dest, int length)
-
copy
public static void copy(float[][] src, String[][] dest, int length)
-
copy
public static void copy(double[][] src, int[][] dest, int length)
-
copy
public static void copy(double[][] src, long[][] dest, int length)
-
copy
public static void copy(double[][] src, float[][] dest, int length)
-
copy
public static void copy(double[][] src, BigDecimal[][] dest, int length)
-
copyToBoolean
public static void copyToBoolean(double[][] src, int[][] dest, int length)
-
copy
public static void copy(double[][] src, String[][] dest, int length)
-
copyFromBoolean
public static void copyFromBoolean(int[][] src, String[][] dest, int length)
-
copyFromTimestamp
public static void copyFromTimestamp(long[][] src, String[][] dest, int length)
-
copy
public static void copy(String[][] src, int[][] dest, int length)
-
copy
public static void copy(String[][] src, long[][] dest, int length)
-
copy
public static void copy(String[][] src, float[][] dest, int length)
-
copy
public static void copy(String[][] src, double[][] dest, int length)
-
copy
public static void copy(String[][] src, BigDecimal[][] dest, int length)
-
copyToBoolean
public static void copyToBoolean(String[][] src, int[][] dest, int length)
-
copyToTimestamp
public static void copyToTimestamp(String[][] src, long[][] dest, int length)
-
copy
public static void copy(boolean[] src, int[] dest, int length)
-
copy
public static void copy(Timestamp[] src, long[] dest, int length)
-
-