/** * Returns an unmodifiable collection of all the {@link HColumnDescriptor} * of all the column families of the table. * @deprecated Use {@link #getColumnFamilies}. * @return Immutable collection of {@link HColumnDescriptor} of all the * column families. */ @Deprecated public Collection<HColumnDescriptor> getFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .collect(Collectors.toList()); }
/** * Returns an array all the {@link HColumnDescriptor} of the column families * of the table. * * @return Array of all the HColumnDescriptors of the current table * * @see #getFamilies() */ @Deprecated @Override public HColumnDescriptor[] getColumnFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .toArray(size -> new HColumnDescriptor[size]); }
/** * Returns an unmodifiable collection of all the {@link HColumnDescriptor} * of all the column families of the table. * @deprecated Use {@link #getColumnFamilies}. * @return Immutable collection of {@link HColumnDescriptor} of all the * column families. */ @Deprecated public Collection<HColumnDescriptor> getFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .collect(Collectors.toList()); }
/** * Returns an array all the {@link HColumnDescriptor} of the column families * of the table. * * @return Array of all the HColumnDescriptors of the current table * * @see #getFamilies() */ @Deprecated @Override public HColumnDescriptor[] getColumnFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .toArray(size -> new HColumnDescriptor[size]); }
/** * Returns an unmodifiable collection of all the {@link HColumnDescriptor} * of all the column families of the table. * @deprecated Use {@link #getColumnFamilies}. * @return Immutable collection of {@link HColumnDescriptor} of all the * column families. */ @Deprecated public Collection<HColumnDescriptor> getFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .collect(Collectors.toList()); }
/** * Returns an array all the {@link HColumnDescriptor} of the column families * of the table. * * @return Array of all the HColumnDescriptors of the current table * * @see #getFamilies() */ @Deprecated @Override public HColumnDescriptor[] getColumnFamilies() { return Stream.of(delegatee.getColumnFamilies()) .map(this::toHColumnDescriptor) .toArray(size -> new HColumnDescriptor[size]); }